• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to get Transaction Manager

 
Chris Kie
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi volks

i want to do a secure lookup from a standalone client



but here i get the exception Unable to get Transaction Manager ....

Exception


What is worng ??
Has anyone an idea to do this in a different way ??

greez Chris
 
Om Tejas
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was just wondering if the credentials are getting authentication through DB ?.. what is "stundenplanSecurity"..?.. any custom protocol ?
 
Chris Kie
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have tried several things ... the final version that doesn't work the way i want it to is



Exception:


the auth.conf file looks like


I have also tried this link and used ClientLoginModule in front of the DatabaseServerLoginModule ;(
Example for auth.conf

thanks for your help ...
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does your client classpath have any jndi.properties? If yes, what are its contents?
 
Chris Kie
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using the following properties




 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That doesn't look like a jndi.properties file. How are you passing those properties? From command line? By the way, java.naming.factory.initial property should be org.jnp.interfaces.NamingContextFactory instead of org.jboss.security.jndi.LoginInitialContextFactory.
 
Chris Kie
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm passing these properties through Eclipse Run-configuration VM-arguments (I think eclipse is using this to preform to command line )

You are right java.naming.factory.initial shoudl be org.jnp.interfaces.NamingContextFactory but it this is overwritten in my main


How do i use an jndi.properties file ... how does this look like and where i do i have to put this ?
is it nessesary to config anything ?


thanks for your help and happy new year ;)
 
Chris Kie
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All in all I don't think that this is the problem ...
why i don't get an transaction manager with the DatabaseServerLoginModule ...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!