Menu

#7 hsqldb-ds.xml in jboss having problems with java:/xpetstoreD

open
nobody
None
5
2003-08-20
2003-08-20
Anonymous
No

I could figure out how to build archives from sources
using build and app.server.properties file,

Now i have some problems with hsqldb-ds.xml file which i
suppose should be modified for xpetstore, so that i can
make java:/xpetstoreDS this as the Jndi Name.

here is the exception

2003-08-20 09:20:57,468 ERROR
[org.jboss.ejb.EntityContainer] Starting failed
org.jboss.deployment.DeploymentException: Error: can't
find data source: java:/xpetstoreDS; - nested
throwable: (javax.naming.NameNotFoundException:
xpetstoreDS not bound)

Help required very urgent
Nas.

Discussion

  • Ray Vanderborght

    Logged In: YES
    user_id=156489

    I had the same problem and got rid of this exception by
    going into %JBOSS_HOME%\server\xpetstore\hsqldb-ds.xml and
    changing:

    <jndi-name>DefaultDS</jndi-name>
    to
    <jndi-name>xpetstoreDS</jndi-name>

    I couldn't tell you whether this will put you on the right
    track or not though, since now I'm getting this exception:

    20:19:16,670 ERROR [AbstractPasswordCredentialLoginModule]
    The ConnectionManager mbean: jboss.jca:se
    rvice=LocalTxCM,name=DefaultDS specified in a
    ConfiguredIdentityLoginModule could not be found. Conn
    ectionFactory will be unusable!

     
  • Ray Vanderborght

    Logged In: YES
    user_id=156489

    I had the same problem and got rid of this exception by
    going into %JBOSS_HOME%\server\xpetstore\hsqldb-ds.xml and
    changing:

    <jndi-name>DefaultDS</jndi-name>
    to
    <jndi-name>xpetstoreDS</jndi-name>

    I couldn't tell you whether this will put you on the right
    track or not though, since now I'm getting this exception:

    20:19:16,670 ERROR [AbstractPasswordCredentialLoginModule]
    The ConnectionManager mbean: jboss.jca:se
    rvice=LocalTxCM,name=DefaultDS specified in a
    ConfiguredIdentityLoginModule could not be found. Conn
    ectionFactory will be unusable!

     

Log in to post a comment.

MongoDB Logo MongoDB