-
15. Re: Help about SPECjAppServer2002 and jboss.
terryxian Oct 26, 2004 4:32 AM (in response to terryxian)I added these stuff into jboss40-service.xml, but got the following errors:
.....................................................................................
2004-10-26 03:29:30,587 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/usr/java/jboss/server/specj/deploy/jmx-console.war/
2004-10-26 03:29:31,078 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/emulator, warUrl=file:/usr/java/jboss/server/specj/tmp/deploy/tmp42238emulator-exp.war/
2004-10-26 03:29:31,859 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/supplier, warUrl=file:/usr/java/jboss/server/specj/tmp/deploy/tmp42239supplier-exp.war/
2004-10-26 03:29:32,395 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/web, warUrl=file:/usr/java/jboss/server/specj/tmp/deploy/tmp42240web-exp.war/
2004-10-26 03:29:34,111 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/usr/java/jboss/server/specj/deploy/SPECjAppServer.ear
2004-10-26 03:29:36,128 INFO [org.jboss.ejb.EjbModule] Deploying AssemblyEnt 2004-10-26 03:29:36,600 WARN [org.jboss.ejb.EjbModule] Could not load the org.jboss.ejb.plugins.cmp.jdbc2.RelationIntercept
or interceptor 2004-10-26 03:29:36,786 ERROR [org.jboss.ejb.EjbModule] Initialization failed jboss.j2ee:module=mfg.jar,service=EjbModule
org.jboss.deployment.DeploymentException: Missing or invalid Instance Cache (in jboss.xml or standardjboss.xml); - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ejb.plugins.PerTxEntityInstanceCache)
at org.jboss.ejb.EjbModule.createInstanceCache(EjbModule.java:1176) at org.jboss.ejb.EjbModule.createEntityContainer(EjbModule.java:635)
at org.jboss.ejb.EjbModule.createContainer(EjbModule.java:544) at org.jboss.ejb.EjbModule.createService(EjbModule.java:330)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:219)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324) -
16. Re: Help about SPECjAppServer2002 and jboss.
aloubyansky Oct 26, 2004 4:47 AM (in response to terryxian)This class should be in the specj/lib/jboss.jar.
-
17. Re: Help about SPECjAppServer2002 and jboss.
terryxian Oct 26, 2004 4:52 AM (in response to terryxian)oh, I didnt include jboss.jar in my CLASSPATH. I just included some jar files under $JBOSS_HOME/lib in CLASSPATH, such as jboss-common.jar,....
So, what else jar files do I need to add to CLASSPATH? -
18. Re: Help about SPECjAppServer2002 and jboss.
aloubyansky Oct 26, 2004 4:56 AM (in response to terryxian)What if you just execute deploy-all target?
-
19. Re: Help about SPECjAppServer2002 and jboss.
terryxian Oct 26, 2004 5:00 AM (in response to terryxian)Execute what?
You mean run the following commands:
$ANT_HOME/bin/ant -buildfile jboss40.xml deploy-all ? -
20. Re: Help about SPECjAppServer2002 and jboss.
aloubyansky Oct 26, 2004 5:04 AM (in response to terryxian)Yes.
-
21. Re: Help about SPECjAppServer2002 and jboss.
terryxian Oct 26, 2004 5:12 AM (in response to terryxian)Still errors. Even i ran deploy-all again. After run run.sh -c specj. The same errors came out again. After I remove the stuff you mentioned from jboss40-service.xml. The error disappeared.
The main error is like this:
org.jboss.deployment.DeploymentException: Missing or invalid Instance Cache (in jboss.xml or standardjboss.xml); - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ejb.plugins.PerTxEntityInstanceCache)
at org.jboss.ejb.EjbModule.createInstanceCache(EjbModule.java:1176)
So , do I need to change standardjboss.xml also? How to change? -
22. Re: Help about SPECjAppServer2002 and jboss.
aloubyansky Oct 26, 2004 5:21 AM (in response to terryxian)You don't need to change anything except for adding deployers to jboss40-service.xml. And then run deploy-all. Do you have jboss.jar in server/specj/lib. If not, what did you do with the default jboss-4.0?
-
23. Re: Help about SPECjAppServer2002 and jboss.
terryxian Oct 26, 2004 5:28 AM (in response to terryxian)I have jboss.jar in the directory server/default/lib. I didnt change anything in jboss4.0.
Also, all necessary jar files are in the default/lib directory. Why jboss cannot find such class?
Do I need change the CLASSPATH variables in SPECjAppServer2002/config/jboss32.env, but it seems the result wouldnt change. -
24. Re: Help about SPECjAppServer2002 and jboss.
aloubyansky Oct 26, 2004 5:32 AM (in response to terryxian)Does jboss.jar in server/specj/lib contain org.jboss.ejb.plugins.PerTxEntityInstanceCache?
-
25. Re: Help about SPECjAppServer2002 and jboss.
terryxian Oct 26, 2004 5:39 AM (in response to terryxian)No, it doesnt contain org.jboss.ejb.plugins.PerTxEntityInstanceCache.
-
26. Re: Help about SPECjAppServer2002 and jboss.
terryxian Oct 26, 2004 5:49 AM (in response to terryxian)What I am using is jboss-4.0.0RC1.tar.gz. Which vesion has org.jboss.ejb.plugins.PerTxEntityInstanceCache?
-
27. Re: Help about SPECjAppServer2002 and jboss.
aloubyansky Oct 26, 2004 5:50 AM (in response to terryxian)What is the content of jboss.jar!META-INF/manifest.mf that is in server/specj/lib?
-
28. Re: Help about SPECjAppServer2002 and jboss.
aloubyansky Oct 26, 2004 5:51 AM (in response to terryxian)Why don't you use the final release?
-
29. Re: Help about SPECjAppServer2002 and jboss.
terryxian Oct 26, 2004 5:53 AM (in response to terryxian)The content is :
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.1
Created-By: 1.4.2_04-b05 (Sun Microsystems Inc.)
Specification-Title: JBoss
Specification-Version: 4.0.0
Specification-Vendor: JBoss (http://www.jboss.org/)
Implementation-Title: JBoss [Zion]
Implementation-URL: http://www.jboss.org/
Implementation-Version: 4.0.0RC1 (build: CVSTag=JBoss_4_0_0_RC1 date=2
00407211135)
Implementation-Vendor: JBoss.org
Implementation-Vendor-Id: http://www.jboss.org/