Hey
marc fleury wrote:
>
> hummm he is looking for the 1.3 classes... sure you compiled 1.2.2 <g>?
He's using a container configuration that uses the 1.3 container
invokers. Change this in the container configuration section.
/Rickard
>
> marc
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Joe Shevland
> > Sent: Wednesday, May 31, 2000 5:51 AM
> > To: jBoss
> > Cc: jBoss Developer
> > Subject: Re: [jBoss-User] "AWT load" bug: fixed!
> >
> >
> > Much faster! (though the bank jar seems unhappy about 1.2.2):
> >
> > [Console logging] Logging started
> > [Classpath] Added directory:file:/kpi/local/jboss/log/
> > [Info] Java version: 1.2.2,Sun Microsystems Inc.
> > [Info] Java VM: Classic VM 1.2.2,Sun Microsystems Inc.
> > [Info] System: FreeBSD 3.4-STABLE,i386
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/activation.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/dynaserver.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/jpl-util-0_5b.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/mail.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/ejb.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/jta-spec1_0_1.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/awt.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/idb.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/jdbc2_0-stdext.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/hsql.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/ejxeditor.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/jmxtools.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/ejxejb.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/jndi.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/xml.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/jnpserver.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/ejxjaws.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/jboss.jar
> > [Classpath] Added library:file:/kpi/local/jboss/lib/ext/ejxjboss.jar
> > [Classpath] Added directory:file:/kpi/local/jboss/db/
> > [JDBC] Loaded JDBC-driver:org.hsql.jdbcDriver
> > [JDBC] Loaded JDBC-driver:jdbc.idbDriver
> > [Webserver] Initializing
> > [Webserver] Initialized
> > [Webserver] Starting
> > [Webserver] Started dynamic downloading service on port 8080
> > [Webserver] Started
> > [Hypersonic] Initializing
> > [Hypersonic] Initialized
> > [Hypersonic] Starting
> > [Hypersonic] Server is running
> > [Hypersonic] Database started
> > [Hypersonic] Started
> > [Naming] Initializing
> > [Naming] Initialized
> > [Naming] Starting
> > [Naming] Naming started on port 1099
> > [Naming] Started
> > [Transaction manager] Initializing
> > [Transaction manager] Initialized
> > [Transaction manager] Starting
> > [Transaction manager] Started
> > [DataSource] Initializing
> > [DataSource] Initialized
> > [DataSource] Starting
> > InstantDB - Version 3.12
> > [DataSource] Copyright (c) 1997-1999 Instant Computer Solutions Ltd.
> > [DataSource] Started
> > [DataSource] Initializing
> > [DataSource] Initialized
> > [DataSource] Starting
> > [DataSource] Started
> > [Auto deploy] Watching /kpi/local/jboss/deploy
> > [Auto deployer] Initializing
> > [Auto deployer] Initialized
> > [Auto deployer] Starting
> > [Auto deploy] Auto deploy of file:/kpi/local/jboss/deploy/bank.jar
> > [Container factory] Deploying:file:/kpi/local/jboss/deploy/bank.jar
> > [Container factory] Deploying Account
> > [Auto deploy] Deployment failed:file:/kpi/local/jboss/deploy/bank.jar
> > [Auto deploy] java.lang.NoClassDefFoundError:
> > java/lang/reflect/InvocationHandler
> > [Auto deploy] at java.lang.Class.newInstance0(Native Method)
> > [Auto deploy] at java.lang.Class.newInstance(Class.java:241)
> > [Auto deploy] at
> > org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:270)
> > [Auto deploy] at
> > org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:98)
> > [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.ejb.AutoDeployer.deploy(AutoDeployer.java:258)
> > [Auto deploy] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:194)
> > [Auto deploy] at
> > org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:237)
> > [Auto deploy] at
> > org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:86)
> > [Auto deploy] at
> > org.jboss.util.ServiceMBeanSupport.preRegister(ServiceMBeanSupport
> > .java:147)
> > [Auto deploy] at java.lang.reflect.Method.invoke(Native Method)
> > [Auto deploy] at
> > javax.management.MBeanServer.preRegisterInvoker(MBeanServer.java:2253)
> > [Auto deploy] at
> > javax.management.MBeanServer.createMBean(MBeanServer.java:721)
> > [Auto deploy] at
> > javax.management.loading.MLet.getMBeansFromURL(MLet.java:385)
> > [Auto deploy] at
> > javax.management.loading.MLet.getMBeansFromURL(MLet.java:208)
> > [Auto deploy] at org.jboss.Main.run(Main.java:109)
> > [Auto deploy] at org.jboss.Main$1.run(Main.java:81)
> > [Auto deploy] at
> > java.security.AccessController.doPrivileged(Native Method)
> > [Auto deploy] at org.jboss.Main.main(Main.java:77)
> > [Auto deployer] Started
> > [JMX RMI Adaptor] Initializing
> > [JMX RMI Adaptor] Initialized
> > [JMX RMI Adaptor] Starting
> > [JMX RMI Adaptor] Started
> > [Default] Could not add shutdown hook
> > [Default] jBoss 2.0 Started
> >
> > Rickard �berg wrote:
> > >
> > > All,
> > >
> > > Sometimes situations arise where one is not quite sure whether to laugh
> > > or cry. This is definitely one of them.
> > >
> > > I looked into the "AWT being loaded" problem, which seemed to be caused
> > > by the BeanInfo classes (thanks to Roman Porotnikov for a decent
> > > stacktrace). I changed the code template that was used for the BeanInfo
> > > classes to do lazyloading of Icons. It turns out that it was the eager
> > > loading of the images used by the icons that was the culprit in this
> > > story. Once I had changed the template and rebuilt all the BeanInfo
> > > classes the AWT subsystem was not started (I checked with the
> > > -verbose:class flag.. HUUUUUUUUUUUUGE difference).
> > >
> > > As a result, jBoss should now be usable on *nix servers without any
> > > X-system, and (... drumroll ...) as a direct consequence of NOT loading
> > > AWT the startup is MUCH faster and jBoss as a whole require MUCH less
> > > memory :-)
> > >
> > > CVS has been updated with the new BeanInfo generator, and the binary has
> > > been updated with the latest BeanInfo classes. Those who use CVS should
> > > do a full rebuild to make sure everything is generated properly.
> > >
> > > Enjoy.
> > >
> > > Now, laugh or cry? *That*, my friends, is the question..
> > >
> > > Rickard, ROTFL
> > >
> > > ps. If some *nix user without X-server can confirm that this actually
> > > works, that would be great. Thx.
> > > pps. As a side-result, this removes the requirement to separate the GUI
> > > from the EJX plugins. Hohum.
> > >
> > > --
> > > Rickard �berg
> > >
> > > @home: +46 13 177937
> > > Email: [EMAIL PROTECTED]
> > > http://www.telkel.com
> > > http://www.jboss.org
> > > http://www.dreambean.com
> > >
> > > --
> > > --------------------------------------------------------------
> > > To subscribe: [EMAIL PROTECTED]
> > > To unsubscribe: [EMAIL PROTECTED]
> > > Problems?: [EMAIL PROTECTED]
> >
> >
> > --
> > --------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Problems?: [EMAIL PROTECTED]
> >
> >
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]