facebook

Building and code change is slow

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 15 posts - 61 through 75 (of 79 total)
  • Author
    Posts
  • #674129 Reply

    CS Tan
    Participant

    This are the screenshot after deleting the EJB and then trying to deploy. Still have error deploying to WAS.

    Attachments:
    You must be logged in to view attached files.
    #674142 Reply

    CS Tan
    Participant

    I am trying again with a new Myeclipse installation on a new server with the same Maven project.
    This is the latest Myeclipse.
    I go this error which I did not see in the earlier version.

    Attachments:
    You must be logged in to view attached files.
    #674144 Reply

    CS Tan
    Participant

    Should I continue using the latest version or the one just before this that we were working on.

    #674146 Reply

    support-swapna
    Moderator

    Hi,

    For the errors in the application.xml, you can edit the http://java.sun.com/xml/ns/javaee in the file to http://Java.sun.com/xml/ns/javaee. Note the uppercase J in java. You can continue working with the newer version.

    Regarding the deployment error post removing the EJB from the EAR’s Deployment Assembly page. Does the error still point to the EJB?

    –Swapna
    Genuitec Support

    #674147 Reply

    CS Tan
    Participant

    “Regarding the deployment error post removing the EJB from the EAR’s Deployment Assembly page. Does the error still point to the EJB?”
    Can you please explain this more fully. I am not sure what I need to check here.

    #674148 Reply

    support-swapna
    Moderator

    Hi,

    You mentioned that the deployment still fails after removing the EJB from Deployment Assembly. Is the error same as earlier?
    Please share the console output to help us get the fresh deployment error details.

    –Swapna
    Genuitec Support

    #674150 Reply

    CS Tan
    Participant

    Some small progress….
    I made changes to the application.xml and there is not complain that the file cannot be found.
    Please see the error logs in this link…
    https://drive.google.com/file/d/1bBnK2lovZtzsoC1gmePU4d6CtqlTkjVF/view?usp=sharing

    #674152 Reply

    support-swapna
    Moderator

    Hi,

    The deployment fails with OutofMemory errors. Logs report Java Heap Space problem on Websphere.
    How large is the EAR? You can try increasing the heap size for Websphere via the Admin Console as suggested here : https://www.ibm.com/docs/en/samfess/8.2.1?topic=server-configuring-heap-size-application
    If you have trouble changing it from Admin Console, then you can edit the server.xml to increase the heap size as suggested here : https://www.ibm.com/support/pages/how-increase-jvm-heap-size-was-serverxml

    –Swapna
    Genuitec Support

    #674153 Reply

    CS Tan
    Participant

    The EAR is 100MB. This EAR has been deployed successfully from Maven.
    The heap size is at the max for the 32 bit WAS Express we are using. Just under 1.5 GB

    What about all the other messages on the console that resources cannot be found.

    #674154 Reply

    CS Tan
    Participant

    I tried to start the server from Myeclpse…Fail

    runConfigActions script execution failed. Exit code: 1
    Exception caught while waiting for runConfigActions script to complete: C:\W500\WAS\WebSphere\AppServer\profiles\AppSrv01\bin\runConfigActions.bat

    #674155 Reply

    support-swapna
    Moderator

    Is this a new installation of Websphere? You have reported the same issue earlier and this workaround helped. Can you please recheck?

    For the other file not found errors, looks like they all are related to the out of space issue. How about the disk space where your workspace is located? Does it have enough space?

    –Swapna
    Genuitec Support

    #674164 Reply

    CS Tan
    Participant

    I will add in the empty file.

    I have tried to deploy again. No more out of memory. I have also increase the disk space. But I still see lots these error.

    [5/27/21 17:56:44:109 UTC] 0000004d annotation W com.ibm.ws.webcontainer.annotation.WASAnnotationHelper collectClasses SRVE8000W: Skipped class that failed to initialize for annotation scanning.
    java.lang.ClassNotFoundException: pagecode.module.forecasting.Fc1301

    [5/27/21 17:56:52:440 UTC] 0000004d DeployedAppli W WSVR0206E: Module, belsize-web-0.1-SNAPSHOT.war, of application, belsize-ear-0.1-SNAPSHOT.ear/deployments/belsize-ear-0.1-SNAPSHOT, failed to start
    [5/27/21 17:56:52:496 UTC] 0000004d ApplicationMg E WSVR0101W: An error occurred starting, belsize-ear-0.1-SNAPSHOT
    [5/27/21 17:56:52:496 UTC] 0000004d ApplicationMg A WSVR0217I: Stopping application: belsize-ear-0.1-SNAPSHOT
    [5/27/21 17:56:52:568 UTC] 0000004d SharedEJBRunt I WSVR0041I: Stopping EJB jar: belsize-ejb-0.1-SNAPSHOT.jar
    [5/27/21 17:56:52:599 UTC] 0000004d SharedEJBRunt I WSVR0059I: EJB jar stopped: belsize-ejb-0.1-SNAPSHOT.jar
    [5/27/21 17:56:52:626 UTC] 0000004d ApplicationMg A WSVR0220I: Application stopped: belsize-ear-0.1-SNAPSHOT
    [5/27/21 17:56:52:690 UTC] 0000004d CompositionUn E WSVR0194E: Composition unit WebSphere:cuname=belsize-ear-0.1-SNAPSHOT in BLA WebSphere:blaname=belsize-ear-0.1-SNAPSHOT failed to start.
    [5/27/21 17:56:52:713 UTC] 0000004d FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\W500\WAS\WebSphere\AppServer\profiles\AppSrv01\logs\ffdc\server1_2eeb9569_21.05.27_17.56.52.6908675844919079598152.txt com.ibm.ws.runtime.component.CompositionUnitMgrImpl 679
    [5/27/21 17:56:52:767 UTC] 0000004d FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\W500\WAS\WebSphere\AppServer\profiles\AppSrv01\logs\ffdc\server1_2eeb9569_21.05.27_17.56.52.715271810075215844250.txt com.ibm.ws.management.AdminServiceImpl.invoke 679
    [5/27/21 17:56:52:785 UTC] 0000004d FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\W500\WAS\WebSphere\AppServer\profiles\AppSrv01\logs\ffdc\server1_2eeb9569_21.05.27_17.56.52.7715137260628478552031.txt com.ibm.ws.management.application.AppManagementImpl.startApplication 1501
    [5/27/21 17:56:52:785 UTC] 0000004d AppManagement W ADMA0116W: Unable to start: belsize-ear-0.1-SNAPSHOT using: WebSphere:name=ApplicationManager,process=server1,platform=proxy,node=BELSIZE-AIONode01,version=8.5.5.18,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=BELSIZE-AIONode01Cell,spec=1.0 exception is: javax.management.MBeanException: Exception thrown in RequiredModelMBean while trying to invoke operation startApplication

    com.ibm.wsspi.injectionengine.InjectionException: CWNEN0044E: A resource reference binding could not be found for the following resource references [com.belsize.sb.SB_UtilityBean/view, com.belsize.sb.SB_UtilityBean/ds, com.belsize.sb.SB_UtilityBean/mail_session, com.belsize.sb.SB_UtilityBean/scheduler, com.belsize.sb.SB_ScheduleTaskBean/scheduler], defined for the belsize-web-0.1-SNAPSHOT.war component.

    [5/27/21 17:56:52:785 UTC] 0000004d AppManagement W ADMA0116W: Unable to start: belsize-ear-0.1-SNAPSHOT using: WebSphere:name=ApplicationManager,process=server1,platform=proxy,node=BELSIZE-AIONode01,version=8.5.5.18,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=BELSIZE-AIONode01Cell,spec=1.0 exception is: javax.management.MBeanException: Exception thrown in RequiredModelMBean while trying to invoke operation startApplication
    at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1306)

    #674171 Reply

    support-swapna
    Moderator

    Hi,

    I am not sure what type of components are com.belsize.sb.SB_UtilityBean and com.belsize.sb.SB_ScheduleTaskBean. Are they part of the jars that are deployed along with the Web project?
    Similar issue about the resource reference binding are discussed here :
    https://stackoverflow.com/questions/17449022/lookup-a-jdbc-datasource-in-websphere-8-5
    https://stackoverflow.com/questions/22819567/issue-with-resource-ref-om-web-xml-failed-to-process-bindings-for-metadata

    Can you please clarify if the Maven EAR deploys fine to WAS 8.5.5 outside of MyEclipse? You can export the EAR from MyEclipse and compare it with the Maven generated EAR to see what files are missing.

    –Swapna
    Genuitec Support

    #674198 Reply

    CS Tan
    Participant

    URGENT!
    =======

    I have just been informed that my Myeclipse license has been suspended. As we are doing this work, I have been reinstalling Myeclipse on servers to try with a clean start. And then terminating it before starting another. At any one time, only one copy of the license is used. I believe this you can verify. I had no idea that we cannot reinstall Myeclipse if we terminate earlier installation and maintaining the one seat at all time.

    Please re-activate our account and advice what is the policy on reinstallation on servers.

    CS

    #674199 Reply

    support-swapna
    Moderator

    Hi,

    We have a limit on the number of activations for the license. I have increased the activation limit for now.
    Are you reinstalling MyEclipse on different systems or in a single system?
    For a clean start, it is not required to reinstall MyEclipse on another system. You can choose to install another copy on the same system. Delete the .deliverycenter.installs file located in your user home directory and rerun the installer to be able to install another copy to a different location in your system.

    For a single user license, you can operate upto two instances in the single machine and use the same license on three machines i.e maximum of 3 activations per license is allowed.
    Please see the license usage section for further details : https://www.genuitec.com/docs/setup/licensing-myeclipse/#7_License_Usage_and_Restrictions

    Hope this helps. Let us know if you still see the problem.

    –Swapna
    Genuitec Support

Viewing 15 posts - 61 through 75 (of 79 total)
Reply To: Building and code change is slow

You must be logged in to post in the forum log in