I downloaded and installed the SpecJappServer kit from the SourceForge Web site and
ran into the following problem. I am using the
Oracle 9i database, with the ojdbc14.jar copied into the appropriate location
snipped run log :
JBOSS_HOME: /scratch/cremers/jboss-3.2.5-src/build/output/jboss-3.2.5
JAVA: /usr/local/j2sdk1.4.2_03/bin/java
JAVA_OPTS: -server -Dprogram.name=run.sh
CLASSPATH: /scratch/cremers/jboss-3.2.5-src/build/output/jboss-3.2.5/bin/run.jar
:/usr/local/j2sdk1.4.2_03/lib/tools.jar
( snip )
18:18:24,352 INFO [EjbModule] Deploying SupplierEnt
( and it goes off and deploys all the other bits : so far, so good )
18:18:31,433 INFO [EjbModule] Deploying CorpAuditSes
18:18:39,827 WARN [StatelessSessionContainer] No resource manager found for Sup
plierDataSource
18:18:39,869 INFO [EJBDeployer] Deployed: file:/scratch/cremers/jboss-3.2.5-src
/build/output/jboss-3.2.5/server/specj/tmp/deploy/tmp54577SPECjAppServer.ear-con
tents/supplier.jar
( similiar deployment of the other jars, but no resource managers for them eithe
r )
18:18:44,543 INFO [TomcatDeployer] deploy, ctxPath=/SPECjAppServer, warUrl=file
:/scratch/cremers/jboss-3.2.5-src/build/output/jboss-3.2.5/server/specj/tmp/depl
oy/tmp54577SPECjAppServer.ear-contents/web.war/
( snip )
18:18:47,693 INFO [EARDeployer] Started J2EE application: file:/scratch/cremers
/jboss-3.2.5-src/build/output/jboss-3.2.5/server/specj/deploy/emulator.ear
18:18:47,702 INFO [Server] JBoss (MX MicroKernel) [3.2.5 (build: CVSTag=JBoss_3
_2_5 date=200409101558)] Started in 58s:491ms
18:18:47,704 INFO [Tomcat5] Saw org.jboss.system.server.started notification, s
tarting connectors
18:18:47,921 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
0
18:18:48,286 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
18:18:48,306 INFO [JkMain] Jk running ID=0 time=1/120 config=null
it comes up, I fire off the driver, and I get this :
it comes up, I fire off the driver, and I get this :
18:21:36,288 ERROR [LogInterceptor] RuntimeException:
java.lang.NullPointerException
at org.spec.jappserver.orders.orderauditses.ejb.OrderAuditSesEJB.setSess
ionContext(OrderAuditSesEJB.java:138)
at org.jboss.ejb.StatelessSessionEnterpriseContext.(StatelessSessi
onEnterpriseContext.java:47)
at org.jboss.ejb.plugins.StatelessSessionInstancePool.create(StatelessSe
ssionInstancePool.java:35)
at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.j
ava:168)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
elessSessionInstanceInterceptor.java:58)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
rceptor.java:84)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:315)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
48)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
java:120)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
ryFinderInterceptor.java:122)
at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessi
onContainer.java:331)
at org.jboss.ejb.Container.invoke(Container.java:723)
Is my propblem the lack of a resource manager ? None of the JBoss doc I have mentions
them. Any ideas ?
Thanks, Carla
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848881#3848881
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848881
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development