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
comment out the <depends>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
-------------------------------------------------------
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