Not able to start the Sun Java System Access Manager 7 Console
Hi All,
I have successfully installed the Sun Java System Portal Server 7 on RHEL 4.0.The problem I am facing is not able to start the Sun Java System Access Manager 7 Console while accessing the URL: http://fqdn:8080/amconsole
As soon as I try to access this URL it gives me following Excepiton:::::::
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
com.iplanet.jato.NavigationException: Exception encountered during forward
Root cause = [java.lang.NullPointerException]
com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:386)
com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:267)
com.iplanet.am.console.base.ConsoleServletBase.onUncaughtException(ConsoleServletBase.java:338)
com.iplanet.jato.ApplicationServletBase.fireUncaughtException(ApplicationServletBase.java:1023)
com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:469)
com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:324)
com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:294)
javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
If anyone have any idea about the cause of this error,please let me know.All suggestions are welcome .
Thanx and Regards,
Chirag.
Hi All,
I am having exactly the same problem with the same stack trace. Has anybody have an idea how to fix this?
I have downloaded the Java Identity Management Suite.(java_es-5-identsuite-ga-windows-x86.zip) The first time installation was fine and I was able to bring the Access Manager console. I was able to create users groups etc.
However, when I uninstalled and installed it again, I got exactly the same error described in the thread. Running "amserver start" and "amserver restart" did not help. I did the installation one more time
but again I got the same error.
Thanks for the help.
celikkan
Similar Messages
-
Not able to Start the Sun Java System Portal Server 7
Hi All,
I have already installed Sun Java System Portal Server 7 successfully.But when I tried to access the URL : http://fqdn:8080/portal it gives the following excepiton:::
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: SMSException Exception Code:5
Message:sms-UNKNOWN_EXCEPTION_OCCURRED
The lower level exception message
no-server-found
The lower level exception:
java.rmi.RemoteException: no-server-found
at com.sun.identity.jaxrpc.JAXRPCUtil.getValidURL(JAXRPCUtil.java:115)
at com.sun.identity.jaxrpc.SOAPClient.call(SOAPClient.java:165)
at com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:295)
at com.sun.identity.sm.jaxrpc.SMSJAXRPCObject.read(SMSJAXRPCObject.java:123)
at com.sun.identity.sm.SMSEntry.read(SMSEntry.java:479)
at com.sun.identity.sm.SMSEntry.read(SMSEntry.java:455)
at com.sun.identity.sm.SMSEntry.(SMSEntry.java:288)
at com.sun.identity.sm.CachedSMSEntry.getInstance(CachedSMSEntry.java:316)
at com.sun.identity.sm.CachedSubEntries.(CachedSubEntries.java:77)
at com.sun.identity.sm.CachedSubEntries.getInstance(CachedSubEntries.java:199)
at com.sun.identity.sm.ServiceManager.initialize(ServiceManager.java:868)
at com.sun.identity.sm.ServiceManager.(ServiceManager.java:140)
at com.sun.portal.desktop.context.DSAMEConnection.init(DSAMEConnection.java:131)
at com.sun.portal.desktop.context.DSAMEConnection.(DSAMEConnection.java:84)
at com.sun.portal.desktop.context.DSAMEServiceAppContext.initAdminDSAMEConnection(DSAMEServiceAppContext.java:57)
at com.sun.portal.desktop.context.DSAMEServiceAppContext.init(DSAMEServiceAppContext.java:43)
at com.sun.portal.desktop.context.PSDesktopAppContext.initServiceAppContext(PSDesktopAppContext.java:163)
at com.sun.portal.desktop.context.PSDesktopAppContext.init(PSDesktopAppContext.java:87)
at com.sun.portal.desktop.context.PSDesktopContextFactory.initDesktopAppContext(PSDesktopContextFactory.java:141)
at com.sun.portal.desktop.context.PSDesktopContextFactory.init(PSDesktopContextFactory.java:105)
at com.sun.portal.desktop.context.PSDesktopContextFactoryManager.getFactory(PSDesktopContextFactoryManager.java:21)
at com.sun.portal.desktop.DesktopServlet.getDesktopContextFactory(DesktopServlet.java:190)
at com.sun.portal.desktop.DesktopServlet.init(DesktopServlet.java:232)
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:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:756)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:226)
at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2071)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:300)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:226)
com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2071)
root cause
com.sun.portal.desktop.context.ContextError: SMSException Exception Code:5
Message:sms-UNKNOWN_EXCEPTION_OCCURRED
The lower level exception message
no-server-found
The lower level exception:
java.rmi.RemoteException: no-server-found
at com.sun.identity.jaxrpc.JAXRPCUtil.getValidURL(JAXRPCUtil.java:115)
at com.sun.identity.jaxrpc.SOAPClient.call(SOAPClient.java:165)
at com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:295)
at com.sun.identity.sm.jaxrpc.SMSJAXRPCObject.read(SMSJAXRPCObject.java:123)
at com.sun.identity.sm.SMSEntry.read(SMSEntry.java:479)
at com.sun.identity.sm.SMSEntry.read(SMSEntry.java:455)
at com.sun.identity.sm.SMSEntry.(SMSEntry.java:288)
at com.sun.identity.sm.CachedSMSEntry.getInstance(CachedSMSEntry.java:316)
at com.sun.identity.sm.CachedSubEntries.(CachedSubEntries.java:77)
at com.sun.identity.sm.CachedSubEntries.getInstance(CachedSubEntries.java:199)
at com.sun.identity.sm.ServiceManager.initialize(ServiceManager.java:868)
at com.sun.identity.sm.ServiceManager.(ServiceManager.java:140)
at com.sun.portal.desktop.context.DSAMEConnection.init(DSAMEConnection.java:131)
at com.sun.portal.desktop.context.DSAMEConnection.(DSAMEConnection.java:84)
at com.sun.portal.desktop.context.DSAMEServiceAppContext.initAdminDSAMEConnection(DSAMEServiceAppContext.java:57)
at com.sun.portal.desktop.context.DSAMEServiceAppContext.init(DSAMEServiceAppContext.java:43)
at com.sun.portal.desktop.context.PSDesktopAppContext.initServiceAppContext(PSDesktopAppContext.java:163)
at com.sun.portal.desktop.context.PSDesktopAppContext.init(PSDesktopAppContext.java:87)
at com.sun.portal.desktop.context.PSDesktopContextFactory.initDesktopAppContext(PSDesktopContextFactory.java:141)
at com.sun.portal.desktop.context.PSDesktopContextFactory.init(PSDesktopContextFactory.java:105)
at com.sun.portal.desktop.context.PSDesktopContextFactoryManager.getFactory(PSDesktopContextFactoryManager.java:21)
at com.sun.portal.desktop.DesktopServlet.getDesktopContextFactory(DesktopServlet.java:190)
at com.sun.portal.desktop.DesktopServlet.init(DesktopServlet.java:232)
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:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:756)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:226)
at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2071)
com.sun.portal.desktop.context.DSAMEConnection.init(DSAMEConnection.java:135)
com.sun.portal.desktop.context.DSAMEConnection.(DSAMEConnection.java:84)
com.sun.portal.desktop.context.DSAMEServiceAppContext.initAdminDSAMEConnection(DSAMEServiceAppContext.java:57)
com.sun.portal.desktop.context.DSAMEServiceAppContext.init(DSAMEServiceAppContext.java:43)
com.sun.portal.desktop.context.PSDesktopAppContext.initServiceAppContext(PSDesktopAppContext.java:163)
com.sun.portal.desktop.context.PSDesktopAppContext.init(PSDesktopAppContext.java:87)
com.sun.portal.desktop.context.PSDesktopContextFactory.initDesktopAppContext(PSDesktopContextFactory.java:141)
com.sun.portal.desktop.context.PSDesktopContextFactory.init(PSDesktopContextFactory.java:105)
com.sun.portal.desktop.context.PSDesktopContextFactoryManager.getFactory(PSDesktopContextFactoryManager.java:21)
com.sun.portal.desktop.DesktopServlet.getDesktopContextFactory(DesktopServlet.java:190)
com.sun.portal.desktop.DesktopServlet.init(DesktopServlet.java:232)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:226)
com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2071)
If anyone have got idea about this problem then please let me know.All suggestions are welcome .
Thanx and Regards,
Chirag.I meet the same problem.After I configured the Im and restart it,the error had happened.
-
Integrating WebSphere Portal Server with Sun Java System Access Manager
Hi All,
Is it possible to Integrate WebSphere Portal Server with Sun java System Access Manager?. If so plz send me any doc or web site link for the same.
Thanks in Advance
Rgds,
Lessly JRushi-Reliance wrote:
Kindly let us know how to proceed further as we are waiiting some reply from your team.As I already advised in your previous posting (http://forums.sun.com/thread.jspa?threadID=5359095), you are best off re-installing solaris from scratch and installing Communication Suite 6 update 1 if you cannot get Access Manager 7.1 configured.
Regards
Shane. -
Sun Java System Access Manager 7.1 config. failed during installation
{color:#0000ff}Hi,
I have installed sun java communication suite 5 on a single host on sun solaris 10.
I have installed required packages and it works fine.
But as per organization need, I have to change domain name.
So i have uninstalled everything and tried to install again with new domain name.
I have made proper entries in hosts file and resolve.conf file.
But duing the first phase of installation only , i failed in configuring access manager 7.1
I have also cerate same scenario in my test environment, but everytime i face the same error.
and sun java access manager 7.1 fails in first stage of installation only.
So would like to know the proper installation procedure while i change the domain name on same hardware...
I have checked both installation logs & summary logs.
But no error, no failed , no severe.
Attached is the summary of installation logs.
Summary Logs :
Installation Summary Report
Install Summary
Sun Java(TM) Communications Suite : Installed
Sun Java(TM) System Web Server 7.0 : Installed, Configured
Java DB : Installed, Configure After Install
Sun Java(TM) System Message Queue 3.7 UR1 : Installed
Sun Java(TM) System Monitoring Console 1.0 : Installed, Configure After Install
Sun Java(TM) System Directory Preparation Tool : Installed
Sun Java(TM) System Directory Server Enterprise Edition 6.0 : Installed, Configured
Sun Java(TM) System Access Manager 7.1 : Installed, Configuration Failed
Sun Java(TM) System Messaging Server 6.3 : Installed, Configure After Install
Sun Java(TM) System Communications Express 6 : Installed, Configure After Install
Communication Services Delegated Administrator : Installed, Configure After Install
Configuration Data
Sun Java(TM) System Web Server 7.0 :
Web Server Instance installation Directory : /var/opt/SUNWwbsvr7
Web Server installation Directory : /opt
Web Server Administration Server Host : RADAGWMSG221.myreliancemail.com
Web Server Admin Server Mode : true
Web Server only CLI installation : false
Sun Java(TM) System Directory Preparation Tool :
Directory Preparation Tool Installation Directory : /opt/SUNWcomds
Sun Java(TM) System Directory Server Enterprise Edition 6.0 :
Directory Server Installation Directory : /opt/SUNWdsee
Sun Java(TM) System Access Manager 7.1 :
Access Manager Installation Directory : /opt
Access Manager Protocol : http
Access Manager Port : 80
LDAP User ID : amldapuser
Administrator User ID : amAdmin
Web Container : WebServer
Access Manager Web Server Host Name : RADAGWMSG221.myreliancemail.com
Access Manager Web Server Instance Directory : /var/opt/SUNWwbsvr7/https-RADAGWMSG221.myreliancemail.com
Access Manager Web Server Port : 80
Access Manager Console Host (for Existing console) : RADAGWMSG221.myreliancemail.com
Access Manager Console Deploy URI : amconsole
Access Manager Password Deploy URI : ampassword
Access Manager Host : RADAGWMSG221.myreliancemail.com
Access Manager Console Port(for Existing console) : 80
Access Manager Services Deploy URI : amserver
Access Manager Cookie Domain List : .myreliancemail.com
Access Manager Common Domain Deploy URI : amcommon
Access Manager Directory Server Host Name : RADAGWMSG221
Access Manager Directory Server Host : RADAGWMSG221.myreliancemail.com
Access Manager Directory Server Port : 389
Access Manager Directory Root Suffix : o=rmail
Access Manager Directory Manager DN : cn=Directory Manager
Organization Marker Object Class : sunISManagedOrganization
User Marker Object Class : inetorgperson
Organization Naming Attribute : o
User Naming Attribute : uid
Sun Java(TM) System Messaging Server 6.3 :
Messaging Server Installation Directory : /opt/SUNWmsgsr
Sun Java(TM) System Communications Express 6 :
Communications Express Installation Directory : /opt/SUNWuwc
Communication Services Delegated Administrator :
Communication Services Delegated Administrator Installation Directory : /opt/SUNWcomm
{color}Rushi-Reliance wrote:
Kindly let us know how to proceed further as we are waiiting some reply from your team.As I already advised in your previous posting (http://forums.sun.com/thread.jspa?threadID=5359095), you are best off re-installing solaris from scratch and installing Communication Suite 6 update 1 if you cannot get Access Manager 7.1 configured.
Regards
Shane. -
Sun Java System Access Manager LDAP Exception
Hi All,
I am new to sun access manager. i have deployed amserver.war in my weblogic 8.1 sp5 . i have edited the weblogic.policy file to add permissions for Access Manager. I m using SUN Directory Server and it is running on port 389 .When i m trying to create a new role in Access Control > Realm - internetDomain > Subjects > Role > New Role, i am getting the following error
"Plug-in com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo encountered a ldap exception. LDAP Error 50: The client is authenticated as a user who does not have the access privileges to perform this operation. "
I have logged in as amAdmin . Below mentioned are my DataStore configurations
DataStore Type : Sun Directory Server with Access Manager Schema
LDAP Server : jophissystem.corp.mycompany.com:389
LDAP BIND NAME : cn=administrator,ou=administrator,dc=corp,dc=mycompany,dc=com
LDAPv3 Repository Plug-in Class Name: com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo
LDAPv3 Plug-in Search Scope: SCOPE_ONE
Please help me on this .
Regards,
JophisRushi-Reliance wrote:
Kindly let us know how to proceed further as we are waiiting some reply from your team.As I already advised in your previous posting (http://forums.sun.com/thread.jspa?threadID=5359095), you are best off re-installing solaris from scratch and installing Communication Suite 6 update 1 if you cannot get Access Manager 7.1 configured.
Regards
Shane. -
The Sun Java System Application Server could not start
Hello All,
I downloaded the Java Pet Store example from sun's website and followed the instructions for installation. After successful installation, I tried to deploy the project and gave the following error
C:\Documents and Settings\sina\My Documents\Projects\services\nbproject\build-impl.xml:194: Deployment error:
The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
- IDE timeout: refresh the server node to see if it's running now.
- Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
- Incorrect server configuration (domain.xml to be corrected manually)
- Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
- Invalid installation location.
See the server log for details.
BUILD FAILED (total time: 5 minutes 20 seconds)
The link above points to the following line in the build-impl.xml file
<nbdeploy debugmode="false" forceRedeploy="${forceRedeploy}" clientUrlPart="${client.urlPart}" clientModuleUri="${client.module.uri}"/>
Can any one help whats wrong.An early response will be highly appreciated.
Kind Regards.
Hasnain Javed.Hi,
Maybe you already got this fix but here is a suggestion, a snippet from the readme index,html of the petstore download
# Start the Sun Java System Application Server and the JavaDB database. To do so, open a command prompt and change directory to <javaeesdk.home>/bin and issue the following commands:
asadmin start-database
asadmin start-domain
# Change directory to <petstore.home> and enter the following commands
ant setup
ant run
This will setup, build and deploy the petstore on the application server, and then launch the application homepage in your default browser.
The "ant setup" that you run from <petstore.home> (petstore.home is the directory where petstore is installed or where you unzipped it) will populate the database wth data and setup the proper database tables etc that are used by the application.
hth,
Sean -
Sun Java System Identity Manager 7.1 PasswordSync direct mode ERROR!
Hello,i wanna use direct mode to config the Sun Java System Identity Manager PasswordSync to avoid the complex configuration of JMS, but I get the following error in logs:
03/26/2008 10.52.34.062000 [2164] (../../../src/wps/passwordsync/lhpwic.cpp,591): EndpointURL: http://idmzone1.gmcc.net:8080/idm/servlet/rpcrouter2
03/26/2008 10.52.34.062000 [2164] (../../../../src/wps/agent/connect/RAEncryptor.cpp,69): RAEncryptor::Decrypt3DES: input length (16) moded to 2
03/26/2008 10.52.34.062000 [2164] (../../../src/wps/passwordsync/lhpwic.cpp,624): about to login...
03/26/2008 10.52.34.109000 [2164] (../../../src/wps/passwordsync/lhpwic.cpp,628): Login failed error code : -1072896682. Disassembing client
03/26/2008 10.52.34.109000 [2164] (../../../src/wps/passwordsync/lhpwic.cpp,648): Exit: GetClient
03/26/2008 10.52.34.109000 [2164] (../../../src/wps/passwordsync/lhpwic.cpp,916): Error getting our soap, bailing out.
It is really difficult to find the way to resolve this probblem..... PasswordSync direct mode works fine in 6.0 in my VM.. but error here in 7.1.
Is there anyone can give me a suggestion? Thanks you very much!Tried Hot fix 81 also still giving me the error and re-rigisterd dotnet.dll
Log File for Hot fix 81
(../../../src/wps/passwordsync/lhpwic.cpp,559): Error reading dumpFileBase, no dump file generation on exception
(../../../src/wps/passwordsync/lhpwic.cpp,567): Exit: ReadRegistrySettings
(../../../src/wps/passwordsync/lhpwic.cpp,593): Soap client created
(../../../src/wps/passwordsync/lhpwic.cpp,594): ClientTimeout: 18000
(../../../src/wps/passwordsync/lhpwic.cpp,604): Proxy server not specified
(../../../src/wps/passwordsync/lhpwic.cpp,608): EndpointURL: http://idm-dev:80/idm/servlet/rpcrouter2
(../../../../src/wps/agent/connect/RAEncryptor.cpp,69): RAEncryptor::Decrypt3DES: input length (16) moded to 2
(../../../src/wps/passwordsync/lhpwic.cpp,641): about to login...
(../../../src/wps/passwordsync/lhpwic.cpp,645): Login failed error code : -2147467259. Disassembing client
(../../../src/wps/passwordsync/lhpwic.cpp,665): Exit: GetClient
(../../../src/wps/passwordsync/lhpwic.cpp,935): Error getting our soap, bailing out.
even if i gave wrong username and password it giving me the same error
Can someone help on this -
Not able to start the weblogic server ....
Hi All,
I am using JDeveloper 11.1.1.6 .
I am not able to start the weblogic server .I am getting below Exception .I am not sure where I need to check,,
Error at line:2333 col:31 '' expected a valid beginning name character
at weblogic.xml.babel.scanner.Name.read(Name.java:33)
at weblogic.xml.babel.scanner.Name.read(Name.java:20)
at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:58)
at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
at weblogic.xml.babel.baseparser.Space.parse(Space.java:19)
at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:474)
at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:326)
at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)
at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processFunctionParameters(StaxPolicyStoreParser.java:2207)
at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processFunction(StaxPolicyStoreParser.java:2135)
at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processFunctions(StaxPolicyStoreParser.java:2072)
at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processAppPolicy(StaxPolicyStoreParser.java:796)
at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processPolicyStore(StaxPolicyStoreParser.java:521)
at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntryStax(XmlDataStoreParser.java:120)
at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntry(XmlDataStoreParser.java:180)
at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntry(XmlDataStoreParser.java:187)
at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.loadXmlDataStore(XmlDataStore.java:411)
at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.<init>(XmlDataStore.java:276)
at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.getInstance(XmlDataStore.java:209)
at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.buildFromFile(XmlPolicyStore.java:492)
at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.<init>(XmlPolicyStore.java:276)
at oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider.getInstance(XmlPolicyStoreProvider.java:100)
at oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider.getInstance(XmlPolicyStoreProvider.java:74)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:132)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:127)
at oracle.security.jps.internal.policystore.PolicyUtil$2.run(PolicyUtil.java:2827)
at oracle.security.jps.internal.policystore.PolicyUtil$2.run(PolicyUtil.java:2821)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPDPService(PolicyUtil.java:2821)
at oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(PolicyUtil.java:3097)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:164)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:369)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1339)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
<Jul 19, 2013 11:11:09 AM IST> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: Cannot read from policy store. Reason is PolicyStore Error, javax.xml.stream.XMLStreamException: Error at line:2333 col:31 '
Thanks ...hi user,
did you check this.
diehn.net/blog &raquo; Blog Archive &raquo; Weblogic AdminServer refused to start &#8211; truncated syste… -
How deploy the EJB in security on the Sun Java System Application Server 9?
I hava deploied a simple Hello EJB Object on PE 9(Sun Java System Application Server Platform Edition 9). I can use this EJB object without user name an password On any client. See the following code section:
public static void main(String[] args) {
try{
Properties props = System.getProperties();
props.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.enterprise.naming.SerialInitContextFactory");
props.put(Context.PROVIDER_URL,"iiop://localhost:3700");
Context ctx = new InitialContext(props);
Hello h = (Hello) ctx.lookup("ejb/test/Hello");
System.out.println(h.sayHello());
}catch(Exception e){
e.printStackTrace();
Please tell me how deploy the EJB in security on the Sun Java System Application Server 9? So that, The client must set the user name and password when lookup the ejb object. Like the following:
props.put(Context.SECURITY_PRINCIPAL,"admin")
props.put(Context.SECURITY_CREDENTIALS,"1234");Guys,
I too have the same issue. If anyone has an answer, please let me know.
Is this GlassFish problem? or Prgram issue?
Find below the source code
package TransactionSecurity.bean;
import javax.annotation.Resource;
import javax.annotation.security.DeclareRoles;
import javax.annotation.security.PermitAll;
import javax.annotation.security.RolesAllowed;
import javax.ejb.Remote;
import javax.ejb.SessionContext;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
@Stateless
@Remote(TSCalculator.class)
@DeclareRoles({"student", "teacher"})
public class TSCalculatorBean implements TSCalculator {
private @Resource SessionContext ctx;
@PermitAll
// @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
public int add(int x, int y) {
System.out.println("CalculatorBean.add Caller Principal:" + ctx.getCallerPrincipal().getName());
return x + y;
@RolesAllowed( { "student" })
public int subtract(int x, int y) {
System.out.println("CalculatorBean.subtract Caller Principal:" + ctx.getCallerPrincipal().getName());
System.out.println("CalculatorBean.subtract isCallerInRole:" + ctx.isCallerInRole("student"));
return x - y;
@RolesAllowed( { "teacher" })
public int divide(int x, int y) {
System.out.println("CalculatorBean.divide Caller Principal:" + ctx.getCallerPrincipal().getName());
System.out.println("CalculatorBean.divide isCallerInRole:" + ctx.isCallerInRole("teacher"));
return x / y;
package TransactionSecurity.bean;
import javax.ejb.Remote;
@Remote
public interface TSCalculator {
public int add(int x, int y);
public int subtract(int x, int y);
public int divide(int x, int y);
package TransactionSecurity.client;
import java.util.Properties;
import javax.ejb.EJBAccessException;
import javax.naming.Context;
import javax.naming.InitialContext;
import TransactionSecurity.bean.TSCalculator;
public class TSCalculatorClient {
public static void main(String[] args) throws Exception {
// Establish the proxy with an incorrect security identity
Properties env = new Properties();
env.setProperty(Context.SECURITY_PRINCIPAL, "kabir");
env.setProperty(Context.SECURITY_CREDENTIALS, "validpassword");
env.setProperty(Context.INITIAL_CONTEXT_FACTORY,"com.sun.appserv.naming.S1ASCtxFactory");
env.setProperty(Context.PROVIDER_URL,"iiop://127.0.0.1:3700");
env.setProperty("java.naming.factory.initial","com.sun.enterprise.naming.SerialInitContextFactory");
env.setProperty("java.naming.factory.url.pkgs","com.sun.enterprise.naming");
env.setProperty("java.naming.factory.state","com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
env.setProperty("org.omg.CORBA.ORBInitialHost", "127.0.0.1");
env.setProperty("org.omg.CORBA.ORBInitialPort", "3700");
InitialContext ctx = new InitialContext(env);
TSCalculator calculator = null;
try {
calculator = (TSCalculator) ctx.lookup(TSCalculator.class.getName());
} catch (Exception e) {
System.out.println ("Error in Lookup");
e.printStackTrace();
System.exit(1);
System.out.println("Kabir is a student.");
System.out.println("Kabir types in the wrong password");
try {
System.out.println("1 + 1 = " + calculator.add(1, 1));
} catch (EJBAccessException ex) {
System.out.println("Saw expected SecurityException: "
+ ex.getMessage());
System.out.println("Kabir types in correct password.");
System.out.println("Kabir does unchecked addition.");
// Re-establish the proxy with the correct security identity
env.setProperty(Context.SECURITY_CREDENTIALS, "validpassword");
ctx = new InitialContext(env);
calculator = (TSCalculator) ctx.lookup(TSCalculator.class.getName());
System.out.println("1 + 1 = " + calculator.add(1, 1));
System.out.println("Kabir is not a teacher so he cannot do division");
try {
calculator.divide(16, 4);
} catch (javax.ejb.EJBAccessException ex) {
System.out.println(ex.getMessage());
System.out.println("Students are allowed to do subtraction");
System.out.println("1 - 1 = " + calculator.subtract(1, 1));
}The user kabir is created in the server and this user belongs to the group student.
Also, I have enabled the "Default Principal To Role Mapping"
BTW, I'm able to run other EJB3 examples [that does'nt involve any
security features] without any problems.
Below is the ERROR
Error in Lookupjavax.naming.NamingException: ejb ref resolution error for remote business interfaceTransactionSecurity.bean.TSCalculator [Root exception is java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.handle_null_service_context(SecServerRequestInterceptor.java:407)
at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:429)
at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:627)
at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:530)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:406)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:224)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No]
at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:425)
at com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:74)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:403)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at TransactionSecurity.client.TSCalculatorClient.main(TSCalculatorClient.java:35)
Caused by: java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.handle_null_service_context(SecServerRequestInterceptor.java:407)
at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:429)
at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:627)
at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:530)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:406)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:224)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:277)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:205)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
at com.sun.ejb.codegen._GenericEJBHome_Generated_DynamicStub.create(com/sun/ejb/codegen/_GenericEJBHome_Generated_DynamicStub.java)
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:585)
at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:372)
... 5 more
Caused by: org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.handle_null_service_context(SecServerRequestInterceptor.java:407)
at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:429)
at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:627)
at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:530)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:406)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:224)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:913)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:131)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:685)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:472)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:363)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:219)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:192)
... 13 moreAny help is appreciated.
Regards!
Nithi.
Edited by: EJB3 on Aug 17, 2008 8:17 PM -
Not able to start the listener in oracle 10g after the domain name changed
Hi
I had installed the oracle 10g on zLinux. It was working fine( was able to mount the database and start the listener). Now my server's domain name got changed. So i have added the new domain name in the tnsnames.ora and listeners.ora file . now i could able to mount the databases but am not able to start the listener . whille starting the listener , am getting the following error
oracle@ptcr4d00:~> lsnrctl start
LSNRCTL for Linux: Version 10.2.0.2.0 - Production on 05-AUG-2009 10:31:05
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /opt/oracle/10g/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.2.0 - Production
System parameter file is /opt/oracle/10g/network/admin/listener.ora
Log messages written to /opt/oracle/10g/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PTCR4D00)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 104: Connection reset by peer
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PTCR4D00)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
I have posted the contents of the tnsnames.ora and listeners.ora
TNSNAMES.ORA
TC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = PTCR4D00)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TC)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
LISTENERS.ORA
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/10g)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = PTCR4D00)(PORT = 1521))
Could you please help me to resolve this issue ?
Regards
ManiHi
Please find the content of the /etc/hosts below
# IP-Address Full-Qualified-Hostname Short-Hostname
#127.0.0.1 localhost
9.124.114.49 PTCR4D00
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
9.124.114.49 PTCR4D00 PTCR4D00
Regards
Mani -
NOt able to start the listener..
After Indtalling oracle 11g .. i am not able to start the listener
dbstart $ORACLE_HOME
lsnrctl start
ORACLE_SID=orcl
export ORACLE_SID
lsnrctl start
[oracle@test1 bin]$ lsnrctl start
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 27-DEC-2012 15:35:36
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.1.0.6.0 - Production
System parameter file is /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/test1/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test1.com)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
Start Date 27-DEC-2012 15:35:37
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/test1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test1.com)(PORT=1521)))
**The listener supports no services**The command completed successfully
tried all posibalaties as here
Oracle 11g Listener Supports No services
Please help me beacuse of which my work is struck for whole day[oracle@test1 bin]$ ps -ef|grep tns
oracle 13498 11176 0 16:41 pts/5 00:00:00 grep tns
[oracle@test1 bin]$
[oracle@test1 bin]$ lsnrctl start
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 27-DEC-2012 16:41:08
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.1.0.6.0 - Production
System parameter file is /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/test1/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test1.com)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
Start Date 27-DEC-2012 16:41:10
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/test1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test1.com)(PORT=1521)))
The listener supports no services+The command completed successfully
[oracle@test1 bin]$
[oracle@test1 bin]$ echo $ORACLE_SID
orcl
[oracle@test1 bin]$ echo $ORACLE_HOME
/u01/app/oracle/product/11.1.0/db_1
[oracle@test1 bin]$
[oracle@test1 bin]$ -
Timeout or interrupted waiting Start server Sun Java System AppServer 8.1
Hi, i'm new in this.
I have Windows Xp SP2
when i try to start AppServer in NetBeans IDE 4.1, netbeans give me this error "Start server Sun Java System Application Server 8.1 timeout or interrupted"
I try to reinstall AppServer many times but nothing change.
this is the server.log:
[#|2006-01-30T17:49:50.406-0600|INFO|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|
C:/Archivos de programa/Java/jdk1.5.0_06\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=C:/buildTools/netbeans-4.1/SunAppServer8.1/domains/domain1/logs/server.log
-Djava.endorsed.dirs=C:/buildTools/netbeans-4.1/SunAppServer8.1/lib/endorsed
-Djava.security.policy=C:/buildTools/netbeans-4.1/SunAppServer8.1/domains/domain1/config/server.policy
-Djava.security.auth.login.config=C:/buildTools/netbeans-4.1/SunAppServer8.1/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=C:/buildTools/netbeans-4.1/SunAppServer8.1/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/buildTools/netbeans-4.1/SunAppServer8.1/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=C:/Archivos de programa/Java/jdk1.5.0_06/jre/lib/ext;C:/buildTools/netbeans-4.1/SunAppServer8.1/domains/domain1/lib/ext
-Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
-Dcom.sun.aas.configName=server-config
-Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
-Ddomain.name=domain1
-Djmx.invoke.getters=true
-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
-Dcom.sun.aas.promptForIdentity=true
-Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
-Dcom.sun.aas.instanceRoot=C:/buildTools/netbeans-4.1/SunAppServer8.1/domains/domain1
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
-Dcom.sun.aas.domainName=domain1
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dproduct.name=Sun-Java-System/Application-Server
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
-Dcom.sun.aas.configRoot=C:/buildTools/netbeans-4.1/SunAppServer8.1/config
-Djava.library.path=C:\Archivos de programa\Java\jdk1.5.0_06\jre\bin\client;C:\buildTools\netbeans-4.1\SunAppServer8.1\lib;C:\buildTools\netbeans-4.1\SunAppServer8.1\lib;C:\Archivos de programa\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\buildTools\netbeans-4.1\SunAppServer8.1\lib;C:\buildTools\netbeans-4.1\SunAppServer8.1\bin;C:\buildTools\netbeans-4.1\SunAppServer8.1\lib;C:\buildTools\netbeans-4.1\SunAppServer8.1\bin;C:\buildTools\netbeans-4.1\SunAppServer8.1\bin;C:\buildTools\netbeans-4.1\SunAppServer8.1\bin;C:\Archivos de programa\Archivos comunes\Borland Shared\BDE\;C:\Archivos de programa\Borland\BDS\3.0\Bin;C:\ARCHIV~1\Borland\CBUILD~1\Bin;C:\ARCHIV~1\Borland\CBUILD~1\Projects\Bpl;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\QuickTime\QTSystem\;c:\Archivos de programa\Microsoft SQL Server\90\Tools\binn\;C:\ARCHIV~1\ARCHIV~1\AUTODE~1;C:\buildTools\netbeans-4.1\SunAppServer8.1\bin
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
C:/Archivos de programa/Java/jdk1.5.0_06/lib/tools.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib/appserv-rt.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\activation.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\admin-cli.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\appserv-admin.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\appserv-cmp.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\appserv-ext.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\appserv-jstl.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\appserv-upgrade.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\commons-launcher.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\commons-logging.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\dom.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\j2ee-svc.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\j2ee.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\jax-qname.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\jaxr-api.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\jaxr-impl.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\jaxrpc-api.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\jaxrpc-impl.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\jmxremote.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\jmxremote_optional.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\jsf-api.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\jsf-impl.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\mail.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\relaxngDatatype.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\rmissl.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\saaj-api.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\saaj-impl.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\xalan.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\xercesImpl.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib\xsdlib.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib/install/applications/jmsra/imqjmsra.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/imq/lib/jaxm-api.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/imq/lib/fscontext.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/lib/ant/lib/ant.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/pointbase/lib/pbclient.jar;C:/buildTools/netbeans-4.1/SunAppServer8.1/pointbase/lib/pbembedded.jar
com.sun.enterprise.server.PEMain
start
display
native|#]
[#|2006-01-30T20:12:42.515-0600|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.jms|_ThreadID=10;|JMS5023: JMS service successfully started. Instance Name = imqbroker, Home = [C:\buildTools\netbeans-4.1\SunAppServer8.1\imq\bin].|#]
[#|2006-01-30T20:12:42.515-0600|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|CORE5098: AS Socket Service Initialization has been completed.|#]
[#|2006-01-30T20:12:42.921-0600|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]
[#|2006-01-30T20:12:43.015-0600|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
[#|2006-01-30T20:12:43.437-0600|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server server|#]
[#|2006-01-30T20:12:43.437-0600|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server __asadmin|#]
[#|2006-01-30T20:12:43.843-0600|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3700"|#]
[#|2006-01-30T20:12:44.031-0600|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3820"|#]
[#|2006-01-30T20:12:44.031-0600|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3920"|#]
[#|2006-01-30T20:12:44.609-0600|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]
Thanks for any help.I make some test and i try make a new domain with diferents port:
adminport: 6666
instanceport 7777
and now give me this error
-Port conflicts
-Incorrect server configuration (domain.xml to be corrected manually)
-Corrupted Deployed Applications preventing the server to starts
i think maibe is the configuration, someone now, how is correct configured? -
I just bought a new printer for my iMac version 10.7 Lion but I am able to install the software but for some reason I am not able to view the printer under system preferences to add the printer. It is connected with the USB cord!! It as if the printer does not show up in the add printer section under system prefernces!!
I checked the manufacturer and apple site to see if my printer is supprted and it said it was!! I am using the HP officedeskjet 4500 G510a-f (HP Officejet 4500 Desktop)!! Still does not show up under add printers please help!!
-
Not able to find the created BI System
Hi,
I have configured the BI System as in the document.
http://help.sap.com/saphelp_nwce10/helpdata/en/7e/6dbcea3700452195e3bddaa47c5906/frameset.htm
I am having few doubts.
1. Whether we need to choose only SAP system with load balancing template.
2. Whether we can set
BI Directory Provider: No
BI Master System: No
And also one more thing, I am using UIDPWD logon method. Whether there will any problem with this
I need clarifications on these.
Also after doing all these things i am not able to find the created BI System in VC.
When i test the same in Portal, it is saying the connection is successful..
Anyother step needs to be done, after this in configuration. Please let me know.
Please help me to resolve this issue.
Regards,
Palani
Edited by: Palani Appan on Sep 12, 2008 1:41 PMHi Inna,
Thanks for the reply.
But in Portal I have done the User Mapping between Portal Server and BI System.
I am using BI 3.5 System, Whether there will be any problem?
The BI Kit is already installed and i am able to view the components.
Still i am not able to get the System that i have created in portal into VC 7.1.
I am only getting Web Services created in that system and Service Registry and Visual Composer Models in Search Tab.
Whether we need to create a RFC destination also for this BI system?
Please help me to solve this issue.
Regards,
Palani
Edited by: Palani Appan on Sep 15, 2008 4:44 PM
Edited by: Palani Appan on Sep 16, 2008 9:42 AM -
Not able to Start the oracle db error "ORA-01031: insufficient privileges"
Hi experts,
I have oracle 11g setup on so solaris. i changed the db_cache_size
& processes values and stopped the DB services after that i am not able to start the oracle DB. Listener is running.
when i start the db server its giving the below error(startup.log)
./dbstart: Starting up database "orcl"
Mon Sep 27 04:31:08 MDT 2010
SQL*Plus: Release 11.1.0.7.0 - Production on Mon Sep 27 04:31:08 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
SQL> ERROR:
ORA-01031: insufficient privileges
SQL> ORA-01031: insufficient privileges
SQL>
./dbstart: Database instance "orcl" warm started.
Please help me to ressolve this issue.
Thanks
Krishnayes, password file is there in /etc/passwd
here are the contents:
root:x:0:0:Super-User:/:/sbin/sh
lroot:x:0:0:Super-User:/:/sbin/sh
daemon:x:1:1::/:
bin:x:2:2::/usr/bin:/bin/false
sys:x:3:3::/:
adm:x:4:4:Admin:/var/adm:/bin/false
lp:x:71:8:Line Printer Admin:/usr/spool/lp:/bin/false
uucp:x:5:5:uucp Admin:/usr/lib/uucp:/bin/false
nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico
listen:x:37:4:Network Admin:/usr/net/nls:/bin/false
nobody:x:60001:60001:Nobody:/:/bin/false
noaccess:x:60002:60002:No Access User:/:/bin/false
nobody4:x:65534:65534:SunOS 4.x Nobody:/:/bin/false
itunix:x:50000:14:IT Unix Account:/export/home/itunix:/bin/csh
hharika:x:765:38:Harpal Harika:/export/home/hharika:/bin/csh
prsingh:x:795:38:Pradeep Singh:/export/home/prsingh:/bin/csh
mmir:x:1229:21:Mir Monis Ali:/export/home/mmir:/bin/csh
bogunnai:x:1207:21:Bose Ogunnaike:/export/home/bogunnai:/bin/ksh
mpokala:x:2117:21:Mahesh Pokala:/export/home/mpokala:/bin/ksh
apopov:x:2385:38:Anton Popov:/export/home/apopov:/bin/csh
kkeith:x:2629:227:Kevin Keith:/home/kkeith:/usr/bin/ksh
sshd:x:22:22:SSH Privsep:/var/empty:/bin/false
patrol:x:2784:10:Patrol User:/opt/bmc:/usr/bin/ksh
smmsp:x:25:25:Sendmail Submission user:/none:/bin/false
ldap:x:50001:1002::/export/home/ldap:/bin/sh
perfuser:x:884:268::/export/home/perfuser:/bin/csh
webservd:x:80:80::/home/webservd:/bin/pfsh
oracle:x:156:40:Oracle Software Owner:/export/home/oracle:/bin/bash
perfuser_idc:x:64383:1::/home/perfuser_idc:/bin/sh
idc_perf:x:64384:292::/home/idc_perf:/bin/sh
Maybe you are looking for
-
Making slide show in Premiere Elements 7. Individual frames look good in monitor, but when I play it as a slideshow or movie, resolution goes to the devil. Is this serious? Is there a fix? Is there a way to play it so the resolution improves? (First
-
File not showing in Open Recent
I had a problem that I solved (sort of) with the disappearance of one Logic song file, it's bounces and backups, while the AAC still existed in iTunes. This was very strange as it occurred not an hour after I'd used the file, but as I said it has bee
-
For starters, this concerns an i7 2TB 4GB RAM 27 inch iMac: After loading over 10000 photos into iPhoto, the computer quit responding to wireless keyboard and magic mouse commands. After a hard reboot, the screen displays everything normally. It show
-
what must i do please help me there is no personal hotspot
-
Query displaying duplicate records
I have written a query to display materials having no purchasing group. Can any one plz tell me that why it is displaying duplicate results. Thanks aprr