Error connecting to PTG repo using service designer.
I am trying to login into my ptg repousing service designer but have problems.i have install 9ias on a different server and my db on server. this is the message i get back.
oracle.panama.pasm.PASMException: Exception creating connection to: ERIC; nested exception is:
java.net.SocketException: connect (code=10061)
at oracle.panama.pasm.ConnectAction.connect(ConnectAction.java:148)
at oracle.panama.pasm.PASM$1.windowOpened(PASM.java:439)
at java.awt.AWTEventMulticaster.windowOpened(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForComponent(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForComponent(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
oracle.panama.PanamaException: Exception creating connection to: ERIC; nested exception is:
java.net.SocketException: connect (code=10061)
oracle.panama.PanamaException: Exception creating connection to: ERIC; nested exception is:
java.net.SocketException: connect (code=10061)
at oracle.panama.core.rmi.client.RMIServer.createModelConnection(RMIServer.java:54)
at oracle.panama.pasm.ConnectAction.connect(ConnectAction.java:184)
at oracle.panama.pasm.ConnectAction.rmiConnect(ConnectAction.java:178)
at oracle.panama.pasm.ConnectAction.connect(ConnectAction.java:142)
at oracle.panama.pasm.PASM$1.windowOpened(PASM.java:439)
at java.awt.AWTEventMulticaster.windowOpened(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForComponent(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForComponent(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
java.rmi.ConnectIOException: Exception creating connection to: ERIC; nested exception is:
java.net.SocketException: connect (code=10061)
java.rmi.ConnectIOException: Exception creating connection to: ERIC; nested exception is:
java.net.SocketException: connect (code=10061)
java.net.SocketException: connect (code=10061)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at oracle.panama.core.rmi.client.RMIServer.createModelConnection(RMIServer.java:50)
at oracle.panama.pasm.ConnectAction.connect(ConnectAction.java:184)
at oracle.panama.pasm.C onnectAction.rmiConnect(ConnectAction.java:178)
at oracle.panama.pasm.ConnectAction.connect(ConnectAction.java:142)
at oracle.panama.pasm.PASM$1.windowOpened(PASM.java:439)
at java.awt.AWTEventMulticaster.windowOpened(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForComponent(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForComponent(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
some body help
thanks.
What is the connect string you are using to connect Service Designer, e.g. "Localhost"? See my reply to an earlier question in this forum.
Similar Messages
-
Issue while creating connection pool in weblogic using SERVICE NAME
Found two issues while creating connection pool in weblogic using SERVICE NAME
1. While running apps from jdeveloper using xxx-jdbc.xml
weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Io exception: The Network Adapter could not establish the connection
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
2. Configuriing the jndi in Weblogic server
weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:SERVICENAME
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
Problem
database url is generated based on SID
eg: jdbc:oracle:thin:@localhost:1521:SID
Solution
(generate seperate url for SERVICE NAME)
jdbc:oracle:thin:@localhost:1521/SERVICENAME
------------------------It is so clear: host not found error for network connection and the other SID servcie name not found means your oracle instance name is not up. check with srvctl status for given servcie name or node, else check CRS_Stat -t if you are using RAC.
-
How to connect the database (JDBC) using service name rather than SID
How should we make the connection to the database using service name. Initially, we are using the SID to make the database connection, with following setting in the data-source.xml in OC4J using ABCDB as the SID.
<data-sources>
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="jdbc/ABCDB"
location="jdbc/ABCDB"
pooled-location="jdbc/OracleDSPooled"
xa-location="jdbc/xa/OracleDSXA"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="ABC"
password="ABC"
url="jdbc:oracle:thin:@191.1.4.126:1521:ABCDB"
/>
</data-sources>
It work, but now we need to make the connection using this service name ABCSERVICE, but it doesn't work in the OC4J (JDBC). May I know how should we handle this connection?
Thanks and Regards,
PangFinally, I got the solution to make the database connection using service name, with putting the tnsname setting in URL portion.
url="jdbc:oracle:thin:@(description=(address=(host=191.1.4.126)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME = ABCSERVICE)))"
And now, it is working fine.
Regards,
Pang -
Error in mapping data fields using BODS Designer
HI All
I am trying to map the data from excel sheet to SAP ECC 5.0 using Business Objects data services Designer .
However after mapping the data Fields when i try to do the Validation It is giving me the error message :
u201D(Data Flow:New_data Flow) (Query:Query) FROM: The input schemas are not specified for <Query.Queryname >u201D
If anybody has experienced the same error in the past Please let me know how to resolve this error.
Thanks in AnticipationHello,
Please check your "From" tab whether it is having the input table name is there or not. also check the mapping tab it should gives you "Schema.field" format.
Kindly revert with your findings.
thx
Deep -
Error while executing webservice composed using service composer
Hello Experts,
We have composed a service using service composer DC by consuming PI soap interfaces.(SAP NW 7.4 SP07)
Composed Webservice works perfectly fine for some time then it throws folowing error when tested from wsnavigator -
any idea what could be the problem??
Thanks in advance..
PriyaTry not changing the schema names when creating the web services. And if you are changing it, make sure you change it everywhere required.
This error is thrown when the server can't find a specified schema class.
But if you mention that the service works fine for some time and later crashes, makes the scene a little fishy.
Please log on to http://<hostname>:<portnumber>/nwa/logs immediately after this failure occurs and check the logs for a detailed error trace. -
HELP with this error: "Connect to iTunes to use push notifications"
"connect to iTunes to use push notifications" myspace or facebook notifications may include alerts, sounds an icon badges"
I have an 3.1.2 iPhone 3G and everytime that I conected to my Mac and iTunes this message came up...
How Can I resolve this?
I'll appreciate any help.That message generally means you've jailbroken your phone. So, have you jailbroken your phone? My guess is the answer is yes since you're still on 3.1.2.
-
Error connecting to oracle DB using SAS 8.1
Hi,
I am using SAS 8.1(2005 Q1) and the oracle server is 9.2.0.1. I am trying to run a sample application given in the app server (jdbc-simple) and it's not connecting to the database.
I am using oracle thin driver.
I have created the jdbc connection pool named jdbc-pool too. Is there anything else I shud do? I am able to ping to the database using this connection pool but not able to run the application and getting http status 500 error with the following message:
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key exception
This is the server.log file:
[#|2005-08-22T13:04:45.356+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=11;|WEB0783: Error commiting response
java.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
at sun.nio.ch.IOUtil.write(IOUtil.java:75)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
at java.nio.channels.Channels.write(Channels.java:60)
at java.nio.channels.Channels.access$000(Channels.java:47)
at java.nio.channels.Channels$1.write(Channels.java:134)
at org.apache.coyote.http11.InternalOutputBuffer.commit(InternalOutputBuffer.java:602)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.action(ProcessorTask.java:749)
at org.apache.coyote.Response.action(Response.java:188)
at org.apache.coyote.Response.sendHeaders(Response.java:380)
at org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:357)
at org.apache.coyote.tomcat5.OutputBuffer.close(OutputBuffer.java:318)
at org.apache.coyote.tomcat5.CoyoteResponse.finishResponse(CoyoteResponse.java:496)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:188)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
|#]
[#|2005-08-22T13:05:34.432+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=12;|RAR6017 : Failed to get connection pool object via JNDI lookup : jdbc-pool|#]
[#|2005-08-22T13:07:39.704+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=13;|DPL5109: EJBC - START of EJBC for [jdbc-simple]|#]
[#|2005-08-22T13:07:39.724+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=13;|Processing beans ...|#]
[#|2005-08-22T13:07:39.814+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=13;|DPL5110: EJBC - END of EJBC for [jdbc-simple]|#]
[#|2005-08-22T13:07:41.707+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=13;|Total Deployment Time: 10042 msec, Total EJB Compiler Module Time: 110 msec, Portion spent EJB Compiling: 1%
Breakdown of EJBC Module Time: Total Time for EJBC: 110 msec, CMP Generation: 0 msec (0%), Java Compilation: 0 msec (0%), RMI Compilation: 0 msec (0%), JAX-RPC Generation: 50 msec (45%),
|#]
[#|2005-08-22T13:07:42.568+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=13;|deployed with moduleid = jdbc-simple|#]
[#|2005-08-22T13:07:43.459+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=14;|ADM1041:Sent the event to instance:[ApplicationDeployEvent -- reference-added jdbc-simple]|#]
[#|2005-08-22T13:07:43.669+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=14;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
[#|2005-08-22T13:07:43.759+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=14;|ADM1041:Sent the event to instance:[ApplicationDeployEvent -- deploy jdbc-simple]|#]
[#|2005-08-22T13:07:44.159+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=14;|Instantiated container for: ejbName: jdbc-simpleEJB; containerId: 73708094084546560|#]
[#|2005-08-22T13:07:44.430+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=14;|LDR5010: All ejb(s) of [jdbc-simple] loaded successfully!|#]
[#|2005-08-22T13:07:44.440+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=14;|WEB0100: Loading web module [jdbc-simple:jdbc-simple.war] in virtual server [server] at [/jdbc-simple]|#]
[#|2005-08-22T13:07:45.982+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=14;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
[#|2005-08-22T13:10:48.029+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
GreeterDBServlet is executing ...|#]
[#|2005-08-22T13:10:48.029+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
Retrieving JNDI initial context...|#]
[#|2005-08-22T13:10:48.049+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
- Retrieved initial context successfully|#]
[#|2005-08-22T13:10:48.049+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
Looking up dbGreeter bean home interface...|#]
[#|2005-08-22T13:10:48.049+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
- Looking up: java:comp/env/ejb/jdbc-simple|#]
[#|2005-08-22T13:10:48.169+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
- Looked up the EJB successfully|#]
[#|2005-08-22T13:10:48.179+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
Creating the dbGreeter bean...|#]
[#|2005-08-22T13:10:48.189+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
- Created EJB successfully |#]
[#|2005-08-22T13:10:48.189+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
Getting the message from the dbGreeter bean ...|#]
[#|2005-08-22T13:10:48.229+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@1cce278|#]
[#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@2848b1|#]
[#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@bc9c25|#]
[#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@af5e3c|#]
[#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@153e9cf|#]
[#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@1b16bd|#]
[#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@7210ec|#]
[#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@b4fa48|#]
[#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@19bcae1|#]
[#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@1249338|#]
[#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@3d787c|#]
[#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@1b12c9b|#]
[#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@e797db|#]
[#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@a2e5cc|#]
[#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@1a7a525|#]
[#|2005-08-22T13:10:48.249+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@52732d|#]
[#|2005-08-22T13:10:48.249+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@107939f|#]
[#|2005-08-22T13:10:48.249+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@6cdb70|#]
[#|2005-08-22T13:10:48.249+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@baa4a4|#]
[#|2005-08-22T13:10:48.249+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@18f22f3|#]
[#|2005-08-22T13:10:48.259+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@15ec870|#]
[#|2005-08-22T13:10:48.269+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
GreeterDB EJB is determining message...|#]
[#|2005-08-22T13:10:48.269+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
- Message determined successfully|#]
[#|2005-08-22T13:10:48.269+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
- Got this message from greeter bean: afternoon|#]
[#|2005-08-22T13:10:48.269+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
Getting the name input to this servlet...|#]
[#|2005-08-22T13:10:48.269+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
- Got name: gmfgmf|#]
[#|2005-08-22T13:10:48.269+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
Recording the greeting in the database...|#]
[#|2005-08-22T13:10:48.279+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
Getting datasource...|#]
[#|2005-08-22T13:10:48.279+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
- Got datasource successfully|#]
[#|2005-08-22T13:10:48.279+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
Getting connection...|#]
[#|2005-08-22T13:10:48.870+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=15;|RAR5038:Unexpected exception while creating resource|#]
[#|2005-08-22T13:10:48.870+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=15;|RAR5117 : Failed to obtain/create connection. Reason : Connection could not be allocated because: ORA-01017: invalid username/password; logon denied
|#]
[#|2005-08-22T13:10:48.870+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=15;|RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: Connection could not be allocated because: ORA-01017: invalid username/password; logon denied
]|#]
[#|2005-08-22T13:10:48.870+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
- Could not interact with the database|#]
[#|2005-08-22T13:10:48.880+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: ORA-01017: invalid username/password; logon denied
|#]
[#|2005-08-22T13:10:48.880+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
Storing the message in request object for the JSP...|#]
[#|2005-08-22T13:10:48.880+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
- Stored message successfully|#]
[#|2005-08-22T13:10:48.880+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
Dispatching JSP for output...|#]
[#|2005-08-22T13:11:48.408+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
GreeterDBView JSP is executing...|#]
[#|2005-08-22T13:11:48.408+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
GreeterDBView JSP is all done|#]
[#|2005-08-22T13:11:48.418+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
- Dispatched JSP successfully|#]
[#|2005-08-22T13:11:48.418+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
GreeterDBServlet is all done
|#]
[#|2005-08-22T13:11:53.283+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
GreeterDBServlet is executing ...|#]
[#|2005-08-22T13:11:53.283+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
Retrieving JNDI initial context|#]
[#|2005-08-22T13:11:53.293+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
- Retrieved initial context successfully|#]
[#|2005-08-22T13:11:53.293+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
Getting datasource...|#]
[#|2005-08-22T13:11:53.293+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
- Got datasource successfully|#]
[#|2005-08-22T13:11:53.293+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
Getting connection|#]
[#|2005-08-22T13:11:53.644+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=15;|RAR5038:Unexpected exception while creating resource|#]
[#|2005-08-22T13:11:53.644+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=15;|RAR5117 : Failed to obtain/create connection. Reason : Connection could not be allocated because: ORA-01017: invalid username/password; logon denied
|#]
[#|2005-08-22T13:11:53.664+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=15;|RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: Connection could not be allocated because: ORA-01017: invalid username/password; logon denied
]|#]
[#|2005-08-22T13:11:53.664+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
- Could not interact with the database|#]
[#|2005-08-22T13:11:53.674+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=15;|StandardWrapperValve[GreeterDBLogDisplayServlet]: Servlet.service() for servlet GreeterDBLogDisplayServlet threw exception
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key exception
at java.util.ResourceBundle.getObject(ResourceBundle.java:326)
at java.util.ResourceBundle.getString(ResourceBundle.java:286)
at samples.jdbc.simple.servlet.GreeterDBLogDisplayServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
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.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
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.StandardEngineValve.invoke(StandardEngineValve.java:132)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
|#]
[#|2005-08-22T13:14:00.758+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop. Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components. |#]
[#|2005-08-22T13:14:00.948+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|
D:/j2eesdk-1_4_02/jdk\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=D:/j2eesdk-1_4_02/domains/domain1/logs/server.log
-Dcom.sun.aas.verboseMode=true
-Djava.endorsed.dirs=D:/j2eesdk-1_4_02/lib/endorsed
-Djava.security.policy=D:/j2eesdk-1_4_02/domains/domain1/config/server.policy
-Djava.security.auth.login.config=D:/j2eesdk-1_4_02/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=D:/j2eesdk-1_4_02/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=D:/j2eesdk-1_4_02/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=D:/j2eesdk-1_4_02/jdk/jre/lib/ext;D:/j2eesdk-1_4_02/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=
-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=D:/j2eesdk-1_4_02/domains/domain1
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
-Dcom.sun.aas.domainName=
-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=D:/j2eesdk-1_4_02/config
-Djava.library.path=D:\j2eesdk-1_4_02\lib;D:\j2eesdk-1_4_02\lib;D:\j2eesdk-1_4_02\jdk\bin;.;C:\WINNT\system32;C:\WINNT;D:\j2eesdk-1_4_02\lib;D:\j2eesdk-1_4_02\bin;D:\j2eesdk-1_4_02\bin;D:\j2eesdk-1_4_02\bin;D:\oracle\ora81\lib;C:\j2sdk1.4.2_08\bin;D:\oracle\ora81\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\Program Files\Oracle\jre\bin;c:\winnt;c:\winnt\system32;D:/j2eesdk-1_4_02/jdk/bin;D:/j2eesdk-1_4_02/lib;D:/j2eesdk-1_4_02/lib/locale;D:/JBuilder7/lib/bes;D:/j2eesdk-1_4_02/imq/lib/imqxm.jar;D:\j2eesdk-1_4_02\bin;D:/j2eesdk-1_4_02/bin
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
D:/j2eesdk-1_4_02/jdk/lib/tools.jar;D:/j2eesdk-1_4_02/lib/appserv-rt.jar;D:/j2eesdk-1_4_02/lib\activation.jar;D:/j2eesdk-1_4_02/lib\admin-cli.jar;D:/j2eesdk-1_4_02/lib\appserv-admin.jar;D:/j2eesdk-1_4_02/lib\appserv-cmp.jar;D:/j2eesdk-1_4_02/lib\appserv-ext.jar;D:/j2eesdk-1_4_02/lib\appserv-jstl.jar;D:/j2eesdk-1_4_02/lib\appserv-upgrade.jar;D:/j2eesdk-1_4_02/lib\commons-launcher.jar;D:/j2eesdk-1_4_02/lib\commons-logging.jar;D:/j2eesdk-1_4_02/lib\dom.jar;D:/j2eesdk-1_4_02/lib\j2ee-svc.jar;D:/j2eesdk-1_4_02/lib\j2ee.jar;D:/j2eesdk-1_4_02/lib\jax-qname.jar;D:/j2eesdk-1_4_02/lib\jaxr-api.jar;D:/j2eesdk-1_4_02/lib\jaxr-impl.jar;D:/j2eesdk-1_4_02/lib\jaxrpc-api.jar;D:/j2eesdk-1_4_02/lib\jaxrpc-impl.jar;D:/j2eesdk-1_4_02/lib\jmxremote.jar;D:/j2eesdk-1_4_02/lib\jmxremote_optional.jar;D:/j2eesdk-1_4_02/lib\jsf-api.jar;D:/j2eesdk-1_4_02/lib\jsf-impl.jar;D:/j2eesdk-1_4_02/lib\mail.jar;D:/j2eesdk-1_4_02/lib\relaxngDatatype.jar;D:/j2eesdk-1_4_02/lib\rmissl.jar;D:/j2eesdk-1_4_02/lib\saaj-api.jar;D:/j2eesdk-1_4_02/lib\saaj-impl.jar;D:/j2eesdk-1_4_02/lib\xalan.jar;D:/j2eesdk-1_4_02/lib\xercesImpl.jar;D:/j2eesdk-1_4_02/lib\xsdlib.jar;D:/j2eesdk-1_4_02/lib/install/applications/jmsra/imqjmsra.jar;D:/j2eesdk-1_4_02/imq/lib/jaxm-api.jar;D:/j2eesdk-1_4_02/imq/lib/fscontext.jar;D:/j2eesdk-1_4_02/lib/ant/lib/ant.jar;D:/j2eesdk-1_4_02/pointbase/lib/pbclient.jar;D:/j2eesdk-1_4_02/pointbase/lib/pbembedded.jar;${oracle.jdbc.lib.class.path}/ojdbc14.jar;${oracle.jdbc.lib.class.path}/ojdbc14_g.jar;${oracle.jdbc.lib.class.path}/ocrs12.zip
com.sun.enterprise.server.PEMain
stop
verbose|#]Cud someone tell me why am I getting this error?
Regards,
shipf1Other solution:
on refresh period, default value is 1 minute, force this value at 0 and your connection
is ok.
Eric
Joseph Weinstein <[email protected]> wrote:
Redo the pool definition, and set 'test connection on reserve'. Don't
set 'test connections on release', and leave refresh minutes alone.
add a test table. DUAL is perfect for that. Everything else seems
fine.
Joe
Rafid wrote:
I am getting this error when I try to make a connection to an Oracle817DB.
I am using Oracles drviers (classes12.zip)
<Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Cannot startup connectionpool
"genPool" Test table must be specifed for genPool with 'test connectionon
reserve' or 'test connection on release' or 'refresh minutes' set higher
than 0.>
<Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Creating TX Data Sourcenamed
weblogic.jdbc.jts.genPool for pool genPool>
<Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Checking existence of connection
pool genPool requested by user system>
<Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Error during Data Source
creation: weblogic.common.ResourceException:
DataSource(weblogic.jdbc.jts.genPool) can't be created with non-existent
Pool (connection or multi) (genPool)>
I have created a connction pool called genPool,
set the URL :jdbc:oracle:thin:@genoracle:1521:GENORANY
driver class name = oracle.jdbc.driver.OracleDriver
Properties:
user=name ** where name is user
password=xx **where xx is password
dll=ocijdbc8
protocol=thin
I created the Tx Data Sources with
name = weblogic.jdbc.jts.genPool
jndi = weblogic.jdbc.jts.genPool
poolname = genPool
Can anyone help me through this, it would be a great help
Rafid Wahab -
Error connecting to MySQL database using JNDI
Hi,
I'm trying to do a simple connection to a MySQL database using the JNDI look-up
method.
Have tried this with the PointBase database that came with WebLogic and got it
to work successfully.
However got the attached error message when I tried it on MySQL database. I tried
this with both the WebLogic's driver for MySQL and also the one I downloaded from
MySQL (com.mysql.jdbc.Driver), and both failed with the same error message.
Offhand, it doesn't look like the connection pool is failing. Tested it with WebLogic's
"Test Pool" function and it was alright.
Also MySQL database is working properly. Test this by doing simple connection
and retrieval with simple JDBC connections and it works.
Any ideas what else I can check with regards to this problem?
Thanks!
[att1.html]Hi Joe,
Attached is the config.xml for the domain that I'm working with. There are 3 connection
pools set-up.
The problematic Connection Pools are "MySQLCP" and "My JDBC Connection Pool"
Thanks for your help in this!
Joe Weinstein <[email protected]> wrote:
show us the pool definition, as it is in the config.xml file.
thanks
joe
Everbright wrote:
Hi,
I'm trying to do a simple connection to a MySQL database using theJNDI look-up
method.
Have tried this with the PointBase database that came with WebLogicand got it
to work successfully.
However got the attached error message when I tried it on MySQL database.I tried
this with both the WebLogic's driver for MySQL and also the one I downloadedfrom
MySQL (com.mysql.jdbc.Driver), and both failed with the same errormessage.
Offhand, it doesn't look like the connection pool is failing. Testedit with WebLogic's
"Test Pool" function and it was alright.
Also MySQL database is working properly. Test this by doing simpleconnection
and retrieval with simple JDBC connections and it works.
Any ideas what else I can check with regards to this problem?
Thanks!
Error 500--Internal Server Error
java.sql.SQLException: Cannot obtain connection: driverURL = jdbc:weblogic:pool:MyJDBCConnection Pool, props = {enableTwoPhaseCommit=false, jdbcTxDataSource=true,
connectionPoolID=MyJDBC Connection Pool, dataSourceName=MyJDBC Data
Source}.
Nested Exception: java.lang.RuntimeException: Failed to Generate WrapperClass
at weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java:141)
at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:73)
at weblogic.jdbc.pool.Driver.allocateConnection(Driver.java:242)
at weblogic.jdbc.pool.Driver.connect(Driver.java:158)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:444)
at weblogic.jdbc.jts.Driver.connect(Driver.java:138)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:298)
at jsp_servlet.__index._jspService(__index.java:142)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6310)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
at weblogic.jdbc.jts.Driver.wrapAndThrowSQLException(Driver.java:395)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:448)
at weblogic.jdbc.jts.Driver.connect(Driver.java:138)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:298)
at jsp_servlet.__index._jspService(__index.java:142)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6310)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
[config.xml] -
ORA-12514 when trying to connect to the database using SERVICE
Hi,
Version 10204
In a single instance database i would like to create new SERVICEs in order to use them later with Resource Manager.
The instance name is DWH.
I run the following commands:
I added to the tnsnames.ora file the following input:
XYZ =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XYZ)
As SYSDBA i execute:
> exec DBMS_SERVICE.CREATE_SERVICE('xyz','xyz');
PL/SQL procedure successfully completed.
> exec DBMS_SERVICE.START_SERVICE('xyz');
PL/SQL procedure successfully completed.
But when i tried to connect to the instance:
sqlplus ac/ac@xyzSQL*Plus: Release 10.2.0.4.0 - Production on Sat Nov 1 14:44:43 2008
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
When i am trying to connect , not via the service , its successed:
sqlplus ac/ac@dwh
SQL*Plus: Release 10.2.0.4.0 - Production on Sat Nov 1 14:45:07 2008
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Could you please help to understand why its failed to connect via SERVICE ?
ThanksYou told us.
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
I ask some questions, you set alias for listener port (no default) + local_listener parameter, don't you?
If you did....
Please check by .....
lsnrctl status
lsnrctl service
Let me show my example:
About 1522 (no default port)
SQL> show parameter local_listener
NAME TYPE VALUE
local_listener string ALIASLISTENER
- check tnsnames.ora file in the same location listener.ora file.
$ cat tnsnames.ora
ALIASLISTENER=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost )(PORT = 1522))
- About create new service
SQL> show parameter service_names
NAME TYPE VALUE
service_names string db
SQL> exec DBMS_SERVICE.CREATE_SERVICE('xyz','xyz');
PL/SQL procedure successfully completed.
SQL> exec DBMS_SERVICE.START_SERVICE('xyz');
PL/SQL procedure successfully completed.
SQL> show parameter service_names
NAME TYPE VALUE
service_names string xyz
$ lsnrctl status
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 02-NOV-2008 03:29:21
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
Start Date 02-NOV-2008 03:28:45
Uptime 0 days 0 hr. 0 min. 36 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File ORACLE_HOME/network/admin/listener.ora
Listener Log File ORACLE_HOME/log/diag/tnslsnr/hostname/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=1522)))
Services Summary...
Service "db" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Service "db2XDB" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Service "db_XPT" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Service "xyz" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
$ lsnrctl service
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 02-NOV-2008 03:29:40
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1522)))
Services Summary...
Service "db" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "db2XDB" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:972 state:ready
DISPATCHER <machine: hostname, pid: 30200>
(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=45572))
Service "db_XPT" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "xyz" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully -
Error connection with SAPRouter of RAC Service
Good Morning Experts, I propose my scenario.
I use RAC Service to connect with ICC test System. I must test XI-Content for NW-XI-CNT certification.
I have to use SAPGUI for Java to configure NX7 System and backend system.
My laptop is in lan that is protected by Firewall.
I've installed SAPRouter 7.00 (NI=38 - Version=10), I've done some test of connection and all is correct!
RAC Support had sended credentials of systems and SAProuter String.
This string is "/H/[your_server]/S/[your_port]/H/155.56.49.28/H/";
your_server = this is a private ip of server with my SAPRouter, when i execute an connection attempt this ip is changed with official public ip of my company;
your_port = is default 3299 (like recommendation) ;
if use this string via SAPGUI, this error is generated:
java.lang.Exception: Error: hostname ' ' unknown
Location: SAProuter 39.1 (SP3) on 'ld8360'
Wed May 6 16:49:41 2009
Release 710
Component NI (network interface), version 39
rc = -93, module nixxhsl.cpp, line 233
Detail NiHsLGetNodeAddr: hostname cached as unknown
at: com.sap.platin.r3.protocol.ni.GuiNiNetConnection.processOpenRequest(GuiNiNetConnection.java:329)
at: com.sap.platin.r3.protocol.ni.GuiNiNetConnection.handleOpenRequest(GuiNiNetConnection.java:158)
at: com.sap.platin.base.connection.GuiConnection.processCreateReply(GuiConnection.java:508)
at: com.sap.platin.base.connection.GuiConnection.handleCreateReply(GuiConnection.java:480)
at: com.sap.platin.r3.protocol.ni.GuiNiNetConnection.handleCreateRequest(GuiNiNetConnection.java:148)
at: com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:351)
at: com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:798)
at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:838)
at: com.sap.platin.base.logon.util.SystemList$SymListener.mouseClicked(SystemList.java:1199)
at: java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at: java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at: java.awt.Component.processMouseEvent(Unknown Source)
at: javax.swing.JComponent.processMouseEvent(Unknown Source)
at: java.awt.Component.processEvent(Unknown Source)
at: java.awt.Container.processEvent(Unknown Source)
at: java.awt.Component.dispatchEventImpl(Unknown Source)
at: java.awt.Container.dispatchEventImpl(Unknown Source)
at: java.awt.Component.dispatchEvent(Unknown Source)
at: java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at: java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at: java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at: java.awt.Container.dispatchEventImpl(Unknown Source)
at: java.awt.Window.dispatchEventImpl(Unknown Source)
at: java.awt.Component.dispatchEvent(Unknown Source)
at: java.awt.EventQueue.dispatchEvent(Unknown Source)
at: com.sap.platin.micro.event.GuiEventQueue.dispatchEvent(GuiEventQueue.java:73)
at: java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at: java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at: java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at: java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at: java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at: java.awt.EventDispatchThread.run(Unknown Source)
I've debugged connection attempt, my request is arrived to SAPRouter of RAC Service.
In other connection attempt I've appended information of NX7 server to SAProuter string.
SAProuter string: "/H/[your_server]/S/[your_port]/H/155.56.49.28/H/[server_nx7]".
I saw this error:
java.lang.Exception: Error: ld8360: route permission denied ([my_public_ip] to [server_nx7], sapdp00)
Location: SAProuter 39.1 (SP3) on 'ld8360'
Wed May 6 17:02:06 2009
Release 710
Component NI (network interface), version 39
rc = -93,
at: com.sap.platin.r3.protocol.ni.GuiNiNetConnection.processOpenRequest(GuiNiNetConnection.java:329)
at: com.sap.platin.r3.protocol.ni.GuiNiNetConnection.handleOpenRequest(GuiNiNetConnection.java:158)
at: com.sap.platin.base.connection.GuiConnection.processCreateReply(GuiConnection.java:508)
Can someone give me some advice?
Edited by: m.genova on May 6, 2009 6:06 PMI've resolved the problem, the key of problem is SAProuter String.
SAPRouter String is used only for routing phase.
It needs aappend another string to SAPRouter String to connect with AS or Exchange infastructure correctly.
Complete String = SAPRouter String + "[server]/S/32[SystemNumber]"
in case of connection with nx7 system:
"/H/[your_server]/S/[your_port]/H/155.56.49.28/H/[server_nx7]/S/32[SystemNumberNX7]".
Bye
Edited by: m.genova on May 7, 2009 12:18 AM -
Simple ODBC connections to LC forms using LC Designer
This tutorials demonstrates how to setup and connect to an MS Access Database using Adobe LiveCycle Designer.
Great video.
I've successfully established a connection to an Access database and all is working well with the form.
However, I noticed that whenever the form is opened (and after approving the connection), it immediately populates the form with data from the first table record. Is there a way to stop this from happening? Reason being, I’d like to use this process for completing “blank” forms and simply pushing the data to the database. At present, I’m not really interested in “reading” records and populating the form.
So basically, I want to be able to open a balnk version of the form, complete it (and even perform incremental saves and the form maaintinas where I last left off - typical scenario), and only “Add” a new record to the database when the form is completed.
Other misc. questions:
- This is a local (offline) solution correct? Meaning, the user doesn’t need to be online since the data connection is a direct connection to the Access database, correct? If so, does the Access DB need to be actively running on the local machine in order for the form to push/update data in the table/record?
- Is there anything special when working with logic-based dynamic forms with hidden subforms? So, let’s say a subform group with 5 fields remains hidden until a user select “yes” to a particular question. I presume I can still establish data binding to those hidden fields correct?
- By establishing a direct connection to Access and creating the field names in Access, is there no longer a need to embed a schema in LC Designer - since the the structure comes straight from the database?
- Is there any help material in regards to performing a lookup function (i.e. using a field as the lookup variable).
Thanks in advance.
Shaun -
Error connecting SAP BW System using EP6.0
Hi All
I am trying to connect EP6.0 with SAP BW 3.1, using ITS.
I have created a 'system' in portal and my ITS test connection is successful. I chose 'SAP BW' as sytem instead of SAP R/3.
When I try to preview/access an iView which internally execute BW workbook, I am getting following error. Can anyone please guide me the possible solutions. As this is urgent, please provide help.
Sapgui 640 error window with the following message:
connection to partner broken
Time Wed Dec 12 16:15:03 2005
Component NI(Network interface)
Release 640
Version 37
Module ninti.c
Line 756
Method NiPRead(192.168.64.103/3320, hdl 1)
Return Code -6
System Call recv
Counter 1Hi,
let me try to sort this out.
You want to use an ITS against a BW system using a SAP GUI for HTML. If you use the system type SAP R/3 everything is OK but if you use the system type SAP BW it doesn't work and you get a error message from your SAP GUI for Windows.
I'm not much aware of this but for me it looks like the portals iview is trying to use your SAP GUI for Windows to connect to your BW System (which is, as far as I understood, not what you intended).
If all my assumtions above are correct you should create a ITS iview (SAP IAC iView) against your BW system and everything should be OK then.
Regards Ralph -
Error connecting SAP BW System using EP 6.0
Hi All
I am trying to connect EP6.0 with SAP BW 3.1, using ITS.
I have created a 'system' in portal and my ITS test connection is successful. I chose 'SAP BW' as sytem instead of SAP R/3.
When I try to preview/access an iView which internally execute BW workbook, I am getting following error. Can anyone please guide me the possible solutions. As this is urgent, please provide help.
Sapgui 640 error window with the following message:
connection to partner broken
Time Wed Dec 12 16:15:03 2005
Component NI(Network interface)
Release 640
Version 37
Module ninti.c
Line 756
Method NiPRead(192.168.64.103/3320, hdl 1)
Return Code -6
System Call recv
Counter 1Hi,
Any reason why want to connect to BW from EP through ITS.
I think you can directlty connect to BW from EP.
These links should be of some help
http://help.sap.com/saphelp_nw04/helpdata/en/a9/76bd3b57743b09e10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/33/39fa40ee14f26fe10000000a1550b0/frameset.htm
Thanks
Senthil
P.S: Rewards Points for useful/helpful answers -
Error occured while opening SAP Data services designer - license error
Hi When i open sap data services , error has been attached. I followed note-1826666 , but it didnt work. I was following note - 1812861 , but not able to understand where i can find directory WOW64 and what exactly to be copied as per first point. Not able to understand its 2nd point also that says - "Add it to the properties mask of the cluster node configuration under the registry section" Our BO DS has operating system windows server 2008 R2 enterprise. Kindly advice hw to proceed.
Go to the License Manager and Update your BODS license. When you are opening the BODS you will able to get the version.
Log on to the CMC then click on the Help and then about, you will get the total information.
Thanks and Regards
Joydip. -
Error in Dynamic Data display using Visual Design in ADF Richclient Demo
Hi,
I am using JDeveloper Studio Edition Version 11.1.1.1.0 with build Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407
I have found a reference to this ADF faces richclient demo on the following link:
http://jdevadf.oracle.com/adf-richclient-demo/faces/visualDesigns/index.jspx?_afrLoop=2181068810216756#%2FvisualDesigns%2Fdashboard.jspx%40
I downloaded the WAR file and deployed in the server and running smoothly. But when I added, for example, EmployeesView1, by drag and drop from datacontrol,
on one of the panels (.jsff page) and ran the application. Now its throwing an exception like:
javax.el.PropertyNotFoundException: Target Unreachable, identifier 'bindings' resolved to null
Can any guru shed the light on this and help me out?
Looking forward to any replies.
Thanks in advance.
Yadava RaoHi,
My faces project is having the following libraries under WEB-INF/lib folder:
adflogginghandler-JDEVADF_MAIN_GENERIC_070917.1906.4699.jar
adf-richclient-api-11-r1-SNAPSHOT.jar
adf-richclient-impl-11-r1-SNAPSHOT.jar
adfsharebase-JDEVADF_MAIN_GENERIC_070917.1906.4699.jar
adfshare-JDEVADF_MAIN_GENERIC_070917.1906.4699.jar
commons-beanutils-1.6.jar
commons-lang-2.1.jar
dms-11.1.1.jar
indexer-080909.1801.375.jar
jsf-facelets-1.1.11.jar
trinidad-api-1.2.11.1-SNAPSHOT.jar
trinidad-api-1.2.11.1-SNAPSHOT-sources.jar
trinidad-impl-1.2.11.1-SNAPSHOT.jar
xercesImpl-2.6.2.jar
xmlparserv2-11.1.1.JM7_4119.jar
Apart from this, my model project contains the following libraries (shows in Project Properties):
ADF Model Runtime
BC4J Oracle Domains
BC4J Runtime
BC4J Security
BC4J Tester
MDS Runtime
MDS Runtime Dependencies
Oracle JDBC
So, please suggest me if something is missing apart from these.
Appreciate your help or a soultion to get the data from databse in jsff page of dashboard visual design in adf-richclient-demo.
Thanks
Maybe you are looking for
-
Songs imported from CD not displaying in song list
I tried to import songs from three different CDs. The first and third were fine, but the second CD imported, but doesn't display the songs imported in the list of all songs, although they are playing. I tried re-importing and it asks do I want to ove
-
Calling the selection screen of the calling program after the execution of
Hi all, I had created a program for a purchase order display. It has three radio-buttons from where i am calling different programs. I am using submit in the calling program and get parameter in at selection-screen output of the called program. I am
-
NCS - Disk volume 'optvol' more than 50% used.
Hi, I recently installed NCS and have received a major alert stating the following: "NCS disk volume 'optvol' is above the recommended disk usage, more than '50'% used" The VM was created from the NCS OVA file and I only have one 2500 controller in N
-
IF YOU USE ORACLE'S OCI DRIVER...
Hi. Pardon the shouting. BEA wants to know how to support you as well as possible. Right now, we want to know of customers who are using Oracle's JDBC driver (not ours), and using it in the type-2 OCI mode, not as the th
-
I'm working in Acrobat 11.0.6. I worked on editing 196 page pdf document over the past few days. Saving it each time I finish. Today I tried to open the file using "recent files". The name of the file shows up, but when I click on it a get an err