[JBoss-user] [Persistence CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill

2005-05-26 Thread rawat_tejinder
can you send the ejb-jar.xml and other supporting files, the things can become 
clear from them.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3879145#3879145

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879145


---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402alloc_id=16135op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: javax.naming.NoInitialContextException: Cannot instantia

2005-05-26 Thread rawat_tejinder
hello ilangocal,
  it is a configuration problem, make sure that you 
have configured the things apprpriately,  send the more  details if you have 
not got the solution yet.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3879146#3879146

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879146


---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402alloc_id=16135op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - org.apache.jasper.JasperException

2005-05-10 Thread rawat_tejinder
hello all,
   when running my web application based on entity beans i am able to 
enter the values into the database through jsp pages but i am getting following 
type of error,can anybody see and find out what is the problem.

exception 

org.apache.jasper.JasperException

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


root cause 

java.lang.NullPointerException

org.apache.jsp.RegisterUserResult_jsp._jspService(RegisterUserResult_jsp.java:129)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)




View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3877170#3877170

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877170


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill

2005-05-10 Thread rawat_tejinder
prasadjoshi wrote : I m also getting the same problem 
org.jboss.mq.SpyJMSException but the thing is that i m not using any entity 
bean , i m using hibernate.plz anyone help me out.
  | 
  | 
  | Prasad Joshi

it is a problem with jboss server and it should not affect your application, if 
you are using the message beans then i think it may create problems.
if you are getting problems with your application then send the stack trace.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3877176#3877176

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877176


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - after running jboss application on console, when trying to o

2005-05-07 Thread rawat_tejinder
hello all,
 i am having jboss 4.0 version which was working fine, but after i 
deployed my application based on entity beans, and then tried to run the jboss 
home page http://loclhost:8080/, it is giving the error message the page can 
not be displayed.

But at the initial stages, this was all working.

the files in which i have made some modifications are 
log4j.xml,login-config.xml and other required for database database 
configuration.

can any one suggest me is it happening due to my configuration changes or due 
to some other reason.

i even tried the thing with new installation of jboss on my pc, but the problem 
is now coming even with the new installation without application being deployed.

can anybody please help me.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3876872#3876872

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3876872


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - [java] java.rmi.ServerException: RemoteException occurred

2005-05-03 Thread rawat_tejinder
when running my client application at console i am getting the following type 
of error:

[java] java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:
[java] java.rmi.ServerException: EJBException:; nested exception is:
[java] javax.ejb.EJBException: null; CausedByException is:
[java] null; CausedByException is:
[java] null; CausedByException is:
[java] null; CausedByException is:
[java] null; CausedByException is:
[java] null; CausedByException is:
[java] null
[java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
:292)
[java] at sun.rmi.transport.Transport$1.run(Transport.java:148)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
[java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
.java:460)
[java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
ansport.java:701)
[java] at java.lang.Thread.run(Thread.java:534)
[java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
(StreamRemoteCall.java:247)
[java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
l.java:223)
[java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
[java] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unkn
wn Source)
[java] at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(
RMPInvokerProxy.java:118)
[java] at org.jboss.invocation.InvokerInterceptor.invokeInvoker(Invoker
nterceptor.java:163)
[java] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterce
tor.java:103)
[java] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInte
ceptor.java:46)
[java] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityIntercepto
.java:55)
[java] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(Statel
ssSessionInterceptor.java:97)
[java] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:9
)
[java] at $Proxy1.registerUser(Unknown Source)
[java] at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest.i
it(Unknown Source)
[java] at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest.ma
n(Unknown Source)
[java] Caused by: java.rmi.ServerException: EJBException:; nested exception
is:
[java] javax.ejb.EJBException: null; CausedByException is:
[java] null; CausedByException is:
[java] null; CausedByException is:
[java] null; CausedByException is:
[java] null; CausedByException is:
[java] null; CausedByException is:
[java] null
[java] at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInter
eptor.java:352)
[java] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.ja
a:196)
[java] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(Pr
xyFactoryFinderInterceptor.java:122)
[java] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContaine
.java:624)
[java] at org.jboss.ejb.Container.invoke(Container.java:870)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
orImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
odAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(Reflected
ispatcher.java:144)
[java] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
[java] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
[java] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBean
nvoker.java:249)
[java] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.ja
a:642)
[java] at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerActio
.invoke(JRMPInvoker.java:805)
[java] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvok
r.java:406)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
orImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
odAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
:261)
[java] at sun.rmi.transport.Transport$1.run(Transport.java:148)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
[java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor

[JBoss-user] [Persistence CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill

2005-05-02 Thread rawat_tejinder
ivanlc wrote : It may be that some entity bean in the middle has failed to 
deploy due
  | to a mistake in the EJB-QL and other beans depend on it. I've had the same  
problem. 
  | 
  | The bean that was throwing the exception at creation time was fine.
  | The culprit was elsewhere.  Check the EJB-QL sentence parsing of all your 
entity beans (in DEBUG mode) and see one has failed.
  | 
  | Cheers,
  | Ivan



thanks,  ivanlc

i had solved the problem, the problem was same as you told
but the server should be capable of generating the error messages for such kind 
of exceptions.

this was the only TRACE mode which helped me.
 Any way thanks ivanlc. 



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3876127#3876127

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3876127


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill

2005-04-28 Thread rawat_tejinder
[EMAIL PROTECTED] wrote : The application didn't deploy properly and there 
was an exception logged showing the details why.


thanks alex,
 you are right,this is the problem with deployment, can you 
tell me what is the reason behind it, the problem is always with my last entity 
bean in the ejb-jar.xml. caused somewhere at org.jboss.ejb.plugins...
can you tell me where is the problem, i do not think there is some where 
problem in my application or ejb-jar.xml

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3875725#3875725

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875725


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - during deployment CMP plugin is failing for always with last

2005-04-28 Thread rawat_tejinder
hello all,
 when i am deploying my application having 5-6 session beans and 
7-8 entity beans i am getting failed message for last entity bean in the 
ejb-jar , i am highlighting the success and filures with highlights.

11:09:43,020 DEBUG [EjbModule] startService, starting container: NextIDLogEJB
11:09:43,020 DEBUG [ServiceController] starting service 

jboss.j2ee:jndiName=local/NextIDLogEJB,service=EJB
11:09:43,020 DEBUG [EntityContainer] Starting 
jboss.j2ee:jndiName=local/NextIDLogEJB,service=EJB
11:09:43,020 DEBUG [EntityContainer] Begin java:comp/env for EJB: NextIDLogEJB
11:09:43,020 DEBUG [EntityContainer] TCL: [EMAIL PROTECTED]
11:09:43,020 DEBUG [EntityContainer] Unable to retrieve 

orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not 
registered.
11:09:43,020 DEBUG [EntityContainer] End java:comp/env for EJB: NextIDLogEJB
11:09:43,036 DEBUG [BaseLocalProxyFactory] Bound EJBLocalHome of NextIDLogEJB 
to 

local/NextIDLogEJB
11:09:43,036 DEBUG [AbstractInstanceCache] Starting 
InvalidableEntityInstanceCache...
11:09:43,036 DEBUG [NextIDLogEJB] Initializing CMP plugin for NextIDLogEJB
11:09:43,036 DEBUG [ServiceController] starting service 



from hereplugin pool starting and ultimtely started

jboss.j2ee:jndiName=local/NextIDLogEJB,plugin=pool,service=EJB
11:09:43,036 DEBUG [EntityInstancePool] Starting 

jboss.j2ee:jndiName=local/NextIDLogEJB,plugin=pool,service=EJB
11:09:43,036 DEBUG [EntityInstancePool] Started 

jboss.j2ee:jndiName=local/NextIDLogEJB,plugin=pool,service=EJB
11:09:43,036 DEBUG [ServiceController] Starting dependent components for: 

jboss.j2ee:jndiName=local/NextIDLogEJB,plugin=pool,service=EJB dependent 
components: []
11:09:43,036 DEBUG [CachedConnectionInterceptor] start called in 
CachedConnectionInterceptor
11:09:43,036 DEBUG [EntityContainer] Started 
jboss.j2ee:jndiName=local/NextIDLogEJB,service=EJB
11:09:43,036 DEBUG [ServiceController] Starting dependent components for: 

jboss.j2ee:jndiName=local/NextIDLogEJB,service=EJB dependent components: []


11:09:43,036 DEBUG [EjbModule] startService, starting container: NextIDSymbolEJB
11:09:43,036 DEBUG [ServiceController] starting service 

jboss.j2ee:jndiName=local/NextIDSymbolEJB,service=EJB
11:09:43,036 DEBUG [EntityContainer] Starting 

jboss.j2ee:jndiName=local/NextIDSymbolEJB,service=EJB
11:09:43,036 DEBUG [EntityContainer] Begin java:comp/env for EJB: 
NextIDSymbolEJB
11:09:43,036 DEBUG [EntityContainer] TCL: [EMAIL PROTECTED]
11:09:43,036 DEBUG [EntityContainer] Unable to retrieve 

orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not 
registered.
11:09:43,036 DEBUG [EntityContainer] End java:comp/env for EJB: NextIDSymbolEJB
11:09:43,051 DEBUG [BaseLocalProxyFactory] Bound EJBLocalHome of 
NextIDSymbolEJB to 

local/NextIDSymbolEJB
11:09:43,051 DEBUG [AbstractInstanceCache] Starting 
InvalidableEntityInstanceCache...
11:09:43,051 DEBUG [NextIDSymbolEJB] Initializing CMP plugin for NextIDSymbolEJB




//here with CMP plugin in entity container showing error/
/this is happpening with last bean in ejb-jar.xml//

11:09:43,051 ERROR [EntityContainer] Starting failed 

jboss.j2ee:jndiName=local/NextIDSymbolEJB,service=EJB
java.lang.NullPointerException
at 

org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.loadLoadGroups(JDBCEntityBridge.java:1018)
at 

org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.resolveRelationships(JDBCEntityBridge.java

:286)
at 

org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.resolveRelationships(JDBCStoreManager.java:445)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:372)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 

org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at 

[JBoss-user] [Persistence CMP/JBoss] - error during deployment always with last entity bean in ejb-

2005-04-27 Thread rawat_tejinder
hello,
 during deployment of cmp entity beans in my application i am getting 
error as given in the trace below. the error is always with the last entity 
bean in the ejb-jar.xml. i have checked it by intercanging the entities in the 
ejb-jar.xml.

as given in the trace dispite of error application is getting deployed, but 
tables are not created in the database.


stack trace:

12:40:41,140 INFO  [EARDeployer] Init J2EE application: 
file:/C:/jboss-4.0.1sp1/server/nextidserver/deploy/cmx.ear
12:40:44,359 INFO  [EjbModule] Deploying NextIDUserEJB
12:40:44,578 INFO  [EjbModule] Deploying NextIDLogoEJB
12:40:44,593 INFO  [EjbModule] Deploying NextIDUserDataEJB
12:40:44,625 INFO  [EjbModule] Deploying NextIDTransformEJB
12:40:44,656 INFO  [EjbModule] Deploying NextIDSheetEJB
12:40:44,671 INFO  [EjbModule] Deploying NextIDBaseEntityEJB
12:40:44,687 INFO  [EjbModule] Deploying NextIDDispatchEJB
12:40:44,703 INFO  [EjbModule] Deploying NextIDLogEJB
12:40:44,718 INFO  [EjbModule] Deploying NextIDSymbolEJB
12:40:44,718 INFO  [EjbModule] Deploying NextIDServiceEJB
12:40:44,781 INFO  [EjbModule] Deploying NextIDBaseEJB
12:40:44,796 INFO  [EjbModule] Deploying AdminNextIDServiceEJB
12:40:44,828 INFO  [EjbModule] Deploying NextIDServiceImplEJB
12:40:44,828 INFO  [EjbModule] Deploying AdminNextIDServiceImplEJB
12:40:44,843 INFO  [EjbModule] Deploying ConfigNextIDServiceEJB
12:40:44,875 INFO  [EjbModule] Deploying ConfigNextIDServiceImplEJB
12:40:44,890 INFO  [EjbModule] Deploying NextIDConstantsEJB
12:40:46,765 ERROR [EntityContainer] Starting failed 
jboss.j2ee:jndiName=local/NextIDSymbolEJB,service=EJB
java.lang.NullPointerException
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.loadLoadGroups(JDBCEntityBridge.java:1018)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.resolveRelationships(JDBCEntityBridge.java:286)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.resolveRelationships(JDBCStoreManager.java:445)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:372)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy39.start(Unknown Source)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:394)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 

[JBoss-user] [Persistence CMP/JBoss] - Re: Help: Deploying CMP Entity Bean on Jboss (DB2)

2005-04-27 Thread rawat_tejinder
try without putting standardjaws.xml in the /met-inf, it should work then

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3875580#3875580

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875580


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - throws javax.ejb.CreateException, causedBy:java.lang.Illegal

2005-04-26 Thread rawat_tejinder
hello all,
when i am calling the create method of an cmp bean in a session 
bean ia mgetting the following kind of error, it is sure thet there is no 
mistake in the code and in settings for connection with MS SQL server.
now can some one tell me what is the reason of problem.



11:17:51,484 ERROR [STDERR] at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
11:17:51,484 ERROR [LogInterceptor] TransactionRolledbackLocalException in 
method: public abstract au.com.chimo.nextidserver.entities.LocalNextIDUser 
au.com.chimo.nextidserver.entities.LocalNextIDUserHome.create() throws 
javax.ejb.CreateException, causedBy:
java.lang.IllegalStateException: createBeanClassInstanceCommand == null
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createBeanClassInstance(JDBCStoreManager.java:560)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.createBeanClassInstance(CMPPersistenceManager.java:124)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createBeanClassInstance(CachedConnectionInterceptor.java:247)
at 
org.jboss.ejb.EntityContainer.createBeanClassInstance(EntityContainer.java:224)
at 
org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:146)
at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:96)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:126)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:99)
at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
at 
org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508)
at org.jboss.ejb.Container.invoke(Container.java:891)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:342)
at 
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
at $Proxy57.create(Unknown Source)
at 
au.com.chimo.nextidserver.impl.AdminNextIDServiceImplBean.registerUser(Unknown 
Source)
at 
au.com.chimo.nextidserver.impl.AdminNextIDServiceImplBean.registerUser(Unknown 
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113)
at 
org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:146)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:122)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:870)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:413)
at 
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:82)
at $Proxy105.registerUser(Unknown Source)
at 
au.com.chimo.nextidserver.service.AdminNextIDServiceBean.registerUser(Unknown 
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 

[JBoss-user] [Persistence CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill

2005-04-26 Thread rawat_tejinder
thanks,

   you are right that there are some problems during deployment, it 
is always with last entity bean in the ejb-jar.xml, i consulted some people 
about this, some told me that this is a server bug.
but still when i was running the application, application was running and 
session beans were being instantiated, but during running when executing 
localuserdatahome.create() this is giving the stack tarce as you saw previously.

can you tell me the exact details about the problems and how to avoid them.
  thanks.
   

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3875401#3875401

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875401


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill

2005-04-26 Thread rawat_tejinder
hello alex,
for your reference i am getting the following type of message during 
deployment, the problem is always with last bean in the ejb-jar.xml, i even 
canged the order of some beans in the ejb-jar.xml, the problem was always with 
last bean, according to my investigations thiswas a server bug.

16:26:00,156 INFO  [EARDeployer] Init J2EE application: 
file:/C:/jboss-4.0.1sp1/server/nextIDserver/deploy/cmx.ear
16:26:07,296 INFO  [EjbModule] Deploying NextIDUserEJB
16:26:07,500 INFO  [EjbModule] Deploying NextIDLogoEJB
16:26:07,500 INFO  [EjbModule] Deploying NextIDUserDataEJB
16:26:07,531 INFO  [EjbModule] Deploying NextIDTransformEJB
16:26:07,531 INFO  [EjbModule] Deploying NextIDSymbolEJB
16:26:07,546 INFO  [EjbModule] Deploying NextIDSheetEJB
16:26:07,546 INFO  [EjbModule] Deploying NextIDBaseEntityEJB
16:26:07,562 INFO  [EjbModule] Deploying NextIDDispatchEJB
16:26:07,562 INFO  [EjbModule] Deploying NextIDLogEJB
16:26:07,578 INFO  [EjbModule] Deploying NextIDServiceEJB
16:26:07,609 INFO  [EjbModule] Deploying NextIDBaseEJB
16:26:07,640 INFO  [EjbModule] Deploying AdminNextIDServiceEJB
16:26:07,640 INFO  [EjbModule] Deploying NextIDServiceImplEJB
16:26:07,656 INFO  [EjbModule] Deploying AdminNextIDServiceImplEJB
16:26:07,656 INFO  [EjbModule] Deploying ConfigNextIDServiceEJB
16:26:07,671 INFO  [EjbModule] Deploying ConfigNextIDServiceImplEJB
16:26:07,671 INFO  [EjbModule] Deploying NextIDConstantsEJB
16:26:08,531 ERROR [EntityContainer] Starting failed 
jboss.j2ee:jndiName=local/NextIDLogEJB,service=EJB
java.lang.NullPointerException
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.loadLoadGroups(JDBCEntityBridge.java:1018)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.resolveRelationships(JDBCEntityBridge.java:286)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3875404#3875404

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875404


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill

2005-04-26 Thread rawat_tejinder
one of the error during server startup when binding datasource with MS SQL 
server is as follow:

17:43:11,187 INFO  [WrapperDataSourceService] Bound connection factory for 
resource adapter for ConnectionManager 
'jboss.jca:name=DefaultDS,service=DataSourceBinding to JNDI name 
'java:DefaultDS'
17:43:16,531 ERROR [PersistenceManager] Starting failed 
jboss.mq:service=PersistenceManager
org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions.  
Message recovery may not be accurate; - nested throwable: 
(java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for 
JDBC][SQLServer]Invalid object name 'JMS_MESSAGES'.)
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(PersistenceManager.java:391)
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1422)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3875411#3875411

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875411


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - ERROR [PersistenceManager] Starting failed jboss.mq:service=

2005-04-26 Thread rawat_tejinder

hello all,
when configuring DefaultDS with MSSQL SERVER 2000 i am getting 
following type of error message.
but still some of my applications are working and some are having problems.
during deployment tables for some applications are building and for some the 
tables are not building.
can any one tell me that whatis the causeof this problem. 



18:17:02,171 INFO  [WrapperDataSourceService] Bound connection factory for 
resource adapter for ConnectionManager 
'jboss.jca:name=DefaultDS,service=DataSourceBinding to JNDI name 
'java:DefaultDS'
18:17:03,031 ERROR [PersistenceManager] Starting failed 
jboss.mq:service=PersistenceManager
org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions.  
Message recovery may not be accurate; - nested throwable: 
(java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for 
JDBC][SQLServer]Invalid object name 'JMS_MESSAGES'.)
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(PersistenceManager.java:391)
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1422)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3875430#3875430

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875430


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Exception in thread main java.lang.NoClassDefFoundError:

2005-04-21 Thread rawat_tejinder
hello,
i am writting a client for the j2ee application sa-client.jar which has 
to be tested on the jboss server.
 the structure of the sa-client.jar is:
meta-inf
menifest.mf
application-client.xml
jboss-client.xml
au



my menifest.mf file contains th following:

Manifest-Version: 1.1
Main-Class: au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest

when i am trying to run the jar with command :
  java -jar sa-client.jar

it is throwing the exception as:
Exception in thread main java.lang.NoClassDefFoundError: 

can somebody please see what is going on inside.
  

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874781#3874781

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874781


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - javax.naming.NoInitialContextException: Cannot instantiate c

2005-04-21 Thread rawat_tejinder
when running my client side program this is another  problem with jboss i am 
facing:

javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf
aces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: o
rg.jnp.interfaces.NamingContextFactory]



the details of code and stack trace are as follow:

 Source code start here
package au.com.chimo.nextidserver.wsclienttest;

import javax.naming.Context;
import java.util.Properties;

/**
 * Created by IntelliJ IDEA.
 * User: shaun
 * Date: 21/07/2004
 * Time: 14:27:35
 */
public class EJBBaseTest {

protected Properties properties  = null;
public EJBBaseTest(){
super();
properties = new Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY, 

org.jnp.interfaces.NamingContextFactory);
properties.put(Context.PROVIDER_URL, jnp://localhost:1099);
}

}

 Source code end here

 Stack error trace(start here)
javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf
aces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: o
rg.jnp.interfaces.NamingContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
52)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.(InitialContext.java:195)
at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest.(Unk
nown Source)
at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest$MyThread.r
un(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFac
tory
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav
a:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
49)
... 5 more




 there is lot of stack trace of this type 



can somebody look at this please

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874784#3874784

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874784


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - javax.naming.NoInitialContextException: Cannot instantiate c

2005-04-21 Thread rawat_tejinder

while running a client application for my j2ee application on the jboss i am 
getting following type of error:

 Source code start here
package au.com.chimo.nextidserver.wsclienttest;

import javax.naming.Context;
import java.util.Properties;

/**
 * Created by IntelliJ IDEA.
 * User: shaun
 * Date: 21/07/2004
 * Time: 14:27:35
 */
public class EJBBaseTest {

protected Properties properties  = null;
public EJBBaseTest(){
super();
properties = new Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY, 

org.jnp.interfaces.NamingContextFactory);
properties.put(Context.PROVIDER_URL, jnp://localhost:1099);
}

}

 Source code end here

 Stack error trace(start here)
javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf
aces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: o
rg.jnp.interfaces.NamingContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
52)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.(InitialContext.java:195)
at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest.(Unk
nown Source)
at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest$MyThread.r
un(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFac
tory
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav
a:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
49)
... 5 more




 there is lot of stack trace of this type 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874786#3874786

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874786


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - javax.naming.NoInitialContextException: Cannot instantiate c

2005-04-21 Thread rawat_tejinder

while running a client application for my j2ee application on the jboss i am 
getting following type of error:

 Source code start here
package au.com.chimo.nextidserver.wsclienttest;

import javax.naming.Context;
import java.util.Properties;

/**
 * Created by IntelliJ IDEA.
 * User: shaun
 * Date: 21/07/2004
 * Time: 14:27:35
 */
public class EJBBaseTest {

protected Properties properties  = null;
public EJBBaseTest(){
super();
properties = new Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY, 

org.jnp.interfaces.NamingContextFactory);
properties.put(Context.PROVIDER_URL, jnp://localhost:1099);
}

}

 Source code end here

 Stack error trace(start here)
javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf
aces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: o
rg.jnp.interfaces.NamingContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
52)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.(InitialContext.java:195)
at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest.(Unk
nown Source)
at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest$MyThread.r
un(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFac
tory
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav
a:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
49)
... 5 more




 there is lot of stack trace of this type 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874785#3874785

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874785


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: javax.naming.NoInitialContextException: Cannot instantia

2005-04-21 Thread rawat_tejinder
it is already there in the classpath

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874795#3874795

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874795


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user