Application server 9.0 with mysql
Hello!
I'm using glassfish with application server 9.0 and i want to connect with mysql.
My settings are:
datasource classname: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
resource type: javax.sql.connectionpoolDataSource
ARE OK?
I use mysql connector 3.1.13, 5.0.2 or 3.1.13? which is correct?
Thanks
Hi,
Please take a look at the following blog which talks about using mysql with Glassfish:
http://weblogs.java.net/blog/amyroh/archive/2006/02/roller_21_on_gl_1.html
In this example the driver that she uses is sql-connector-java-3.1.12-bin.jar
Also, she uses the following:
datasource-classname="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource"
which is slightly different to the one that you are using... maybe you should try this....
Also, please take a look at the three furum posts already raised on similar issues to this:
http://forum.sun.com/jive/thread.jspa?threadID=102999
Hope this helps
Similar Messages
-
Oracle Application Server 10g R3 with patch set 10.1.3.5.0
Hi All,
Can anyone help me on this, When I install Oracle Application Server 10g Release 3 (10.1.3.1.0) and patch set 10.1.3.5.0 on Linux. I am not able to find forms and reports container.
This version doesn't support forms and reports or I have go OAS 10g R2 (10.1.2.0.2) with patch set 3 (10.1.2.3.0). What is the difference between these two releases.
Please help me.
Regards,Hi James,
1)Yes it supports IE 8 .Please review the below link for certification details on browers :-
http://www.oracle.com/technetwork/middleware/ias/downloads/as-certification-r2-101202-095871.html#BAJGCBEA
Note: Oracle Application Server supports only those browsers.
2)Forms only support Windows 7 32 bit only.
Please refer to the note:1292919.1 "Certification of Oracle Developer Suite 10g (10.1.2) on Windows 7 (32-bit)"
3)Could you provide more information of JVM because when you install 10gR2 it has JDK and JRE present in it.
Regards,
Prakash. -
Configuring IdM7.1 on SJS application server 8.2 using Mysql DataSource
Hi all
i tried to configure MysqlDatasource on Sun Application server EE 8.2.The operating system is Solaris10. i am able to successfully create the connection pool and JDBC datasource (jdbc/trialdb) but when i ran the command
lh setRepo -v -tDatastore
-icom.sun.enterprise.naming.SerialInitContextFactory -fjdbc/trialdb
-uiiop://localhost:3306
it gives me the following exceptions/errors
Defaulting administrator to 'configurator'.
Defaulting credentials to 'configurator'.
Checking 'RelationalDataStore:jdbc/trialdb'...
java.io.FileNotFoundException: /psegApp/opt/SUNWappserver/appserver/config/secur
ity.properties (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:42
at com.sun.enterprise.iiop.POAEJBORB.<clinit>(POAEJBORB.java:78)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.omg.CORBA.ORB.create_impl(ORB.java:295)
at org.omg.CORBA.ORB.init(ORB.java:336)
at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:138)
at com.sun.enterprise.util.ORBManager.init(ORBManager.java:65)
at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitC
ontextFactory.java:31)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
54)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.waveset.util.JdbcUtil.getDataSourceObject(JdbcUtil.java:571)
at com.waveset.repository.RelationalDataStore.setupJdbc(RelationalDataSt
ore.java:3834)
at com.waveset.repository.RelationalDataStore.init(RelationalDataStore.j
ava:3779)
at com.waveset.install.RepoMan.check(RepoMan.java:1194)
at com.waveset.install.RepoMan.setRepo(RepoMan.java:1082)
at com.waveset.install.RepoMan.main(RepoMan.java:1314)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.waveset.util.CommandProcess.invokeMain(CommandProcess.java:212)
at com.waveset.util.CommandProcess.launch(CommandProcess.java:162)
at com.waveset.util.CommandProcess.run(CommandProcess.java:300)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.waveset.util.Command.main(Command.java:117)
java.io.FileNotFoundException: /psegApp/opt/SUNWappserver/appserver/config/ejb.p
roperties (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:42
at com.sun.enterprise.iiop.J2EEInitializer.<init>(J2EEInitializer.java:5
4)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.corba.ee.internal.Interceptors.PIORB.registerORBInitializers(
PIORB.java:377)
at com.sun.corba.ee.internal.Interceptors.PIORB.parseProperties(PIORB.ja
va:347)
at com.sun.corba.ee.internal.TxPOA.TxPIORB.parseProperties(TxPIORB.java:
116)
at com.sun.corba.ee.internal.corba.ORB.set_parameters(ORB.java:461)
at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:156)
at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.jav
a:336)
at org.omg.CORBA.ORB.init(ORB.java:337)
at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:138)
at com.sun.enterprise.util.ORBManager.init(ORBManager.java:65)
at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitC
ontextFactory.java:31)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
54)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.waveset.util.JdbcUtil.getDataSourceObject(JdbcUtil.java:571)
at com.waveset.repository.RelationalDataStore.setupJdbc(RelationalDataSt
ore.java:3834)
at com.waveset.repository.RelationalDataStore.init(RelationalDataStore.j
ava:3779)
at com.waveset.install.RepoMan.check(RepoMan.java:1194)
at com.waveset.install.RepoMan.setRepo(RepoMan.java:1082)
at com.waveset.install.RepoMan.main(RepoMan.java:1314)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.waveset.util.CommandProcess.invokeMain(CommandProcess.java:212)
at com.waveset.util.CommandProcess.launch(CommandProcess.java:162)
at com.waveset.util.CommandProcess.run(CommandProcess.java:300)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.waveset.util.Command.main(Command.java:117)
Warning: unable to read transaction.interoperability config property
java.io.FileNotFoundException: /psegApp/opt/SUNWappserver/appserver/config/secur
ity.properties (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:42
at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<clinit>(S
ecurityMechanismSelector.java:102)
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLS
ocketFactory.java:211)
at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(Connecti
onTable.java:73)
at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(Connecti
onTable.java:68)
at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:7
0)
at com.sun.corba.ee.internal.corba.InitialNamingClient.locateObject(Init
ialNamingClient.java:769)
at com.sun.corba.ee.internal.corba.InitialNamingClient.getIORUsingHostIn
fo(InitialNamingClient.java:597)
at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveCorbaloc(I
nitialNamingClient.java:573)
at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingORBIn
itRef(InitialNamingClient.java:544)
at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialRefe
rences(InitialNamingClient.java:1080)
at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_r
eferences(InitialNamingClient.java:981)
at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.ja
va:2425)
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
a:52)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.waveset.util.JdbcUtil.getDataSourceObject(JdbcUtil.java:583)
at com.waveset.repository.RelationalDataStore.setupJdbc(RelationalDataSt
ore.java:3834)
at com.waveset.repository.RelationalDataStore.init(RelationalDataStore.j
ava:3779)
at com.waveset.install.RepoMan.check(RepoMan.java:1194)
at com.waveset.install.RepoMan.setRepo(RepoMan.java:1082)
at com.waveset.install.RepoMan.main(RepoMan.java:1314)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.waveset.util.CommandProcess.invokeMain(CommandProcess.java:212)
at com.waveset.util.CommandProcess.launch(CommandProcess.java:162)
at com.waveset.util.CommandProcess.run(CommandProcess.java:300)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.waveset.util.Command.main(Command.java:117)
javax.naming.CommunicationException: Can't find SerialContextProvider
Failed to load JDBC DataSource 'jdbc/trialdb':
==> javax.naming.CommunicationException: Can't find SerialContextProvider
com.waveset.util.ConfigurationError: Failed to load JDBC DataSource 'jdbc/triald
b':
==> javax.naming.CommunicationException: Can't find SerialContextProvider
at com.waveset.util.JdbcUtil.getDataSourceObject(JdbcUtil.java:610)
at com.waveset.repository.RelationalDataStore.setupJdbc(RelationalDataSt
ore.java:3834)
at com.waveset.repository.RelationalDataStore.init(RelationalDataStore.j
ava:3779)
at com.waveset.install.RepoMan.check(RepoMan.java:1194)
at com.waveset.install.RepoMan.setRepo(RepoMan.java:1082)
at com.waveset.install.RepoMan.main(RepoMan.java:1314)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.waveset.util.CommandProcess.invokeMain(CommandProcess.java:212)
at com.waveset.util.CommandProcess.launch(CommandProcess.java:162)
at com.waveset.util.CommandProcess.run(CommandProcess.java:300)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.waveset.util.Command.main(Command.java:117)
Caused by: javax.naming.CommunicationException: Can't find SerialContextProvider
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
a:63)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.waveset.util.JdbcUtil.getDataSourceObject(JdbcUtil.java:583)
... 17 more
Wrapped exception:
javax.naming.CommunicationException: Can't find SerialContextProvider
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
a:63)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.waveset.util.JdbcUtil.getDataSourceObject(JdbcUtil.java:583)
at com.waveset.repository.RelationalDataStore.setupJdbc(RelationalDataSt
ore.java:3834)
at com.waveset.repository.RelationalDataStore.init(RelationalDataStore.j
ava:3779)
at com.waveset.install.RepoMan.check(RepoMan.java:1194)
at com.waveset.install.RepoMan.setRepo(RepoMan.java:1082)
at com.waveset.install.RepoMan.main(RepoMan.java:1314)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.waveset.util.CommandProcess.invokeMain(CommandProcess.java:212)
at com.waveset.util.CommandProcess.launch(CommandProcess.java:162)
at com.waveset.util.CommandProcess.run(CommandProcess.java:300)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.waveset.util.Command.main(Command.java:117)There is no security.properties file under config directory. i checked with other installation, no such file have been created under this directory.
Please help me where i am missing or some else step needs to be followed. i exactly followed the Sun installation manual.
Thanks in advance.Hi Paz,
Thanks for taking the time :)
To answer your questions:
1. Has this WebServices ever worked or is this the first time?
The web service is working perfectly fine on my working station, the problem appears only when I deploy it on my actual server, which means that the web service is working.
2. What Apache Axis Version are you using?
1.4
3. What JRE version are you using?
Both my development pc and my server run jre 1.5.0_14
4. In the actual server environment, can you confirm all information are exactly same as DEV environment...
Oh yes! Absolutely.
My recent assumption is that some windows service might be needed to run the web service client and obviously I have no clue which one it might be.
Just to make sure; is the security policy of my Application Server set correctly?
permission java.lang.RuntimePermission "getClassLoader";
permission java.lang.RuntimePermission "createClassLoader";
permission java.lang.RuntimePermission "loadLibrary.*";
permission java.lang.RuntimePermission "queuePrintJob";
permission java.net.SocketPermission "*", "connect,accept,resolve";
permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete";
// work-around for pointbase bug 4864405
permission java.io.FilePermission "${com.sun.aas.instanceRoot}${/}lib${/}databases${/}-", "delete";
permission java.io.FilePermission "${java.io.tmpdir}${/}-", "delete";
permission java.util.PropertyPermission "*", "read,write";
permission java.lang.RuntimePermission "modifyThreadGroup";
Again thanks for taking the time :) -
Application Server and performance with Attached Libraries
We are moving toward Forms 9i and 9iAS.
I have common SQL code that should be accessed from many Forms and considering
between creating Database Packages and Oracle Forms Packages as Attached
Libraries.
Have been told that they both operate differently with the Forms PL/SQL packages
loaded 'thinly' (only the components being called and also in 4k memory size).
So there is an argument to go for Forms Package as opposed to Database packages
this way!.
Obviously the Forms package will be loaded somewhere in a Run Forms session, but
does this means other Oracle Forms programs can access the loaded program unit.
Let me say user A running Forms A has an attached library which is also accessed
by user B running Forms B but trying to access the same program unit in the same
attached library.
Would the 9iAS recognise this and load only one copy, assuming user A started
first and hasnt closed his/her session while user B starts Forms B soon after?You should probably ask this on the Forms discussion forum.
http://www.oracle.com/technology/discussionforums/forms.html
But in general Forms on the Web share objects in the memory on the application server - including plls. -
Addition SCM Application Server on AIX with CI & DB on HP-UX
Hi Gurus,
We are facing problem in starting the SCM 4.1 application server on AIX 6.1
/usr/sap/SQ1/SYS/exe/run/R3trans: Syntax error at line 1: `)' not expected.
CI & DB Instance are on HP-UX 11.23.
What things to keep in mind when doing such hetrogenous Installation.
Pls help....
ABHIHi ,
The above error has been resolved by having the separate /sapmnt/<SID>
directory on CI & Application Server with Kernel on different OS .
But Still i am getting the error while connecting R3trans -d.
This is R3trans version 6.09 (release 640 - 26.10.04 - 15:45:42).
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'SQ1'"
R3trans finished (0012).
4 ETW000 R3trans version 6.09 (release 640 - 26.10.04 - 15:45:42).
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 05.09.2008 - 15:07:06
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Fri Sep 5 15:07:06 2008 52 0.000052
4 ETW000 [dev trc ,00000] db_con_init called 11 0.000063
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 28 0.000091
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/SQ1/SYS/exe/run/dboraslib.o' ...
4 ETW000 38 0.000129
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/SQ1/SYS/exe/run/dboraslib.o), hdl 0
4 ETW000 2483 0.002612
4 ETW000 [dev trc ,00000] Library '/usr/sap/SQ1/SYS/exe/run/dboraslib.o' loaded
4 ETW000 20 0.002632
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/SQ1/SYS/exe/run/dboraslib.o
4 ETW000 41 0.002673
4 ETW000 [dev trc ,00000] Version of '/usr/sap/SQ1/SYS/exe/run/dboraslib.o' is "640.00", patchlevel (0.32)
4 ETW000 264 0.002937
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/SQ1/SYS/exe/run/dboraslib.o
4 ETW000 17 0.002954
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/SQ1/SYS/exe/run/dboraslib.o
4 ETW000 631 0.003585
4 ETW000 [dev trc ,00000] New connection 0 created 20 0.003605
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255
, con_opt = 255, occ = NO
4 ETW000 18 0.003623
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 25 0.003648
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 17 0.003665
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255,
con_opt = 255, occ = NO
4 ETW000 15 0.003680
4 ETW000 [dev trc ,00000] Got ORACLE_HOME=/oracle/client/92x_64 from environment
4 ETW000 432 0.004112
4 ETW000 [dev trc ,00000] -->oci_initialize 25 0.004137
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIInitialize' failed: rc = -1
4 ETW000 277 0.004414
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIErrorGet' failed: rc = -2
4 ETW000 34 0.004448
4 ETW000 [dblink ,00419] ***LOG BY2=>sql error -1 performing CON [dblink#1 @ 419]
4 ETW000 46 0.004494
4 ETW000 [dblink ,00419] ***LOG BY0=>Cannot get Oracle error text. [dblink#1 @ 419]
4 ETW000 15 0.004509
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'SQ1'"
4 ETW000 R3trans version 6.09 (release 640 - 26.10.04 - 15:45:42).
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 05.09.2008 - 15:07:06
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Fri Sep 5 15:07:06 2008 52 0.000052
4 ETW000 [dev trc ,00000] db_con_init called 11 0.000063
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 28 0.000091
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/SQ1/SYS/exe/run/dboraslib.o' ...
4 ETW000 38 0.000129
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/SQ1/SYS/exe/run/dboraslib.o), hdl 0
4 ETW000 2483 0.002612
4 ETW000 [dev trc ,00000] Library '/usr/sap/SQ1/SYS/exe/run/dboraslib.o' loaded
4 ETW000 20 0.002632
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/SQ1/SYS/exe/run/dboraslib.o
4 ETW000 41 0.002673
4 ETW000 [dev trc ,00000] Version of '/usr/sap/SQ1/SYS/exe/run/dboraslib.o' is "640.00", patchlevel (0.32)
4 ETW000 264 0.002937
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/SQ1/SYS/exe/run/dboraslib.o
4 ETW000 17 0.002954
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/SQ1/SYS/exe/run/dboraslib.o
4 ETW000 631 0.003585
4 ETW000 [dev trc ,00000] New connection 0 created 20 0.003605
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255
, con_opt = 255, occ = NO
4 ETW000 18 0.003623
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 25 0.003648
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 17 0.003665
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255,
con_opt = 255, occ = NO
4 ETW000 15 0.003680
4 ETW000 [dev trc ,00000] Got ORACLE_HOME=/oracle/client/92x_64 from environment
4 ETW000 432 0.004112
4 ETW000 [dev trc ,00000] -->oci_initialize 25 0.004137
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIInitialize' failed: rc = -1
4 ETW000 277 0.004414
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIErrorGet' failed: rc = -2
4 ETW000 34 0.004448
4 ETW000 [dblink ,00419] ***LOG BY2=>sql error -1 performing CON [dblink#1 @ 419]
4 ETW000 46 0.004494
4 ETW000 [dblink ,00419] ***LOG BY0=>Cannot get Oracle error text. [dblink#1 @ 419]
4 ETW000 15 0.004509
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'SQ1'"
4 ETW000 R3trans version 6.09 (release 640 - 26.10.04 - 15:45:42).
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 05.09.2008 - 15:07:06
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Fri Sep 5 15:07:06 2008 52 0.000052
4 ETW000 [dev trc ,00000] db_con_init called 11 0.000063
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 28 0.000091
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/SQ1/SYS/exe/run/dboraslib.o' ...
4 ETW000 38 0.000129
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/SQ1/SYS/exe/run/dboraslib.o), hdl 0
4 ETW000 2483 0.002612
4 ETW000 [dev trc ,00000] Library '/usr/sap/SQ1/SYS/exe/run/dboraslib.o' loaded
4 ETW000 20 0.002632
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/SQ1/SYS/exe/run/dboraslib.o
4 ETW000 41 0.002673
4 ETW000 [dev trc ,00000] Version of '/usr/sap/SQ1/SYS/exe/run/dboraslib.o' is "640.00", patchlevel (0.32)
4 ETW000 264 0.002937
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/SQ1/SYS/exe/run/dboraslib.o
4 ETW000 17 0.002954
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/SQ1/SYS/exe/run/dboraslib.o
4 ETW000 631 0.003585
4 ETW000 [dev trc ,00000] New connection 0 created 20 0.003605
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255
, con_opt = 255, occ = NO
4 ETW000 18 0.003623
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 25 0.003648
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 17 0.003665
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255,
con_opt = 255, occ = NO
4 ETW000 15 0.003680
4 ETW000 [dev trc ,00000] Got ORACLE_HOME=/oracle/client/92x_64 from environment
4 ETW000 432 0.004112
4 ETW000 [dev trc ,00000] -->oci_initialize 25 0.004137
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIInitialize' failed: rc = -1
4 ETW000 277 0.004414
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIErrorGet' failed: rc = -2
4 ETW000 34 0.004448
4 ETW000 [dblink ,00419] ***LOG BY2=>sql error -1 performing CON [dblink#1 @ 419]
4 ETW000 46 0.004494
4 ETW000 [dblink ,00419] ***LOG BY0=>Cannot get Oracle error text. [dblink#1 @ 419]
4 ETW000 15 0.004509
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'SQ1'"
Abhi -
Application Server 10g installation with SSL
Hello,
I'm planning to install the new 10g application server on a Red Hat Linux. I need the infrastructure and the middle tier components to work on SSL. Anybody has installed and configured the 10g with SSL? Is it as difficult and time consuming as in the 9iASR2? Is there any guide to do that?
thanks.Pls refer to "Oracle Application Server 10g Administrator's Guide", Chapter 1.6 for more information on how to configure in SSL mode. By default SSL us not configured in 10g.
-
Getting Sun Application Server to work with JRockit
Hi all,
I am attempting to have Sun Application Server run on top of JRockit and have the following issue:
In the Domain.xml I have:
<jvm-options>-server</jvm-options>
<jvm-options>-Xms1g</jvm-options>
<jvm-options>-Xmx1g</jvm-options>
<jvm-options>-XX:NewRatio=4</jvm-options>
<jvm-options>-XX:PermSize=128m</jvm-options>
<jvm-options>-XX:MaxPermSize=128m</jvm-options>
But in the Server.log I get:
[WARN ] '-XX:NewRatio=4' is not a valid VM option. Ignoring.
[WARN ] '-XX:PermSize=128m' is not a valid VM option. Ignoring.
[WARN ] '-XX:MaxPermSize=128m' is not a valid VM option. Ignoring.
Any thoughts as to why the options are not valid? Thanks, BradYou don't need to :-)
There is no concept of a PermGen in JRockit, instead the memory is allocated on the normal heap. No more "out of perm gen memory"-problems.
Regards,
/Staffan -
Sun Application Server 8.x and MySql Connector 3.1 hangup problem
Hello,
I have several applications using com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource connection pools within SJAS 8.1 and 8.2. After a longer time of inactivity, the pool does not give me a connection anymore nor throws an exception. The server hangs endlessly and after several minutes other applications which aren't using DB access at all do not respond anymore as well.
Does anybody have the same problem and found a solution?
Thanks,
marc.found it:
http://forum.java.sun.com/thread.jspa?forumID=136&threadID=583959 -
Application server connection issue with jdev
Hi,
we have a fusion application instance, deployed in amazon cloud. I am able to connect to this instance/console using the browser.
I am able to login to weblogic - console, so credentials and everything is correct, now when I am giving same information in jdeveloper and trying connecting using jdev.
its failing 7 out or 9 tests which jdev do for connectivity. We have checked the proxy settings, but its not an issue, no proxy settings there.
Now we have almost check all forms and connection issues, but no help yet. Looking for immediate support.
Thanks in advance for any support.
-VipinHi Oliver,
Thanks for the quick response, this is ouput
Testing JSR-160 Runtime
... failed.
Cannot establish connection.
Testing JSR-160 DomainRuntime
... skipped.
Testing JSR-88
... skipped.
Testing JSR-88-LOCAL
... skipped.
Testing JNDI
... skipped.
Testing JSR-160 Edit
... skipped.
Testing HTTP
... success.
Testing Server MBeans Model
... skipped.
Testing HTTP Authentication
... success.
2 of 9 tests successful.
Thanks
Vipin Kumar -
Technical System (Application Server ABAP) - problem with data supplier
My system had problems, I believe with the Data Supplier in LMDB
there are errors
How can I update / re-add in the SLD/LMDB data supplier?
And how can you get it working correctly providers who do not receive the data (though the system sees them)Hi Michael,
You can push an update from Solution Manager (the data supplier) to the SLD in transaction RZ70. There should be a button labeled "Start Data Collection and Job Scheduling". If your jobs are scheduled and everything is set up correctly, then starting your data collection will force an update ahead of schedule. (By default, the update is scheduled every 720 minutes -- i.e. 12 hours).
On the Java side, you need to push via the Visual Administrator (when you're at NW 7.02, that changes in 7.3 to the NWA), but you didn't ask that.
Typically, LMDB grabs an incremental update from SLD every 10 minutes or so. Check for a job called SAP_LMDB_LDB_0000000001. If your SLD-LMDB connection is not working properly, you may need to reset it. (SOLMAN_SETUP (as solman_admin or equivalent). Then system preparation -->5 Prepare Landscape). See SAP help on this Synchronization Between SLD and LMDB - SAP Solution Manager - SAP Library.
Also, on the first screen you showed, System Landscape Technical System - Display, if you click Edit, then click on the advanced button, there is an option to Resynchronize Technical System from SLD. I haven't tried that, but that may actually be what you're looking for.
I hope this helps!
Best regards,
--Tom -
Save the o/p of the query in Application Server, Filename with Timestamp
Dear Experts,
I have a scenario that on 1st of every month, a query needs to execute and save the output of that query in Application Server, Filename along with Timestamp.
For ex: Production_19/09/2011
So, I Created a Query Extract in RSCRM_REPORT and gave the path name and scheduled. The output of the query is saved successfully in Application Server.
But I need Timestamp along with Filename.
Please help me out with the timestamp issues, how could I include Timestamp with Filename (Query Name).
Thanks,
SAP BIHi chaith,
You can achieve the result with out any code. You have to use the APD concept to extract the query to a file.
check the following link which help you to create a logical path
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60e86545-9940-2d10-9f89-eb5bce1f9228?quicklink=index&overridelayout=true
you can use the path in the APD.
Regards,
Ranganath -
Is the JMX based Application Server Control not bundled with EJB3
I don't see Application Server Control bundled with EJB3? Is it initentionally left out or just missed out. It is a easy way to manage AS through it. The AS is only available from 10.1.3 preview version, can I deploy the ASC onto EJB3 also?
If so, can you refer me to any document pointing to it?Hello,
You are right the EJB 3.0 Preview does not contains the OracleASC (JMX Based console)
Next week we will publish the next developer preview of OracleAS 10g (10.1.3) that is a full J2EE 1.4 container, EJB 3.0 and that will contains the OracleASC.
Tugdual Grall -
Reg : Executing .exe file from application server
Dear Experts,
i have a requirement to execute an .exe file from application server,i tried with method CL_GUI_FRONTEND_SERVICES=>EXECUTE but it executes .exe file from presentation server only.can
anyone kindly clarify to execute .exe file from application server?
Thanks in advance,
SujayHi,
Did you search before posting?
Re: Execute a .exe file present in the Application Server
Vikranth -
How to upload file from Application Server?
Dear Friends,
How to upload file from Application Server?
Plz. with example...
Regards,
Dharmeshhi,
check the code for upload from application server.
tables: kna1.
types: begin of s_file,
customer type kna1-kunnr,
country type kna1-land1,
name type kna1-name1,
region type kna1-regio,
end of s_file.
*--Internal tables
data: it_file type s_file occurs 0 with header line.
*-- Selection screen
selection-screen: begin of block b1 with frame title text-001.
parameter: p_file type rlgrap-filename default 'C:/customer.txt'
obligatory.
selection-screen: end of block b1.
*-- At selection screen
at selection-screen on value-request for p_file.
perform file_help using p_file.
*-- Process File
start-of-selection.
perform upload_file using p_file.
*-- write File data to o/p
end-of-selection.
perform write_data.
*& Form file_help
form file_help using p_p_file.
data: l_filepath type ibipparms-path.
call function 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
importing
file_name = l_filepath
p_p_file = l_filepath.
endform. " file_help
*& Form upload_file
form upload_file using p_p_file.
call function 'WS_UPLOAD'
exporting
filename = p_p_file
filetype = 'DAT'
IMPORTING
FILELENGTH =
tables
data_tab = it_file
exceptions
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
no_authority = 10
others = 11
if sy-subrc <> 0.
message i001.
endif.
endform. " upload_file
*& Form write_data
form write_data .
loop at it_file.
write:/ it_file-customer, it_file-country, it_file-name,
it_file-region.
endloop.
endform.
regards,
keerthi. -
Access to application server in SM51 request access logon
Hi Guys,
I installed an application server in windows with DB server in iseries V5R4M0.
The App instance run OK, but when i try access to SM50 app instance in SM51 the system request access data.
I put the logon data and y can entry to SM50 transaction app Instance.
I read the note 90323 and SAP recommends have the same kernel level in all servers. But due to my heterogeneous system i can´t have the same kernel release.
I don´t know if the logon request is mandatory in heterogeneous system when i try access to other servers in R/3 system or i need solve an issue.
I have a R/3 4.6C system with Application server with Win 2003.
Regards,
Ernesto Castro.Hi Ernesto,
your problem will not only occur with SM51->SM50, it will occur everywhere, where SAP is using RFCs to run ... You are having installed your appl server incorrect. I bet, that the DB server on i5 and the DB-server name on windows differ ... most likely in upper-lowercase ...
Just check the hostname on i5 with cfgtcp option 12 and on windows with "set" as sidadm and you should see a difference in the cases there ;-(
It is not totally easy to fix that, as the DB-server on windows is stored in the registry.
Regards
Volker Gueldenpfennig, consolut international ag
http://www.consolut.net - http://www.4soi.de - http://www.easymarketplace.de
Maybe you are looking for
-
Can a perpetually licensed CS6 for windows be exchanged for a perpetually licensed CS6 for Mac?
-
To dos and notes on my .mac (to see my to / dos and notes on serveral compu
i want to create to dos on my computer. but when i the select the .mac row and create a new to do, the jumps to the local line so i cannot create on my .mac account. so i cannot see the todo on my other computer (snow leopard). i sync with mobile me.
-
Dynamic date in Archiver query
Hello, I'm trying to set up a scheduled job in Archiver to remove old revisions higher than 20 and older than 2 months. I can get the results I need if I hard-code the date, but I'm looking for a way to put (current date - 2 months) into the Archiver
-
Sometimes I cannot play a song I've previously purchased. It is in my "Songs" list..but won't play. I show it is 'downloaded' in "purchased items" on the Itunes right-link menu....but it is NOT. Tried 'not on this computer tab' and it does not come u
-
I have two servlets. In my 1st servlet I loaded my driver and connected to my database. In my second servlet I'd also like to execute sql statetements. Do I have to connect to the driver again and write Statement,Connection lines again? Isn't there a