Re: [JBoss-user] How to separate jboss and hypersonic db???
onsdagen den 5 februari 2003 kl 19.40 skrev Hanson, Matthew: that's why i was hoping to get it straight from the beginning, you know? Have You looked into hsqldbr(eplikated) ... ? ... http://www.javagroups.com/javagroupsnew/docs/hsqldbr.html and all other things hypersonic here : http://sourceforge.net/projects/hsqldb/
RE: [JBoss-user] How to separate jboss and hypersonic db???
hi - if i copy the db property/data files to $JBOSS_HOME\server\default\db\hypersonic and use the original hsqldb-service.xml file, then the client runs just fine... i can keep this for now and continue writing the beans, but i had hoped to keep jboss and the db server very separate, probably on different machines... that's why i was hoping to get it straight from the beginning, you know? thanks for the help! matt hanson! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 11:19 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] How to separate jboss and hypersonic db??? onsdagen den 5 februari 2003 kl 15.20 skrev Hanson, Matthew: > I'm running jboss-3.0.4_tomcat-4.1.12 and HSQLDB 1.7.1.b (i.e., > not the jboss-supplied ver) on Win NT4.0. What happens if You run Your bean in a fresh 3.2 install ? --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] How to separate jboss and hypersonic db???
onsdagen den 5 februari 2003 kl 15.20 skrev Hanson, Matthew: I'm running jboss-3.0.4_tomcat-4.1.12 and HSQLDB 1.7.1.b (i.e., not the jboss-supplied ver) on Win NT4.0. What happens if You run Your bean in a fresh 3.2 install ? --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] How to separate jboss and hypersonic db???
OK - I had some deployment config problems with my beaner before, accounting for the "not bound" error. Still, I can't seem to get a session bean to connect with my entity bean. Here is the exception text: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.ServerException: EJBException:; nested exception is: javax.ejb.EJBException: null; CausedByException is: Unknown query: public abstract homebrew.ejb.interfaces.accountHolderBeanLocal homebrew.ejb.i nterfaces.accountHolderBeanLocalHome.findByPrimaryKey(homebrew.ejb.interface s.accountHolderBeanPK) t hrows javax.ejb.FinderException 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:7 01) at java.lang.Thread.run(Thread.java:536) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC all.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(JRMPInvokerProx y.java:138) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77 ) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80) at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInter ceptor.java:1 11) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76) . . . The entity bean interface generated by XDoclet has a findByPrimaryKey method. However, I'm still wondering if this is a hslqdb issue or a configuration problem. Has anyone seen this exception before, and if so, is it related to configuration or ejb container/query stuff (i.e., is my hsqldb messed up?)? Remember, I am using a standalone installation of hsqldb running in server mode, and the connection by jboss seems to be there during startup. Thanks! Matt Hanson! -Original Message- From: Hanson, Matthew [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 1:10 PM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] How to separate jboss and hypersonic db??? Hi-- I guess I should have added some exception text to my previous post. To reiterate, I'm running jboss-3.0.4_tomcat-4.1.12 and HSQLDB 1.7.1.b (i.e., not the jboss-supplied ver) on Win NT4.0. Trying to remove the default hsqldb stuff supplied by jboss and replace it with newer version of hsqldb installed in another directory. I have hsqldb running in server mode on its default port (9001). When I run a simple test client to get bean data from a table on the new hsqldb, here is the error: 13:04:40,149 ERROR [LogInterceptor] EJBException, causedBy: javax.naming.NameNotFoundException: account not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) at org.jnp.server.NamingServer.getBinding(NamingServer.java:503) at org.jnp.server.NamingServer.getObject(NamingServer.java:509) at org.jnp.server.NamingServer.lookup(NamingServer.java:253) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:464) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:443) at javax.naming.InitialContext.lookup(InitialContext.java:347) at homebrew.ejb.session.accountFacadeBean.getAccountHolder(accountFacadeBean.ja va:50) 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(Stateles sSessionConta iner.java:660) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cach edConnectionI nterceptor.java:186) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe ssionInstance Interceptor.java:77) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor .java:107) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. java:178) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60) at org.jboss.ejb
RE: [JBoss-user] How to separate jboss and hypersonic db???
Hi-- I guess I should have added some exception text to my previous post. To reiterate, I'm running jboss-3.0.4_tomcat-4.1.12 and HSQLDB 1.7.1.b (i.e., not the jboss-supplied ver) on Win NT4.0. Trying to remove the default hsqldb stuff supplied by jboss and replace it with newer version of hsqldb installed in another directory. I have hsqldb running in server mode on its default port (9001). When I run a simple test client to get bean data from a table on the new hsqldb, here is the error: 13:04:40,149 ERROR [LogInterceptor] EJBException, causedBy: javax.naming.NameNotFoundException: account not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) at org.jnp.server.NamingServer.getBinding(NamingServer.java:503) at org.jnp.server.NamingServer.getObject(NamingServer.java:509) at org.jnp.server.NamingServer.lookup(NamingServer.java:253) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:464) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:443) at javax.naming.InitialContext.lookup(InitialContext.java:347) at homebrew.ejb.session.accountFacadeBean.getAccountHolder(accountFacadeBean.ja va:50) 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(Stateles sSessionConta iner.java:660) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cach edConnectionI nterceptor.java:186) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe ssionInstance Interceptor.java:77) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor .java:107) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. java:178) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:13 0) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204) at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.jav a:313) at org.jboss.ejb.Container.invoke(Container.java:712) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382) 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:7 01) at java.lang.Thread.run(Thread.java:536) I have tried to set the schema for my bean to account, but I am unsure if this name is fine. Frankly, still a little vague on what the schema stuff really means. Anyway, I was able to set up Oracle just fine, but now I'm having trouble. If someone has some time, I could use some guidance :)... Thanks! Matt Hanson -Original Message- From: Hanson, Matthew [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 12:07 PM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] How to separate jboss and hypersonic db??? Hi! Thanks for the info. Before I make a lot of modifications to hsqldb-service.xml, I am wondering if anyone could provide specifics on the modifications required to this file to deploy a different hypersonic version. I appreciate the response, but I worry that I'll mess things up if start without all the details. Sorry! Matt Hanson! -Original Message- From: Peter Fagerlund [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 9:31 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] How to separate jboss and hypersonic db??? fredagen den 31 januari 2003 kl 15.37 skrev Hanson, Matthew: > my bad - i believe i was wrong with the db server... connection was > refused > in jboss when i killer the hsqldb server... now i just need to figure > out > why my schema is not bound anywhere... thanks, and sorry! matt hanson From memory : comment out the Hypersonic mbean definition com
RE: [JBoss-user] How to separate jboss and hypersonic db???
Hi! Thanks for the info. Before I make a lot of modifications to hsqldb-service.xml, I am wondering if anyone could provide specifics on the modifications required to this file to deploy a different hypersonic version. I appreciate the response, but I worry that I'll mess things up if start without all the details. Sorry! Matt Hanson! -Original Message- From: Peter Fagerlund [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 9:31 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] How to separate jboss and hypersonic db??? fredagen den 31 januari 2003 kl 15.37 skrev Hanson, Matthew: > my bad - i believe i was wrong with the db server... connection was > refused > in jboss when i killer the hsqldb server... now i just need to figure > out > why my schema is not bound anywhere... thanks, and sorry! matt hanson From memory : comment out the Hypersonic mbean definition comment out the Hypersonic in the DefaultDS definition make sure You define user/pass in the DefaultDS definition I also recall some problems with the blank password ... try send in a space " " or create a pass for user "sa" in Your db instance and send in that pass. > -Original Message- > From: Hanson, Matthew [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 8:17 AM > To: '[EMAIL PROTECTED]' > Subject: [JBoss-user] How to separate jboss and hypersonic db??? > > > Hi-- > > Running jboss-3.0.4_tomcat-4.1.12 and HSQLDB 1.7.1.b (i.e., not the > jboss-supplied ver) on Win NT4.0. > > I saw a pointer in the forums regarding configuring a new version of > hypersonic. The hint said that changing the port in DefaultDS > datasource > (hsqldb-services.xml) to the port where the hypersonic db server is > running > would be an easy workaround. I have hypersonic running on its default > 9001 > port on localhost, and it is awaiting connections. > > So, I tried changing the port in > %JBOSS_HOME%\server\default\deploy\hsqldb-service.xml to the 9001, but > jboss > hangs while deploying/starting the beans associated with my hypersonic > db > instance. I can kill the db server, and jboss finishes deploying the > beans. > I had assumed that I should have the db server running before starting > up > jboss, as we did when we were using our oracle server. I am assuming > that > jboss is trying to startup up the hypersonic db server, but I was > hoping I > could get around this. I already have the data configured in my > hypersonic > server, and I would prefer to keep it where it is. I believe that > jboss > wants the data in %JBOSS_HOME%\server\default\db\hypersonic, right? > > Anyway, if someone has a recommendation on a clean way to separate > jboss and > hypersonic, I would be very appreciative. > > Thanks! > Matt Hanson! > > > --- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > --- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] How to separate jboss and hypersonic db???
hey - i guess i'm still confused, because jboss will throw an error during a small client test of my new hsqldb configuration that my schema (in this case, account) is not bound. when i view the jboss server logs, i'm still seeing a lot of hsqldb referrences to packages in the jboss installation. i think i'm back to needing help with getting an independent deployment of hypersonic db (that is not bundled with jboss)... help!!! :) matt hanson! -Original Message- From: Hanson, Matthew [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 8:37 AM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] How to separate jboss and hypersonic db??? my bad - i believe i was wrong with the db server... connection was refused in jboss when i killer the hsqldb server... now i just need to figure out why my schema is not bound anywhere... thanks, and sorry! matt hanson -Original Message- From: Hanson, Matthew [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 8:17 AM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] How to separate jboss and hypersonic db??? Hi-- Running jboss-3.0.4_tomcat-4.1.12 and HSQLDB 1.7.1.b (i.e., not the jboss-supplied ver) on Win NT4.0. I saw a pointer in the forums regarding configuring a new version of hypersonic. The hint said that changing the port in DefaultDS datasource (hsqldb-services.xml) to the port where the hypersonic db server is running would be an easy workaround. I have hypersonic running on its default 9001 port on localhost, and it is awaiting connections. So, I tried changing the port in %JBOSS_HOME%\server\default\deploy\hsqldb-service.xml to the 9001, but jboss hangs while deploying/starting the beans associated with my hypersonic db instance. I can kill the db server, and jboss finishes deploying the beans. I had assumed that I should have the db server running before starting up jboss, as we did when we were using our oracle server. I am assuming that jboss is trying to startup up the hypersonic db server, but I was hoping I could get around this. I already have the data configured in my hypersonic server, and I would prefer to keep it where it is. I believe that jboss wants the data in %JBOSS_HOME%\server\default\db\hypersonic, right? Anyway, if someone has a recommendation on a clean way to separate jboss and hypersonic, I would be very appreciative. Thanks! Matt Hanson! --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] How to separate jboss and hypersonic db???
fredagen den 31 januari 2003 kl 15.37 skrev Hanson, Matthew: my bad - i believe i was wrong with the db server... connection was refused in jboss when i killer the hsqldb server... now i just need to figure out why my schema is not bound anywhere... thanks, and sorry! matt hanson From memory : comment out the Hypersonic mbean definition comment out the Hypersonic in the DefaultDS definition make sure You define user/pass in the DefaultDS definition I also recall some problems with the blank password ... try send in a space " " or create a pass for user "sa" in Your db instance and send in that pass. -Original Message- From: Hanson, Matthew [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 8:17 AM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] How to separate jboss and hypersonic db??? Hi-- Running jboss-3.0.4_tomcat-4.1.12 and HSQLDB 1.7.1.b (i.e., not the jboss-supplied ver) on Win NT4.0. I saw a pointer in the forums regarding configuring a new version of hypersonic. The hint said that changing the port in DefaultDS datasource (hsqldb-services.xml) to the port where the hypersonic db server is running would be an easy workaround. I have hypersonic running on its default 9001 port on localhost, and it is awaiting connections. So, I tried changing the port in %JBOSS_HOME%\server\default\deploy\hsqldb-service.xml to the 9001, but jboss hangs while deploying/starting the beans associated with my hypersonic db instance. I can kill the db server, and jboss finishes deploying the beans. I had assumed that I should have the db server running before starting up jboss, as we did when we were using our oracle server. I am assuming that jboss is trying to startup up the hypersonic db server, but I was hoping I could get around this. I already have the data configured in my hypersonic server, and I would prefer to keep it where it is. I believe that jboss wants the data in %JBOSS_HOME%\server\default\db\hypersonic, right? Anyway, if someone has a recommendation on a clean way to separate jboss and hypersonic, I would be very appreciative. Thanks! Matt Hanson! --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] How to separate jboss and hypersonic db???
my bad - i believe i was wrong with the db server... connection was refused in jboss when i killer the hsqldb server... now i just need to figure out why my schema is not bound anywhere... thanks, and sorry! matt hanson -Original Message- From: Hanson, Matthew [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 8:17 AM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] How to separate jboss and hypersonic db??? Hi-- Running jboss-3.0.4_tomcat-4.1.12 and HSQLDB 1.7.1.b (i.e., not the jboss-supplied ver) on Win NT4.0. I saw a pointer in the forums regarding configuring a new version of hypersonic. The hint said that changing the port in DefaultDS datasource (hsqldb-services.xml) to the port where the hypersonic db server is running would be an easy workaround. I have hypersonic running on its default 9001 port on localhost, and it is awaiting connections. So, I tried changing the port in %JBOSS_HOME%\server\default\deploy\hsqldb-service.xml to the 9001, but jboss hangs while deploying/starting the beans associated with my hypersonic db instance. I can kill the db server, and jboss finishes deploying the beans. I had assumed that I should have the db server running before starting up jboss, as we did when we were using our oracle server. I am assuming that jboss is trying to startup up the hypersonic db server, but I was hoping I could get around this. I already have the data configured in my hypersonic server, and I would prefer to keep it where it is. I believe that jboss wants the data in %JBOSS_HOME%\server\default\db\hypersonic, right? Anyway, if someone has a recommendation on a clean way to separate jboss and hypersonic, I would be very appreciative. Thanks! Matt Hanson! --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user