When I try to use a script to start jBoss, I get a RuntimeMBean exception. If I start
jBoss using 'java -jar run.jar', everything is good - all 86 tests successful...
Notice that Auto deploy is choking on the test beans - not my own.
One difference here is that I am using Cygwin on NT... My start script is at the
bottom. The noticable difference in the debugging output is that when I use the
script, JAWS only writes a single line where using java -jar run.jar JAWS produces
oodles of output...
- jeremiah
--- using start script ---
[Auto deployer] Starting
[Auto deploy] Auto deploy of file:/C:/apps/jboss/deploy/TestBeans.jar
[Container factory] Deploying:file:/C:/apps/jboss/deploy/TestBeans.jar
[Container factory] Loading ejb-jar.xml : jar:file:/C:/TEMP/tmpejbjar37720.jar!/
META-INF/ejb-jar.xml
[Container factory] Loading standardjboss.xml : jar:file:/C:/apps/jboss/lib/ext/
jboss.jar!/org/jboss/metadata/standardjboss.xml
[Container factory] Deploying nextgen.EnterpriseEntity
[Container factory] Deploying nextgen.EntityBMP
[Container factory] Deploying nextgen.EntityPK
[Container factory] Deploying Account
[Container factory] Deploying nextgen.StatelessSession
[Container factory] Deploying nextgen.StatefulSession
[Container factory] Deploying AccountManager
[Container factory] Storing sessions for nextgen.StatefulSession in:database\nex
tgen.StatefulSession
[Container factory] 0 old sessions removed
[JAWS] Initializing JAWS plugin for nextgen.EntityPK
[Auto deploy] Deployment failed:file:/C:/apps/jboss/deploy/TestBeans.jar
[Auto deploy] javax.management.RuntimeMBeanException: RuntimeException thrown in
operation deploy
[Auto deploy] at javax.management.MBeanServer.invoke(MBeanServer.java:1647)
[Auto deploy] at javax.management.MBeanServer.invoke(MBeanServer.java:1501)
[Auto deploy] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:285)
[Auto deploy] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
[Auto deploy] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:264
)
[Auto deploy] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.
java:89)
[Auto deploy] at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy] at javax.management.MBeanServer.invoke(MBeanServer.java:1635)
[Auto deploy] at javax.management.MBeanServer.invoke(MBeanServer.java:1501)
[Auto deploy] at org.jboss.Main.<init>(Main.java:155)
[Auto deploy] at org.jboss.Main.<init>(Main.java:86)
[Auto deploy] at org.jboss.Main$1.run(Main.java:76)
[Auto deploy] at java.security.AccessController.doPrivileged(Native Method)
[Auto deploy] at org.jboss.Main.main(Main.java:67)
[Auto deployer] Started
---
--- using java -jar run.jar ---
[Auto deployer] Starting
[Auto deploy] Auto deploy of file:/C:/apps/jboss/deploy/TestBeans.jar
[Container factory] Deploying:file:/C:/apps/jboss/deploy/TestBeans.jar
[Container factory] Loading ejb-jar.xml : jar:file:/C:/TEMP/tmpejbjar53422.jar!/
META-INF/ejb-jar.xml
[Container factory] Loading standardjboss.xml : jar:file:/C:/apps/jboss/lib/ext/
jboss.jar!/org/jboss/metadata/standardjboss.xml
[Container factory] Deploying nextgen.EnterpriseEntity
[Container factory] Deploying nextgen.EntityBMP
[Container factory] Deploying nextgen.EntityPK
[Container factory] Deploying Account
[Container factory] Deploying nextgen.StatelessSession
[Container factory] Deploying nextgen.StatefulSession
[Container factory] Deploying AccountManager
[Container factory] Storing sessions for nextgen.StatefulSession in:database\nex
tgen.StatefulSession
[Container factory] 0 old sessions removed
[JAWS] - lots of stuff cut here...
[Container factory] Binding an EJBReference ejb/myEJBRef
[Container factory] Binding ejb/myEJBRef to external JNDI source: nextgen.Statel
essSession
[Container factory] java.lang.ClassNotFoundException: class org.jboss.security.E
JBSecurityManagerDefaultImpl
[Container factory] Using default DataSource:Hypersonic
[Container factory] Bound nextgen.StatefulSession to nextgen.StatefulSession
[Container factory] Bound nextgen.EntityPK to nextgen.EntityPK
[Container factory] Bound AccountManager to AccountManager
[Container factory] Bound Account to Account
[Container factory] Bound nextgen.StatelessSession to nextgen.StatelessSession
[Container factory] Bound nextgen.EnterpriseEntity to nextgen.EnterpriseEntity
[Container factory] Bound nextgen.EntityBMP to nextgen.EntityBMP
[Container factory] Deployed application: file:/C:/apps/jboss/deploy/TestBeans.j
ar
[Auto deployer] Started
---
--- run.cyg ---
if [ -d "$TOMCAT_HOME" -a -d "$SERVLETAPI_HOME" ] ; then
CLASSPATH="$CLASSPATH;$TOMCAT_HOME/lib"
CLASSPATH="$CLASSPATH;$SERVLETAPI_HOME/lib/servlet.jar"
fi
CLASSPATH="run.jar;$CLASSPATH"
$JAVA -classpath $CLASSPATH -Dtomcat.home=$TOMCAT_HOME org.jboss.Main
---
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]