1 16 17 18 19 20 Previous Next 327 Replies Latest reply on Oct 3, 2007 10:57 PM by vashistvishal Go to original post
      • 255. enough problem to fed up
        nytmare

        hi all
        first i'want thanks all have contribute to this tutorial vishal ;)
        but i fed at each step i've stck...

        chap1
        :ejb-generate.xml becam xdoclet.xml
        ..... i'have :[ant] build faild when deploying
        i solve that by adding some line into jboss321all.server
        i found that in a thread og devshed forums.
        all work fine ok
        chap2: a big exception when runing client finished with ...21more
        now i dont find any thing.
        after some stuff i tryed (dont know how) i get
        client request
        server reponse : andy yr id is null...
        i found problem like this posed by many peaple here but no one answer
        (mainland,vice3,btsaru.......where are you ..have u find the answer?)
        help me :(
        but now i think i'll turn my self to jbuilder
        there's no probleme like this all tag and xml file are generated automaticly


        please help .and please ask a valid update of the tut bye

        • 256. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

          Hi nytamre :-

          Have a look at this thread
          http://www.jboss.org/index.html?module=bb&op=viewtopic&t=47662

          This should resolve yr problem.

          Vishal.

          • 257. no vishal.
            nytmare

            hi vishal
            it seem you dont read all of my post i spoke about many problem
            escpacialy the last one
            chap 3 whene runing client
            "request from client
            answer from server: yr id is null"

            now any one know a similar tutorial with jbuilder and jboss tell me .

            nytty

            • 258. re
              nytmare

              hi vishal
              it seem you dont read all of my post i spoke about many problem
              escpacialy the last one
              chap 3 whene runing client
              "request from client
              answer from server: yr id is null"

              now any one know a similar tutorial with jbuilder and jboss tell me .

              nytty

              • 259. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
                kblood

                @nytmare: I am not surprised Vishal didn't read all your message. Please decode it first :)

                • 260. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
                  ajatienza

                  sir vishal and to everyone,
                  i'm on chapter 9. it seems that after deploying deploy.wsdd, there is no "loginUser" service that appears on the axis page. and also, comparing to the wsdl produced by axis, what I get is much shorter one (see Code).

                  need help. thanks!

                  <wsdl:definitions targetNamespace="http://localhost:8080/axis/services/MyStoreLoginService">
                   <wsdl:portType name="StoreAccessLocal"></wsdl:portType>
                   -<wsdl:binding name="MyStoreLoginServiceSoapBinding" type="impl:StoreAccessLocal">
                   <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
                   </wsdl:binding>
                   -<wsdl:service name="StoreAccessLocalService">
                   -<wsdl:port name="MyStoreLoginService" binding="impl:MyStoreLoginServiceSoapBinding">
                   <wsdlsoap:address location="http://localhost:8080/axis/services/MyStoreLoginService"/>
                   </wsdl:port>
                   </wsdl:service>
                  </wsdl:definitions>


                  • 261. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
                    raffaelecorvino

                    Hello all,
                    i solve my prevuis problem. Thanks all.
                    Now i 'm a problem about servlet in chapter 8. When I deploy it, the server give me an error about service.sar( The server don't run it correctly). I run the server in default configuration. Have I run it all configuration? Have I configure any file first to run servlet?
                    Please Help me.
                    Thanks in advance
                    Raffaele

                    • 262. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
                      raffaelecorvino

                      Hello all,
                      i solve my prevuis problem. Thanks all.
                      Now i 'm a problem about servlet in chapter 8. When I deploy it, the server give me an error about service.sar( The server don't run it correctly). I run the server in default configuration. Have I run it all configuration? Have I configure any file first to run servlet?
                      Please Help me.
                      Thanks in advance
                      Raffaele

                      • 263. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
                        raffaelecorvino

                        Hello all,
                        i solve my prevuis problem. Thanks all.
                        Now i 'm a problem about servlet in chapter 8. When I deploy it, the server give me an error about service.sar( The server don't run it correctly). I run the server in default configuration. Have I run it all configuration? Have I configure any file first to run servlet?
                        Please Help me.
                        Thanks in advance
                        Raffaele

                        • 264. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
                          raffaelecorvino

                          Hello all,
                          i solve my prevuis problem. Thanks all.
                          Now i 'm a problem about servlet in chapter 8. When I deploy it, the server give me an error about service.sar( The server don't run it correctly). I run the server in default configuration. Have I run it all configuration? Have I configure any file first to run servlet?
                          Please Help me.
                          Thanks in advance
                          Raffaele

                          • 265. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
                            jasoneilers

                            ajatienza - I am encountering the exact same issue with the deploy.wsdd file with no "loginUser". Were you ever able to figure this out?

                            Many Thanks.

                            • 266. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
                              raffaelecorvino

                              Hello all,
                              I think to have my servlet problem, but...
                              I heve this problem when i test it:

                              2004-04-04 09:44:23,128 INFO [STDOUT] Entering AccessController.processRequest()
                              2004-04-04 09:44:23,129 INFO [STDOUT] In valdateLogin
                              2004-04-04 09:44:23,129 INFO [STDOUT]
                              Entering AccessController.loginUser()
                              2004-04-04 09:44:23,129 ERROR [org.jboss.ejb.plugins.LogInterceptor] EJBException:
                              javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract au.com.tusc.session.StoreAccess au.com.tusc.session.StoreAccessHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
                              at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:632)
                              at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:205)
                              at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:51)
                              at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88)
                              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)
                              at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:98)
                              at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:92)
                              at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
                              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
                              at org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:319)
                              at org.jboss.ejb.Container.invoke(Container.java:720)
                              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.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
                              at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
                              at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
                              at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
                              at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
                              at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
                              at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
                              at $Proxy116.create(Unknown Source)
                              at au.com.tusc.servlet.AccessController.loginUser(AccessController.java:196)
                              at au.com.tusc.servlet.AccessController.processRequest(AccessController.java:114)
                              at au.com.tusc.servlet.AccessController.doGet(AccessController.java:91)
                              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
                              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
                              at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                              at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                              at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                              at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
                              at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                              at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
                              at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                              at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
                              at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                              at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                              at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
                              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
                              at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                              at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
                              at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
                              at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
                              at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
                              at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                              at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
                              at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                              at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                              at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
                              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
                              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
                              at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
                              at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
                              at java.lang.Thread.run(Thread.java:534)
                              2004-04-04 09:44:23,131 INFO [STDOUT]
                              Exception in AccessController.loginUser()java.rmi.ServerException: EJBException:; nested exception is:
                              javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract au.com.tusc.session.StoreAccess au.com.tusc.session.StoreAccessHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
                              2004-04-04 09:44:23,131 INFO [STDOUT]
                              Leaving AccessController.loginUser()
                              2004-04-04 09:44:23,131 INFO [STDOUT] Error:invalid attempt for username
                              2004-04-04 09:44:23,131 INFO [STDOUT] Entering AccessController.displayLoginScreen()
                              2004-04-04 09:44:23,132 INFO [STDOUT] Leaving AccessController.DisplayLoginScreen()
                              2004-04-04 09:44:23,132 INFO [STDOUT] Leaving AccessController.processRequest()

                              I don't understand what is the problem.
                              Please help me!
                              Thanks in advance.

                              • 267. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
                                jkperez

                                Hello. If somebody could help me, please.
                                I have a problem with chapter 7 of the lomboz tutorial. When I run the client, this executes all its instructions but the onMessage method of the RequestItemsBean is not called despite I haven´t forgot writing the next tag at level class on RequestItemsBean.
                                @jboss.destination-jndi-name
                                name="queue/MdbQueue"

                                I can prove that this method (onMessage) isn´t called because the supplier table doesn´t change when I run the RequestMDBClient. Besides this one, I can´t see the messages which should be written by System.out.println in onMessage method of RequestItemBean.
                                I have eclipse 2.1 with Lomboz and jboss 3.0.8.
                                When I deploy de example on chapter 7 of the lomboz tutorial, I get the following logs:

                                00:58:20,994 WARN [JMSContainerInvoker] Could not find the queue destination-jndi-name=queue/MdbQueue
                                00:58:20,994 WARN [JMSContainerInvoker] destination not found: queue/MdbQueue reason: javax.naming.NameNotFoundException: MdbQueue not bound
                                00:58:20,994 WARN [JMSContainerInvoker] creating a new temporary destination: queue/MdbQueue
                                00:58:21,034 INFO [MdbQueue] Creating
                                00:58:21,034 INFO [MdbQueue] Created
                                00:58:21,034 INFO [MdbQueue] Starting
                                00:58:21,034 INFO [MdbQueue] Bound to JNDI name: queue/MdbQueue
                                00:58:21,044 INFO [MdbQueue] Started
                                00:58:21,335 WARN [SecurityManager] No SecurityMetadadata was available for MdbQueue adding default security conf
                                00:58:21,375 INFO [DLQHandler] Starting
                                00:58:21,375 INFO [DLQHandler] Started
                                00:58:21,375 INFO [JMSContainerInvoker] Started
                                00:58:21,896 INFO [Supplier] Table 'SUPPLIER' already exists
                                00:58:22,036 INFO [Item] Table 'ITEM' already exists
                                00:58:22,547 INFO [EjbModule] Started
                                00:58:22,547 INFO [MainDeployer] Deployed package: file:/E:/hlocal/jboss/server/all/deploy/MyStoreMgr.jar
                                00:58:22,547 INFO [MainDeployer] Starting deployment of package: file:/E:/hlocal/jboss/server/all/deploy/jmx-console.war/
                                00:58:24,109 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console
                                00:58:25,901 INFO [jbossweb] Started WebApplicationContext[/jmx-console,file:/E:/hlocal/jboss/server/all/deploy/jmx-console.war/]
                                00:58:26,522 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,name=DisplayMBeans
                                00:58:26,582 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,name=DisplayOpResult
                                00:58:26,622 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,name=InspectMBean
                                00:58:26,713 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,name=jsp
                                00:58:26,823 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,name=HtmlAdaptor
                                00:58:26,863 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,name=default
                                00:58:26,923 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,name=invoker
                                00:58:27,003 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,HashSessionManager=0
                                00:58:27,003 INFO [jbossweb] successfully deployed file:/E:/hlocal/jboss/server/all/deploy/jmx-console.war/ to /jmx-console
                                00:58:27,003 INFO [MainDeployer] Deployed package: file:/E:/hlocal/jboss/server/all/deploy/jmx-console.war/
                                00:58:27,033 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
                                Cause: Incomplete Deployment listing:
                                Packages waiting for a deployer:

                                Incompletely deployed packages:
                                [org.jboss.deployment.DeploymentInfo@f4949c4d { url=file:/E:/hlocal/jboss/server/all/deploy/jmx-rmi-adaptor.sar/ }
                                deployer: org.jboss.deployment.SARDeployer@bad8a8
                                status: Deployment FAILED reason: org/jboss/jmx/adaptor/rmi/RMIAdaptor
                                state: FAILED
                                watch: file:/E:/hlocal/jboss/server/all/deploy/jmx-rmi-adaptor.sar/META-INF/jboss-service.xml
                                lastDeployed: 1081119437283
                                lastModified: 1054795864000
                                mbeans:
                                jboss.jmx:type=Connector,name=RMI state: Starting
                                ]MBeans waiting for classes:

                                MBeans waiting for other MBeans:


                                00:58:27,053 INFO [URLDeploymentScanner] Started
                                00:58:27,053 INFO [MainDeployer] Deployed package: file:/E:/hlocal/jboss/server/all/conf/jboss-service.xml
                                00:58:27,063 INFO [Server] JBoss (MX MicroKernel) [3.0.8 (CVSTag=JBoss_3_0_8 Date=200306050849)] Started in 1m:40s:565ms


                                Thanks to anybody who read this message and I´ll be pleased if somebody could answer me somthing which help me.

                                • 268. Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
                                  jaf8252

                                  I have the same problem in chapter 9 (web services) like many of you. The wsdl file is too short, not like the file shown in the tutorial.
                                  I check that all the jars are in classpath, that's ok.
                                  Please, help.

                                  • 269. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

                                    Aplication EJB with JBoss using Eclipse and Lomboz

                                    i have the following problem. when i ran SessionBMPClient.java in chapter 4:

                                    Request from client :
                                    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
                                    java.rmi.ServerException: RuntimeException; nested exception is:
                                    java.lang.NullPointerException
                                    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
                                    at sun.rmi.transport.Transport$1.run(Transport.java:148)
                                    at java.security.AccessController.doPrivileged(Native Method)
                                    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
                                    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
                                    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
                                    at java.lang.Thread.run(Thread.java:536)
                                    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
                                    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
                                    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
                                    at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
                                    at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:135)
                                    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:87)
                                    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
                                    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
                                    at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
                                    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
                                    at $Proxy1.loginUser(Unknown Source)
                                    at au.com.tusc.client.SessionBMPClient.testBean(SessionBMPClient.java:54)
                                    at au.com.tusc.client.SessionBMPClient.main(SessionBMPClient.java:73)
                                    Caused by: java.rmi.ServerException: RuntimeException; nested exception is:
                                    java.lang.NullPointerException
                                    at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:360)
                                    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
                                    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
                                    at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
                                    at org.jboss.ejb.Container.invoke(Container.java:674)
                                    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.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                                    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
                                    at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:359)
                                    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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
                                    at sun.rmi.transport.Transport$1.run(Transport.java:148)
                                    at java.security.AccessController.doPrivileged(Native Method)
                                    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
                                    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
                                    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
                                    at java.lang.Thread.run(Thread.java:536)
                                    Caused by: java.lang.NullPointerException
                                    at au.com.tusc.dao.StoreAccessDAOImpl.loginUser(StoreAccessDAOImpl.java:52)
                                    at au.com.tusc.session.StoreAccessSession.loginUser(StoreAccessSession.java:56)
                                    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.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629)
                                    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
                                    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
                                    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
                                    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)
                                    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
                                    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
                                    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
                                    ... 21 more

                                    who can i solve this problem? I think that problem is in DataBase

                                    I use
                                    jboss-3.2.1
                                    eclipse 2.1.2
                                    lomboz 2.1.2
                                    windows XP home edition

                                    thank for this tutorial. It´s brilliant

                                    (I´m from Spain,I speak little English,I´m sorry)

                                    1 16 17 18 19 20 Previous Next