Why did that Howto come back? It is just plain wrong. Follow the
examples in the manual instead, and let's drop that Howto from the page.
Aaron
On Tue, 14 Nov 2000, Gianluca Mameli wrote:
> Hi!
>
> I installed jboss in my PC (windows nt 4.0) dowloding the
> jBoss-2.0_BETA_PROD_04.zip and unzip it in my jboss directory... (i hope
> this is enough)
>
> I changed the files jboss.conf and jboss.properties according to the "CMP
> with ORACLE Howto" document.
>
> When I start the jboss I got this exception:
> ...
> javax.management.ReflectionException
> at
> com.sun.management.jmx.MBeanServerImpl.internal_instantiate(MBeanServerI
> mpl.java:2207)
> at
> com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:
> 761)
> at javax.management.loading.MLet.getMBeansFromURL(MLet.java:540)
> at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
> at org.jboss.Main.<init>(Main.java:119)
> at org.jboss.Main$1.run(Main.java:87)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.jboss.Main.main(Main.java:83)
>
> At the end of the output start I got this message:
> ...
> [Default] 23 services and 4 other MBeans started.
> [Default] Shutdown hook added
> [Default] jBoss 2.0 BETA-PROD-04 Started
>
> So it seems to me that jboss start correctly.... but the exception before?
>
> I have some doubts that everything is OK.
> I tryed to deploy a session bean (the example interest) but i couldn't...
> so now I don't know if the problem is the exception or something else.
> I took the interestEJB.zip from the jboss site and I put only the
> interest.jar file (from the zip file) in the deploy directory, but at the
> end I got this output:
>
> ...
> [Container factory] Deployed application:
> file:/D:/Programmi/jboss/bin/../tmp/deploy/interest.jar/ejb1002.jar
> [J2EE Deployer] J2EE application:
> file:/D:/Programmi/jboss/deploy/interest.jar is deployed.
>
> But from the Beginning EJB programming using jBoss (Windows) document
> (packaging and deploying the Bean section) I need another output at the
> end.
>
> So I don't know what to do...
>
> Thank a lot
> Gianluca Mameli
>
> PS
> Here I put the complete output from the start and bean deploy prcedure.
>
> ------------------
> My start output:
>
> D:\Programmi\jboss\bin>java -jar run.jar myConf
> Using configuration "myConf"
> [Console logging] Initialized
> [Classpath] Added directory:file:/D:/Programmi/jboss/log/
> [Classpath] Added directory:file:/D:/Programmi/jboss/tmp/
> [Classpath] Added directory:file:/D:/Programmi/jboss/db/
> [File logging] Initializing
> [File logging] Initialized
> [Info] Java version: 1.3.0,Sun Microsystems Inc.
> [Info] Java VM: Java HotSpot(TM) Client VM 1.3.0-C,Sun Microsystems Inc.
> [Info] System: Windows NT 4.0,x86
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/activation.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/awt.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/classes12.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/dynaserver.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/ejb.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/ejxeditor.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/ejxejb.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/ejxjaws.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/ejxjboss.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/hsql.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/idb.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/jboss.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/jms.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/jmxtools.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/jndi.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/jnpserver.jar
> [Classpath] Added
> library:file:/D:/Programmi/jboss/lib/ext/jpl-util-0_5b.jar
> [Classpath] Added
> library:file:/D:/Programmi/jboss/lib/ext/jta-spec1_0_1.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/mail.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/spydermq.jar
> [Classpath] Added library:file:/D:/Programmi/jboss/lib/ext/tomcat-servic
> e.jar
> [JDBC] Loaded JDBC-driver:oracle.jdbc.driver.OracleDriver
> [Webserver] Initializing
> [Webserver] Initialized
> [Naming] Initializing
> [Naming] Naming started on port 1099
> [Naming] Initialized
> [Transaction manager] Initializing
> [Transaction manager] Initialized
> [JAAS Security Manager] Initializing
> [JAAS Security Manager] Initialized
> [Simple Realm Mapping] Initializing
> [Simple Realm Mapping] Initialized
> [Security manager] Initializing
> [Security manager] Initialized
> [Container factory] Initializing
> [Container factory] Initialized
> [Auto deploy] Watching D:\Programmi\jboss\deploy
> [Auto deployer] Initializing
> [Auto deployer] Initialized
> [JMX RMI Adaptor] Initializing
> [JMX RMI Adaptor] Initialized
> [JMX RMI Connector] Initializing
> [JMX RMI Connector] Initialized
> [Configuration] Initializing
> [Configuration] Initialized
> [J2EE Deployer] Initializing
> [J2EE Deployer] Initialized
> [SpyderMQ] Initializing
> [SpyderMQ] Initialized
> javax.management.ReflectionException
> at
> com.sun.management.jmx.MBeanServerImpl.internal_instantiate(MBeanServerI
> mpl.java:2207)
> at
> com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:
> 761)
> at javax.management.loading.MLet.getMBeansFromURL(MLet.java:540)
> at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
> at org.jboss.Main.<init>(Main.java:119)
> at org.jboss.Main$1.run(Main.java:87)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.jboss.Main.main(Main.java:83)
> [Configuration] MaxActiveClientCount set to 10 in Adaptor:name=html
> [Configuration] Port set to 8082 in Adaptor:name=html
> [Configuration] LibraryDirectory set to D:\Programmi\jboss\bin in
> DefaultDomain:
> service=MLet
> [Configuration] TransactionTimeout set to 300 in
> DefaultDomain:service=Transacti
> onManager
> [Configuration] Format set to [{2}] {4} in
> DefaultDomain:service=Logging,type=Co
> nsole
> [Configuration] Port set to 8083 in DefaultDomain:service=Webserver
> [Configuration] Format set to [{2}] {4} in
> DefaultDomain:service=Logging,type=Fi
> le
> [Configuration] LogName set to server in
> DefaultDomain:service=Logging,type=File
>
> [Configuration] VerifyDeployments set to true in
> EJB:service=ContainerFactory
> [Configuration] VerifierVerbose set to true in EJB:service=ContainerFactory
> [Naming] Starting
> [Naming] Started
> [Transaction manager] Starting
> [Transaction manager] Started
> [JAAS Security Manager] Starting
> [JAAS Security Manager] Started
> [Container factory] Starting
> [Container factory] Started
> [J2EE Deployer] Starting
> [J2EE Deployer] No web container found - only EJB deployment available...
> [J2EE Deployer] Cleaning up deployment directory
> file:/D:/Programmi/jboss/bin/..
> /tmp/deploy/
> [J2EE Deployer] Started
> [Auto deployer] Starting
> [Auto deploy] Auto deploy of file:/D:/Programmi/jboss/deploy/interest.jar
> [J2EE Deployer] Deploy J2EE application:
> file:/D:/Programmi/jboss/deploy/interes
> t.jar
> [J2EE Deployer] Could not delete temporary file:
> /D:/Programmi/jboss/bin/../tmp/
> deploy/copy1001.zip
> [J2EE Deployer] Create application interest.jar
> [J2EE Deployer] Installing EJB package: interest.jar
> [J2EE Deployer] Starting module interest.jar
> [Container factory]
> Deploying:file:/D:/Programmi/jboss/bin/../tmp/deploy/interes
> t.jar/ejb1002.jar
> [Container factory] Loading ejb-jar.xml :
> jar:file:/D:/Programmi/jboss/bin/../tm
> p/deploy/interest.jar/ejb1002.jar!/META-INF/ejb-jar.xml
> [Container factory] Loading standardjboss.xml :
> file:/D:/Programmi/jboss/conf/my
> Conf/standardjboss.xml
> [Container factory]
> jar:file:/D:/Programmi/jboss/bin/../tmp/deploy/interest.jar/
> ejb1002.jar!/META-INF/jboss.xml found. Overriding defaults
> [Verifier] Verifying
> file:/D:/Programmi/jboss/bin/../tmp/deploy/interest.jar/ejb
> 1002.jar
> [Verifier] Interest: Verified.
> [Container factory] Deploying Interest
> [Container factory] Container Invoker RMI Port='4444'
> [Container factory] Container Invoker Optimize='true'
> [Container factory] Mapped Container method remove HASH -1842617161
> [Container factory] Mapped Container method getEJBHome HASH -993218923
> [Container factory] Mapped Container method getHandle HASH 1182305581
> [Container factory] Mapped Container method getPrimaryKey HASH -131865408
> [Container factory] Mapped Container method isIdentical HASH 285457048
> [Container factory] Mapped calculateCompoundInterest -548624954to public
> double
> com.web_tomorrow.interest.InterestBean.calculateCompoundInterest(double,
> double,d
> ouble)
> [Container factory] Mapping remove
> [Container factory] Mapping remove
> [Container factory] Mapping getEJBMetaData
> [Container factory] Mapping getHomeHandle
> [Container factory] Mapping create
> [Container factory] Bound Interest to interest/Interest
> [Container factory] Deployed application:
> file:/D:/Programmi/jboss/bin/../tmp/de
> ploy/interest.jar/ejb1002.jar
> [J2EE Deployer] J2EE application:
> file:/D:/Programmi/jboss/deploy/interest.jar i
> s deployed.
> [Auto deployer] Started
> [SpyderMQ] Starting
> [SpyderMQ] Testing if SpyderMQ is present....
> [SpyderMQ] OK
> [SpyderMQ] Starting SpyderMQ...
> [SpyderMQ] Started
> [Security manager] Starting
> [Security manager] Started
> [Simple Realm Mapping] Starting
> [Simple Realm Mapping] Started
> [Webserver] Starting
> [Webserver] Codebase set to http://byrne:8083/
> [Webserver] Started webserver on port 8083
> [Webserver] Started
> [JMX RMI Adaptor] Starting
> [JMX RMI Adaptor] Started
> [JMX RMI Connector] Starting
> [JMX RMI Connector] Started
> [Default] 23 services and 4 other MBeans started.
> [Default] Shutdown hook added
> [Default] jBoss 2.0 BETA-PROD-04 Started
>
> -----------------------------
>
> My interest bean deploy output:
>
> [Auto deploy] Auto deploy of file:/D:/Programmi/jboss/deploy/interest.jar
> [J2EE Deployer] Deploy J2EE application:
> file:/D:/Programmi/jboss/deploy/interest.jar
> [J2EE Deployer] Could not delete temporary file:
> /D:/Programmi/jboss/bin/../tmp/deploy/copy1001.zip
> [J2EE Deployer] Create application interest.jar
> [J2EE Deployer] Installing EJB package: interest.jar
> [J2EE Deployer] Starting module interest.jar
> [Container factory]
> Deploying:file:/D:/Programmi/jboss/bin/../tmp/deploy/interest.jar/ejb100
> 2.jar
> [Container factory] Loading ejb-jar.xml :
> jar:file:/D:/Programmi/jboss/bin/../tmp/deploy/interest.jar/ejb1002.jar!
> /META-INF/ejb-jar.xml
> [Container factory] Loading standardjboss.xml :
> file:/D:/Programmi/jboss/conf/myConf/standardjboss.xml
> [Container factory]
> jar:file:/D:/Programmi/jboss/bin/../tmp/deploy/interest.jar/ejb1002.jar!
> /META-INF/jboss.xml found. Overriding defaults
> [Verifier] Verifying
> file:/D:/Programmi/jboss/bin/../tmp/deploy/interest.jar/ejb1002.jar
> [Verifier] Interest: Verified.
> [Container factory] Deploying Interest
> [Container factory] Container Invoker RMI Port='4444'
> [Container factory] Container Invoker Optimize='true'
> [Container factory] Mapped Container method remove HASH -1842617161
> [Container factory] Mapped Container method getEJBHome HASH -993218923
> [Container factory] Mapped Container method getHandle HASH 1182305581
> [Container factory] Mapped Container method getPrimaryKey HASH -131865408
> [Container factory] Mapped Container method isIdentical HASH 285457048
> [Container factory] Mapped calculateCompoundInterest -548624954to public
> double
> com.web_tomorrow.interest.InterestBean.calculateCompoundInterest(double,
> double,double)
> [Container factory] Mapping remove
> [Container factory] Mapping remove
> [Container factory] Mapping getEJBMetaData
> [Container factory] Mapping getHomeHandle
> [Container factory] Mapping create
> [Container factory] Bound Interest to interest/Interest
> [Container factory] Deployed application:
> file:/D:/Programmi/jboss/bin/../tmp/deploy/interest.jar/ejb1002.jar
> [J2EE Deployer] J2EE application:
> file:/D:/Programmi/jboss/deploy/interest.jar is deployed.
>
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]