Urgh. Silly me. I didn't actually read as far as the exception,
I just noticed the syntax up top.
This exception looks like there's a problem with one of the
"ClassPathExtension" entries in jboss.conf. Specifically, it thinks
something is a directory because it saw a / at the end of the name, but
when it called File.list() on the alleged directory, the result was null.
If that's not enough for you to find the problem, can you post your
jboss.conf file?
Aaron
On Fri, 1 Dec 2000, Peter Schauss wrote:
> Ok. I followed the pool configuration section of the manual:
>
> jboss.conf:
>
> <MLET CODE="org.jboss.jdbc.XADataSourceLoader" ARCHIVE="jboss.jar"
> CODEBASE="../../lib/ext/">
> <ARG TYPE="java.lang.String" VALUE="CDIDataSource">
> <ARG TYPE="java.lang.String"
> VALUE="org.jboss.minerva.xa.XADataSourceImpl">
> </MLET>
>
> I still get the same NullPointerException.
>
> Also, something keeps wiping out my changes to jboss.jcml.
>
> Thanks,
> Peter Schauss
>
> > -----Original Message-----
> > From: Aaron Mulder [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, December 01, 2000 11:16 AM
> > To: jBoss
> > Subject: Re: [jBoss-User] NullPointerException during startup
> >
> >
> > Ignore the HOWTO - it is out of date. Try the pool
> > configuration
> > directions in the manual instead.
> > Please guys (Marc + Sebastien), I removed the link to this once
> > already, and it was restored with the new web site. Please
> > either fix the
> > HOWTO or remove the link again. This is ridiculous.
> >
> > Aaron
> >
> > On Fri, 1 Dec 2000, Peter Schauss wrote:
> > > Environment:
> > > Solaris 2.8
> > > Oracle 8.1.6
> > > jBoss 2.0 FINAL
> > >
> > > I have modified the jboss.conf file according to the
> > > document "JBoss CMP Quick Start using JBoss 2.0 and Oracle"
> > as shown:
> > >
> > > <MLET CODE="org.jboss.jdbc.XADataSourceLoader" ARCHIVE="jboss.jar"
> > > CODEBASE="../lib/ext/">
> > > <ARG TYPE="java.lang.String" VALUE="CDIConnectionPool">
> > > <ARG TYPE="java.lang.String"
> > > VALUE="org.jboss.minerva.xa.XADataSourceImpl">
> > > <ARG TYPE="java.lang.String"
> > > VALUE="jdbc:oracle:thin@localhost:1521:cdi">
> > > <ARG TYPE="java.lang.String" VALUE="cdi_user">
> > > <ARG TYPE="java.lang.String" VALUE="password">
> > > <ARG TYPE="java.lang.String" VALUE="">
> > > <ARG TYPE="java.lang.String" VALUE="2">
> > > <ARG TYPE="java.lang.String" VALUE="5">
> > > <ARG TYPE="java.lang.String"
> > >
> > VALUE="GCEnabled=true;ShrinkingEnabled=true;GCMinIdleTime=3000
> > 0;GCInterval=1
> > > 0000;ShrinkMinIdleTime=30000">
> > > </MLET>
> > >
> > > When starting the server, I get the following errors:
> > >
> > > Using configuration "default"
> > > [Console logging] Initialized
> > > [Classpath extension] Initializing
> > > [Classpath extension] Initialized
> > > [File logging] Initializing
> > > [File logging] Initialized
> > > [Classpath extension] Initializing
> > > [Classpath extension] java.lang.NullPointerException
> > > [Classpath extension] at
> > >
> > org.jboss.util.ClassPathExtension.initService(ClassPathExtensi
> > on.java:84)
> > > [Classpath extension] at
> > > org.jboss.util.ServiceMBeanSupport.init(ServiceMBeanSupport.java:66)
> > > [Classpath extension] at
> > >
> > org.jboss.util.ServiceMBeanSupport.preRegister(ServiceMBeanSup
> > port.java:161)
> > > [Classpath extension] at
> > >
> > com.sun.management.jmx.MBeanServerImpl.preRegisterInvoker(MBea
> > nServerImpl.ja
> > > va:2245)
> > > [Classpath extension] at
> > >
> > com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServer
> > Impl.java:765)
> > > [Classpath extension] at
> > > javax.management.loading.MLet.getMBeansFromURL(MLet.java:540)
> > > [Classpath extension] at
> > > javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
> > > [Classpath extension] at org.jboss.Main.<init>(Main.java:119)
> > > [Classpath extension] at org.jboss.Main$1.run(Main.java:87)
> > > [Classpath extension] at
> > > java.security.AccessController.doPrivileged(Native Method)
> > > [Classpath extension] at org.jboss.Main.main(Main.java:83)
> > > [Classpath extension] Initialized
> > > [Classpath extension] Initializing
> > > [Classpath extension] java.lang.NullPointerException
> > > [Classpath extension] at
> > >
> > org.jboss.util.ClassPathExtension.initService(ClassPathExtensi
> > on.java:84)
> > > [Classpath extension] at
> > > org.jboss.util.ServiceMBeanSupport.init(ServiceMBeanSupport.java:66)
> > > [Classpath extension] at
> > >
> > org.jboss.util.ServiceMBeanSupport.preRegister(ServiceMBeanSup
> > port.java:161)
> > > [Classpath extension] at
> > >
> > com.sun.management.jmx.MBeanServerImpl.preRegisterInvoker(MBea
> > nServerImpl.ja
> > > va:2245)
> > > [Classpath extension] at
> > >
> > com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServer
> > Impl.java:765)
> > > [Classpath extension] at
> > > javax.management.loading.MLet.getMBeansFromURL(MLet.java:540)
> > > [Classpath extension] at
> > > javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
> > > [Classpath extension] at org.jboss.Main.<init>(Main.java:119)
> > > [Classpath extension] at org.jboss.Main$1.run(Main.java:87)
> > > [Classpath extension] at
> > > java.security.AccessController.doPrivileged(Native Method)
> > > [Classpath extension] at org.jboss.Main.main(Main.java:83)
> > > [Classpath extension] Initialized
> > >
> > > Any suggestions?
> > >
> > > Thanks,
> > > Peter Schauss
> > >
> > >
> > > --
> > > --------------------------------------------------------------
> > > 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]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]