Announcement

Collapse
No announcement yet.

[SOLVED] Problem with EQ & TX Utilities under 5.0

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] Problem with EQ & TX Utilities under 5.0

    Has anyone had success running the Event and Transaction Diag utilities in a 5.0 environment? When I attempt to run them I get a stack trace, any ideas? This is what I got under AIX under Windows the error is similar. I've been told that I need to specify the jaas config file but don't know where I should do that? Maybe the syntax has changed since 4.5?

    $ java -Duser.home=/opt/apps/gc350 glog.server.event.EventDiagCommandLine -user DBA.ADMIN -password XXXXXX -server gc3app50.company.com -file test.txt -dir /opt/apps/gc350/perf -loop 100 -sleep 30 -reset -maxevents 300 -threads -events –xml

    java.lang.SecurityException: Unable to locate a login configuration
    at com.ibm.security.auth.login.ConfigFile.<init>(Conf igFile.java:12
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:80)
    at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java(Com piled Code))
    at java.lang.reflect.Constructor.newInstance(Construc tor.java(Compiled Code))
    at java.lang.Class.newInstance3(Class.java:367)
    at java.lang.Class.newInstance(Class.java:305)
    at javax.security.auth.login.Configuration$3.run(Conf iguration.java:243)
    at java.security.AccessController.doPrivileged1(Nativ e Method)
    at java.security.AccessController.doPrivileged(Access Controller.java(Compiled Code))
    at javax.security.auth.login.Configuration.getConfigu ration(Configuration.java:237)
    at javax.security.auth.login.LoginContext$1.run(Login Context.java:192)
    at java.security.AccessController.doPrivileged1(Nativ e Method)
    at java.security.AccessController.doPrivileged(Access Controller.java:287)
    at javax.security.auth.login.LoginContext.init(LoginC ontext.java:189)
    at javax.security.auth.login.LoginContext.<init>(Logi nContext.java:426)
    at glog.database.security.jaas.AuthenticationContext. <init>(AuthenticationContext.java:65)
    at glog.util.remote.NamingDirectory.<init>(NamingDire ctory.java:660)
    at glog.util.remote.NamingDirectory.get(NamingDirecto ry.java:177)
    at glog.util.remote.NamingDirectory.get(NamingDirecto ry.java:201)
    at glog.server.event.EventDiagCommandLine.main(EventD iagCommandLine.java:84)
    Caused by: java.io.IOException: Unable to locate a login configuration
    at com.ibm.security.auth.login.ConfigFile.init(Config File.java:237)
    at com.ibm.security.auth.login.ConfigFile.<init>(Conf igFile.java:126)
    ... 20 more
    java.rmi.AccessException: [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=GC3App, module=TranslationSession, ejb=TranslationSessionHome, method=loadLanguageContents, methodInterface=Remote, signature={java.lang.String,java.util.Locale}.
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.java:10
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke( ReplicaAwareRemoteRef.java:290)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke( ReplicaAwareRemoteRef.java:247)
    at glog.server.translation.TranslationSessionHome_lr6 d53_EOImpl_814_WLStub.loadLanguageContents(Unknown Source)
    at glog.webserver.i18n.GLResourceBundleLoader.getReso urceAsStream(GLResourceBundleLoader.java:33)
    at java.util.ResourceBundle$1.run(ResourceBundle.java :1047)
    at java.security.AccessController.doPrivileged1(Nativ e Method)
    at java.security.AccessController.doPrivileged(Access Controller.java:287)
    at java.util.ResourceBundle.loadBundle(ResourceBundle .java:1043)
    at java.util.ResourceBundle.findBundle(ResourceBundle .java:907)
    at java.util.ResourceBundle.getBundleImpl(ResourceBun dle.java:732)
    at java.util.ResourceBundle.getBundle(ResourceBundle. java:682)
    at glog.webserver.i18n.Translator.lookupBundle(Transl ator.java:203)
    at glog.webserver.i18n.Translator.translate(Translato r.java:161)
    at glog.webserver.i18n.Translator.getErrorValue(Trans lator.java:63)
    at glog.util.exception.GLExceptionProd.getTranslation (GLExceptionProd.java:176)
    at glog.util.exception.GLException.translate(GLExcept ion.java:602)
    at glog.util.exception.GLException.evaluateCauses(GLE xception.java:19
    at glog.util.exception.GLException.evaluateCauses(GLE xception.java:207)
    at glog.util.exception.GLException.toString(GLExcepti on.java:277)
    at java.lang.String.valueOf(String.java(Inlined Compiled Code))
    at java.lang.StringBuffer.append(StringBuffer.java(Co mpiled Code))
    at glog.server.event.EventDiagCommandLine.main(EventD iagCommandLine.java:110)
    java.rmi.AccessException: [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=GC3App, module=TranslationSession, ejb=TranslationSessionHome, method=loadLanguageContents, methodInterface=Remote, signature={java.lang.String,java.util.Locale}.
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.java:10
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke( ReplicaAwareRemoteRef.java:290)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke( ReplicaAwareRemoteRef.java:247)
    at glog.server.translation.TranslationSessionHome_lr6 d53_EOImpl_814_WLStub.loadLanguageContents(Unknown Source)
    at glog.webserver.i18n.GLResourceBundleLoader.getReso urceAsStream(GLResourceBundleLoader.java:33)
    at java.util.ResourceBundle$1.run(ResourceBundle.java :1047)
    at java.security.AccessController.doPrivileged1(Nativ e Method)
    at java.security.AccessController.doPrivileged(Access Controller.java:287)
    at java.util.ResourceBundle.loadBundle(ResourceBundle .java:1043)
    at java.util.ResourceBundle.findBundle(ResourceBundle .java:907)
    at java.util.ResourceBundle.getBundleImpl(ResourceBun dle.java:751)
    at java.util.ResourceBundle.getBundle(ResourceBundle. java:682)
    at glog.webserver.i18n.Translator.lookupBundle(Transl ator.java:203)
    at glog.webserver.i18n.Translator.translate(Translato r.java:161)
    at glog.webserver.i18n.Translator.getErrorValue(Trans lator.java:63)
    at glog.util.exception.GLExceptionProd.getTranslation (GLExceptionProd.java:176)
    at glog.util.exception.GLException.translate(GLExcept ion.java:602)
    at glog.util.exception.GLException.evaluateCauses(GLE xception.java:19
    at glog.util.exception.GLException.evaluateCauses(GLE xception.java:207)
    at glog.util.exception.GLException.toString(GLExcepti on.java:277)
    at java.lang.String.valueOf(String.java(Inlined Compiled Code))
    at java.lang.StringBuffer.append(StringBuffer.java(Co mpiled Code))
    at glog.server.event.EventDiagCommandLine.main(EventD iagCommandLine.java:110)
    java.rmi.AccessException: [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=GC3App, module=TranslationSession, ejb=TranslationSessionHome, method=loadLanguageContents, methodInterface=Remote, signature={java.lang.String,java.util.Locale}.
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.java:10
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke( ReplicaAwareRemoteRef.java:290)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke( ReplicaAwareRemoteRef.java:247)
    at glog.server.translation.TranslationSessionHome_lr6 d53_EOImpl_814_WLStub.loadLanguageContents(Unknown Source)
    at glog.webserver.i18n.GLResourceBundleLoader.getReso urceAsStream(GLResourceBundleLoader.java:33)
    at java.util.ResourceBundle$1.run(ResourceBundle.java :1047)
    at java.security.AccessController.doPrivileged1(Nativ e Method)
    at java.security.AccessController.doPrivileged(Access Controller.java:287)
    at java.util.ResourceBundle.loadBundle(ResourceBundle .java:1043)
    at java.util.ResourceBundle.findBundle(ResourceBundle .java:907)
    at java.util.ResourceBundle.getBundleImpl(ResourceBun dle.java:751)
    at java.util.ResourceBundle.getBundle(ResourceBundle. java:682)
    at glog.webserver.i18n.Translator.lookupBundle(Transl ator.java:203)
    at glog.webserver.i18n.Translator.translate(Translato r.java:161)
    at glog.webserver.i18n.Translator.getErrorValue(Trans lator.java:63)
    at glog.util.exception.GLExceptionProd.getTranslation (GLExceptionProd.java:176)
    at glog.util.exception.GLException.translate(GLExcept ion.java:602)
    at glog.util.exception.GLException.evaluateCauses(GLE xception.java:19
    at glog.util.exception.GLException.evaluateCauses(GLE xception.java:207)
    at glog.util.exception.GLException.toString(GLExcepti on.java:277)
    at java.lang.String.valueOf(String.java(Inlined Compiled Code))
    at java.lang.StringBuffer.append(StringBuffer.java(Co mpiled Code))
    at glog.server.event.EventDiagCommandLine.main(EventD iagCommandLine.java:110)
    java.rmi.AccessException: [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=GC3App, module=TranslationSession, ejb=TranslationSessionHome, method=loadLanguageContents, methodInterface=Remote, signature={java.lang.String,java.util.Locale}.
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.java:10
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke( ReplicaAwareRemoteRef.java:290)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke( ReplicaAwareRemoteRef.java:247)
    at glog.server.translation.TranslationSessionHome_lr6 d53_EOImpl_814_WLStub.loadLanguageContents(Unknown Source)
    at glog.webserver.i18n.GLResourceBundleLoader.getReso urceAsStream(GLResourceBundleLoader.java:33)
    at java.util.ResourceBundle$1.run(ResourceBundle.java :1047)
    at java.security.AccessController.doPrivileged1(Nativ e Method)
    at java.security.AccessController.doPrivileged(Access Controller.java:287)
    at java.util.ResourceBundle.loadBundle(ResourceBundle .java:1043)
    at java.util.ResourceBundle.findBundle(ResourceBundle .java:907)
    at java.util.ResourceBundle.getBundleImpl(ResourceBun dle.java:732)
    at java.util.ResourceBundle.getBundle(ResourceBundle. java:682)
    at glog.webserver.i18n.Translator.lookupBundle(Transl ator.java:203)
    at glog.webserver.i18n.Translator.translate(Translato r.java:161)
    at glog.webserver.i18n.Translator.getExplanationValue (Translator.java:71)
    at glog.util.exception.GLExceptionProd.getTranslation (GLExceptionProd.java:17
    at glog.util.exception.GLException.translate(GLExcept ion.java:602)
    at glog.util.exception.GLException.evaluateCauses(GLE xception.java:19
    at glog.util.exception.GLException.evaluateCauses(GLE xception.java:207)
    at glog.util.exception.GLException.toString(GLExcepti on.java:277)
    at java.lang.String.valueOf(String.java(Inlined Compiled Code))
    at java.lang.StringBuffer.append(StringBuffer.java(Co mpiled Code))
    at glog.server.event.EventDiagCommandLine.main(EventD iagCommandLine.java:110)
    java.rmi.AccessException: [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=GC3App, module=TranslationSession, ejb=TranslationSessionHome, method=loadLanguageContents, methodInterface=Remote, signature={java.lang.String,java.util.Locale}.
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.java:10
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke( ReplicaAwareRemoteRef.java:290)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke( ReplicaAwareRemoteRef.java:247)
    at glog.server.translation.TranslationSessionHome_lr6 d53_EOImpl_814_WLStub.loadLanguageContents(Unknown Source)
    at glog.webserver.i18n.GLResourceBundleLoader.getReso urceAsStream(GLResourceBundleLoader.java:33)
    at java.util.ResourceBundle$1.run(ResourceBundle.java :1047)
    at java.security.AccessController.doPrivileged1(Nativ e Method)
    at java.security.AccessController.doPrivileged(Access Controller.java:287)
    at java.util.ResourceBundle.loadBundle(ResourceBundle .java:1043)
    at java.util.ResourceBundle.findBundle(ResourceBundle .java:907)
    at java.util.ResourceBundle.getBundleImpl(ResourceBun dle.java:751)
    at java.util.ResourceBundle.getBundle(ResourceBundle. java:682)
    at glog.webserver.i18n.Translator.lookupBundle(Transl ator.java:203)
    at glog.webserver.i18n.Translator.translate(Translato r.java:161)
    at glog.webserver.i18n.Translator.getExplanationValue (Translator.java:71)
    at glog.util.exception.GLExceptionProd.getTranslation (GLExceptionProd.java:17
    at glog.util.exception.GLException.translate(GLExcept ion.java:602)
    at glog.util.exception.GLException.evaluateCauses(GLE xception.java:19
    at glog.util.exception.GLException.evaluateCauses(GLE xception.java:207)
    at glog.util.exception.GLException.toString(GLExcepti on.java:277)
    at java.lang.String.valueOf(String.java(Inlined Compiled Code))
    at java.lang.StringBuffer.append(StringBuffer.java(Co mpiled Code))
    at glog.server.event.EventDiagCommandLine.main(EventD iagCommandLine.java:110)
    java.rmi.AccessException: [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=GC3App, module=TranslationSession, ejb=TranslationSessionHome, method=loadLanguageContents, methodInterface=Remote, signature={java.lang.String,java.util.Locale}.
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.java:10
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke( ReplicaAwareRemoteRef.java:290)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke( ReplicaAwareRemoteRef.java:247)
    at glog.server.translation.TranslationSessionHome_lr6 d53_EOImpl_814_WLStub.loadLanguageContents(Unknown Source)
    at glog.webserver.i18n.GLResourceBundleLoader.getReso urceAsStream(GLResourceBundleLoader.java:33)
    at java.util.ResourceBundle$1.run(ResourceBundle.java :1047)
    at java.security.AccessController.doPrivileged1(Nativ e Method)
    at java.security.AccessController.doPrivileged(Access Controller.java:287)
    at java.util.ResourceBundle.loadBundle(ResourceBundle .java:1043)
    at java.util.ResourceBundle.findBundle(ResourceBundle .java:907)
    at java.util.ResourceBundle.getBundleImpl(ResourceBun dle.java:751)
    at java.util.ResourceBundle.getBundle(ResourceBundle. java:682)
    at glog.webserver.i18n.Translator.lookupBundle(Transl ator.java:203)
    at glog.webserver.i18n.Translator.translate(Translato r.java:161)
    at glog.webserver.i18n.Translator.getExplanationValue (Translator.java:71)
    at glog.util.exception.GLExceptionProd.getTranslation (GLExceptionProd.java:17
    at glog.util.exception.GLException.translate(GLExcept ion.java:602)
    at glog.util.exception.GLException.evaluateCauses(GLE xception.java:19
    at glog.util.exception.GLException.evaluateCauses(GLE xception.java:207)
    at glog.util.exception.GLException.toString(GLExcepti on.java:277)
    at java.lang.String.valueOf(String.java(Inlined Compiled Code))
    at java.lang.StringBuffer.append(StringBuffer.java(Co mpiled Code))
    at glog.server.event.EventDiagCommandLine.main(EventD iagCommandLine.java:110)
    Caught exception: java.lang.SecurityException: Unable to locate a login configuration

    java.lang.SecurityException: Unable to locate a login configuration

    java.lang.SecurityException: Unable to locate a login configuration
    at com.ibm.security.auth.login.ConfigFile.<init>(Conf igFile.java:12
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:80)
    at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java(Com piled Code))
    at java.lang.reflect.Constructor.newInstance(Construc tor.java(Compiled Code))
    at java.lang.Class.newInstance3(Class.java:367)
    at java.lang.Class.newInstance(Class.java:305)
    at javax.security.auth.login.Configuration$3.run(Conf iguration.java:243)
    at java.security.AccessController.doPrivileged1(Nativ e Method)
    at java.security.AccessController.doPrivileged(Access Controller.java(Compiled Code))
    at javax.security.auth.login.Configuration.getConfigu ration(Configuration.java:237)
    at javax.security.auth.login.LoginContext$1.run(Login Context.java:192)
    at java.security.AccessController.doPrivileged1(Nativ e Method)
    at java.security.AccessController.doPrivileged(Access Controller.java:287)
    at javax.security.auth.login.LoginContext.init(LoginC ontext.java:189)
    at javax.security.auth.login.LoginContext.<init>(Logi nContext.java:426)
    at glog.database.security.jaas.AuthenticationContext. <init>(AuthenticationContext.java:65)
    at glog.util.remote.NamingDirectory.<init>(NamingDire ctory.java:660)
    at glog.util.remote.NamingDirectory.get(NamingDirecto ry.java:177)
    at glog.util.remote.NamingDirectory.get(NamingDirecto ry.java:201)
    at glog.server.event.EventDiagCommandLine.main(EventD iagCommandLine.java:84)
    Caused by: java.io.IOException: Unable to locate a login configuration
    at com.ibm.security.auth.login.ConfigFile.init(Config File.java:237)
    at com.ibm.security.auth.login.ConfigFile.<init>(Conf igFile.java:126)
    ... 20 more

  • #2
    Re: Problem with EQ &amp; TX Utilities under 5.0

    Alan,

    In order to specify the JAAS config file, you'll need to add the following parameter to your java command line. Be sure to replace $GLOG_HOME with the installation directory of GC3 / OTM.

    Code:
    -Djava.security.auth.login.config=$GLOG_HOME/glog/config/gc3_jaas.config
    Please post back if this solves the problem, so that others will have a verified solution.

    Thanks!
    --Chris
    Chris Plough
    twitter.com/chrisplough
    MavenWire

    Comment


    • #3
      Re: Problem with EQ &amp; TX Utilities under 5.0

      Chris,

      Thanks that worked.

      -Alan

      Comment


      • #4
        Re: Problem with EQ &amp; TX Utilities under 5.0

        Alan,

        Glad to hear it! You're welcome This new java parameter should be required for any of the client utilities that connect to WebLogic in OTM 5.0 and up.

        Thanks,
        Chris
        Chris Plough
        twitter.com/chrisplough
        MavenWire

        Comment

        Working...
        X