Informix JDBC logging fails at WLS startup - repost, 1st one incomplete
Hi,
I am trying to find out how to see how many db queries I'm doing
for a CMP finder. I am using the Informix driver I downloaded
from BEA. When I start up WebLogic, I get the following in the
jdbc.log file:
DriverManager.initialize: jdbc.drivers = null
JDBC DriverManager initialized
registerDriver:
driver className=weblogic.jdbc.informix4.Driver,weblogic.jdbc.informix4.Driver@20e990]
SQLException: SQLState() vendor code(-255)
weblogic.jdbcbase.informix4.InformixException: Informix error: -255 minor code=[0]
[ at processUpdate <Error> ] See Informix error codes for explanation
The Informix error manual says -255 means this was not in a
transaction. It seems to imply that WLS, in trying to start
logging, was ending a transaction.
The rest of the stacktrace shows:
at weblogic.jdbcbase.informix4.Statement.processError Statement.java:1579)
at weblogic.jdbcbase.informix4.Statement.processUpdate(Statement.java:1344)
at weblogic.jdbcbase.informix4.Statement.getMoreResults(Statement.java:1100)
at weblogic.jdbcbase.informix4.Statement.execute(Statement.java:243)
at weblogic.jdbcbase.informix4.Connection.findDBType(Connection.java:173)
at weblogic.jdbc.informix4.Driver.newConnection(Driver.java:45)
at weblogic.jdbcbase.informix4.BaseDriver.connect(BaseDriver.java:96)
at
and the rest of the trace shows it trying to make a connection.
I don't know why this is happening. Any help would be greatly
appreciated.
TIA,
Matt
matt wrote:
>
Joe,
Thanks for the info. I downloaded the Informix driver, installed
it, and configured WebLogic to use it, and it worked fine.
Informix has its own way of turning debug on, but once I read
their driver doc, it was fairly easy.cool. glad to help.
Matt
Joseph Weinstein <[email protected]> wrote:
Hi Matt. The stacktrace shows that the problem is coming during
the driver's attempt to make a new connection. I don't know why
this is happening, but my standing advice for Informix connectivity
is for you to download and use Informix's own free type-4 driver.
It's better, faster and better supported than ours.
Joe
matt wrote:
Hi,
I am trying to find out how to see how many db queries I'm doing
for a CMP finder. I am using the Informix driver I downloaded
from BEA. When I start up WebLogic, I get the following in the
jdbc.log file:
DriverManager.initialize: jdbc.drivers = null
JDBC DriverManager initialized
registerDriver:
driver className=weblogic.jdbc.informix4.Driver,weblogic.jdbc.informix4.Driver@20e990]
SQLException: SQLState() vendor code(-255)
weblogic.jdbcbase.informix4.InformixException: Informix error: -255minor code=[0]
[ at processUpdate <Error> ] See Informix error codes for explanation
The Informix error manual says -255 means this was not in a
transaction. It seems to imply that WLS, in trying to start
logging, was ending a transaction.
The rest of the stacktrace shows:
at weblogic.jdbcbase.informix4.Statement.processError Statement.java:1579)
at weblogic.jdbcbase.informix4.Statement.processUpdate(Statement.java:1344)
at weblogic.jdbcbase.informix4.Statement.getMoreResults(Statement.java:1100)
at weblogic.jdbcbase.informix4.Statement.execute(Statement.java:243)
at weblogic.jdbcbase.informix4.Connection.findDBType(Connection.java:173)
at weblogic.jdbc.informix4.Driver.newConnection(Driver.java:45)
at weblogic.jdbcbase.informix4.BaseDriver.connect(BaseDriver.java:96)
at
and the rest of the trace shows it trying to make a connection.
I don't know why this is happening. Any help would be greatly
appreciated.
TIA,
Matt
Similar Messages
-
Informix JDBC logging fails at WLS startup
Hi,
I am trying to find out how to see how many db queries I'm doing
for a CMP finder. I am using the Informix driver I downloaded
from BEA. When I start up WebLogic, I get the following in the
jdbc.log file:
DriverManager.initialize: jdbc.drivers = null
JDBC DriverManager initialized
registerDriver:
driver className=weblogic.jdbc.informix4.Driver,weblogic.jdbc.informix4.Driver@20e990]
SQLException: SQLState() vendor code(-255)
weblogic.jdbcbase.informix4.InformixException: Informix error: -255 minor code=[0]
[ at processUpdate <Error> ] See Informix error codes for explanation
The Informix error manual says -255 means this was not in a
transaction. It seems to imply that WLS, in trying to start
logging, was ending a transaction.
The rest of the stacktrace shows:
at weblogic.jdbcbase.informix4.Statement.processError Statement.java:1579)
at weblogic.jdbcbase.informix4.Statement.processUpdate(Statement.java:1344)
at weblogic.jdbcbase.informix4.Statement.getMoreResults(Statement.java:1100)
at weblogic.jdbcbase.informix4.Statement.execute(Statement.java:243)
at weblogic.jdbcbase.informix4.Connection.findDBType(Connection.java:173)
at weblogic.jdbc.informix4.Driver.newConnection(Driver.java:45)
at weblogic.jdbcbase.informix4.BaseDriver.connect(BaseDriver.java:96)
atHi,
I am trying to find out how to see how many db queries I'm doing
for a CMP finder. I am using the Informix driver I downloaded
from BEA. When I start up WebLogic, I get the following in the
jdbc.log file:
DriverManager.initialize: jdbc.drivers = null
JDBC DriverManager initialized
registerDriver:
driver className=weblogic.jdbc.informix4.Driver,weblogic.jdbc.informix4.Driver@20e990]
SQLException: SQLState() vendor code(-255)
weblogic.jdbcbase.informix4.InformixException: Informix error: -255 minor code=[0]
[ at processUpdate <Error> ] See Informix error codes for explanation
The Informix error manual says -255 means this was not in a
transaction. It seems to imply that WLS, in trying to start
logging, was ending a transaction.
The rest of the stacktrace shows:
at weblogic.jdbcbase.informix4.Statement.processError Statement.java:1579)
at weblogic.jdbcbase.informix4.Statement.processUpdate(Statement.java:1344)
at weblogic.jdbcbase.informix4.Statement.getMoreResults(Statement.java:1100)
at weblogic.jdbcbase.informix4.Statement.execute(Statement.java:243)
at weblogic.jdbcbase.informix4.Connection.findDBType(Connection.java:173)
at weblogic.jdbc.informix4.Driver.newConnection(Driver.java:45)
at weblogic.jdbcbase.informix4.BaseDriver.connect(BaseDriver.java:96)
at -
How do I get JDBC Logging with IBM Informix drivers?
I am trying to get JDBC logging working with IBM Informix drivers.
I am using the _g jar files; I have specified TRACE, TRACEFILE,
PROTOCOLTRACE, and PROTOCOLTRACEFILE as properties;
I have enabled JDBC logging and specified a JDBC log file in the
WLS console. Regardless of all these machinations, no logging is
produced.
What else need I do? Thanks for any advice!
: jaySo... a couple weeks later and I've managed to find
out a bit more. My simple program works and produces
output, so the debug drivers are doing their thing.
So, in my simple program, I was using the standard
informix driver. But, with WebLogic, my connection
pool is using the XA datasource which is configured
slightly differently than the driver; in particular,
the URL is left blank as described in
http://e-docs.bea.com/wls/docs70/jdbc/thirdparty.html.
I've actually created another connection pool which
uses the standard driver, and I do get loggging when
I use that pool, so the problem seems to be with the
XA Datasource.
I'm trying to revise my test program to use the
datasource, and we'll go from there. Any thoughts
you have would be appreciated, of course.
: jay
Joe Weinstein wrote:
>
>
Jay Schmidgall wrote:
"Joe Weinstein" <[email protected]> wrote in message
news:[email protected]..
Jay Schmidgall wrote:
I am using the _g jar files; I have specified TRACE, TRACEFILE,
PROTOCOLTRACE, and PROTOCOLTRACEFILE as properties;Odd. Would you please show me a small java program that
sets the properties for the connection so you get your
logging output, and then I'll know what I need for weblogic to do it:I am setting the properties in the weblogic console via the properties
field
on the general configuration tab for the connection pool. That's where I
set all the other properties, so that's where I thought I should set
these.
I've tried it with those properties set individually and as part of
the URL
property.Oh, yes that's where you should be doing it, but a standalone program
will prove exactly what properties are needed by the driver per se.
Ie: the first step is to prove the jdbc driver alone does what we
want, and then we can know how to get weblogic to get the driver to do
the same for it.
Joe
I'll try to cruft up a small program that does this manually, though.
: jay -
Database log switch and WLS connection pool relation
Hi,
We have been facing WLS JDBC connection pool disable and suspension issue very frequently in our environment and as a work around have implemented multi-datasource configuration (fail over method).
But we need to know the root cause for the same and want to fix the issue too.
We have tried many options like increasing no. of processes and transaction on Database, fine tune the weblogic datasource but still we could not isolate the issue.
Recently we have been advised to minimize the log switch on database front and increase the redo log size. Not sure if this will help in isolating the issue or not.
So we are Looking forward for the comments and suggestions on what would be the relationship b/w datasource and log switch be and if someone have faced this issue and resolved the same by fine tuning the database and minimizing the log switch.
We are using WLS 10.3.3.0
-Rohitturn on jdbc logging. The server log should be showing the troubles WLS is having
while testing connections and trying/failing to make replacement connections. -
Failed to invoke startup class "MyStartup Class"
Hi,
I configured StartUpClass.java in Weblogic server through Admin Console . Also I set the required jar files in the classpath of the server in WL_HOME\server\bin\startWLS.cmd.
This StartUPClass is written to initialize and create the minimum number of objects in the pool, needed for URLConnection using ObjectPooling API.
I am getting Exceptions while starting the server after deployment of the application. I am pasting the full stack trace.
<Feb 1, 2007 9:49:55 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.4.2_12-b03 from Sun Microsystems Inc.>
<Feb 1, 2007 9:50:10 AM IST> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
<Feb 1, 2007 9:50:10 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP4 Mon Nov 29 16:21:29 PST 2004 471647
WebLogic XMLX Module 8.1 SP4 Mon Nov 29 16:21:29 PST 2004 471647 >
<Feb 1, 2007 9:50:11 AM IST> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository at D:\bea\user_projects\domains\nessdomain\.\config.xml.>
<Feb 1, 2007 9:50:15 AM IST> <Notice> <Log Management> <BEA-170019> <The server log file D:\bea\user_projects\domains\nessdomain\myserver\myserver.log is opened. All server side log events will be written to this file.>
<Feb 1, 2007 9:50:18 AM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Feb 1, 2007 9:50:18 AM IST> <Notice> <WebLogicServer> <BEA-000327> <Starting WebLogic Admin Server "myserver" for domain "nessdomain">
<Feb 1, 2007 9:50:31 AM IST> <Warning> <HTTP> <BEA-101248> <[Application: 'D:\MSM\Workspace\MSM2.0Jan9', Module: 'MSM31']: Deployment descriptor "web.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)". (line 96, column 11).>
<Feb 1, 2007 9:50:31 AM IST> <Warning> <HTTP> <BEA-101248> <[Application: 'D:\MSM\Workspace\MSM2.0Jan9', Module: 'MSM31']: Deployment descriptor "weblogic.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: The content of element type "weblogic-web-app" must match "(description?,weblogic-version?,security-role-assignment*,run-as-role-assignment*,reference-descriptor?,session-descriptor?,jsp-descriptor?,auth-filter?,container-descriptor?,charset-params?,virtual-directory-mapping*,url-match-map?,preprocessor*,preprocessor-mapping*,security-permission?,context-root?,wl-dispatch-policy?,servlet-descriptor*,init-as*,destroy-as*)". (line 23, column 20).>
<Feb 1, 2007 9:50:35 AM IST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "MyStartup Class", java.lang.ClassNotFoundException: com.helio.msm.ws.util.StartUpClass
java.lang.ClassNotFoundException: com.helio.msm.ws.util.StartUpClass
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at weblogic.t3.srvr.StartupClassService.invokeClass(StartupClassService.java:156)
at weblogic.t3.srvr.StartupClassService.access$000(StartupClassService.java:36)
at weblogic.t3.srvr.StartupClassService$1.run(StartupClassService.java:121)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.t3.srvr.StartupClassService.invokeStartupClass(StartupClassService.java:116)
at weblogic.t3.srvr.PostDeploymentStartupService.resume(PostDeploymentStartupService.java:63)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:32)
>
<Feb 1, 2007 9:50:36 AM IST> <Error> <Socket> <BEA-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that wlntio.dll is in: 'D:\j2sdk1.4.2_12\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\j2sdk1.4.2_12\bin;c:\windows\system32;C:\apache-ant-1.6.5\bin;'
>
<Feb 1, 2007 9:50:36 AM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "myserver" for domain "nessdomain" running in Development Mode>
<Feb 1, 2007 9:50:36 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Feb 1, 2007 9:50:36 AM IST> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 7001, ip address *.*>
<Feb 1, 2007 9:50:55 AM IST> <Warning> <Socket> <BEA-000402> <There are: 5 active sockets, but the maximum number of socket reader threads allowed by the configuration is: 4. You may want to alter your configuration.>
Please help me in resolving this problem. I need it asap
Thanks,
DharaniI should be more specific and have a bit more to add....
We have our app in an .ear file. I find that when I put the startup
classes in a seperate directory which is in the classpath specified in the
startWeblogic.cmd file they will be run on startup. I don't think I should
have to do this since these files exist in the ear file. I think this is
causing other problems too such as an illegalAccessError I get when an EJB
tries to load a class which was previously accessed by the startup classes.
Thanks,
Steve
Steve Snodgrass wrote:
Hi,
I am beggining to upgrade our app from Weblogic 5.1 to 6.0. So far it
has been progressing nicely and everything works with one exception. I
can not get the start up classes to run. I get the following exception:
<Failed to invoke startup class "MyStartup Class",
java.lang.ClassNotFoundException:
followed by my fully qualified class name. The class is reference
elsewhere in the code and works fine. Is a seperate classpath used for
startup classes? If not why might Weblogic have a hard time finding my
class?
Thanks,
Steve -
SQL queries in JDBC log?
Hi all.
I am using CMP entity beans on Weblogic 7.0 and would like to see the SQL queries
which the EJB container is executing. I would think that I should be able to see
these in the JDBC log file, but all I see there is DB connection logging.
I've seen discussion in docs and various newsgroups that implies that these queries
should be logged in the JDBC log. Do I have to change some parameter in order
to see the SQL queries in the log file?
Thanks.
ALI'm using Sybase 12.5 with JConnect 4.5. Since I posted my question, I've found
a suggestion to define weblogic.ejb20.cmp.rdbms.codegen.verbose=true on the java
command line when I'm booting WLS. I can now see queries (as well as a bunch of
other stuff) in the stdout of the weblogic server. But I would still like to have
the queries logged. Of course, I could redirect stdout, etc. But I thought there
should be another way, esp considering that the is a JDBC log file. Any suggestions
would be appreciated.
AL
Joe Weinstein <[email protected]> wrote:
>
>
AL wrote:
Hi all.
I am using CMP entity beans on Weblogic 7.0 and would like to see theSQL queries
which the EJB container is executing. I would think that I should beable to see
these in the JDBC log file, but all I see there is DB connection logging.
I've seen discussion in docs and various newsgroups that implies thatthese queries
should be logged in the JDBC log. Do I have to change some parameterin order
to see the SQL queries in the log file?For 7.0 we do not intercept, copy or log application SQL. Typically jdbc
logging
is left to the particular JDBC driver being used. Some drivers can be
very informative
or even over chatty, while others will log very little. What DBMS and
driver are you
using?
Joe
Thanks.
AL -
Hi!
We're using Informix 7 + WL6sp1 + Informix JDBC Driver v2.2. We have a connection
pool and connect to the pool using:
Driver myDriver = (Driver) Class.forName("weblogic.jdbc.pool.Driver").newInstance();
con = DriverManager.getConnection("jdbc:weblogic:pool:poolname");
The problem is as follows:
Every time we modify a stored procedure (DROP ... CREATE ...) our app fails when
trying to use that stored procedure. We have to shut down the server and restart
it in order to keep going.
The stack trace:
java.sql.SQLException: SPL routine(disponibilidad_hot) is no longer valid.
at com.informix.jdbc.IfxSqli.addException(IfxSqli.java, Compiled Code)
at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java, Compiled Code)
at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java, Compiled Code)
at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java, Compiled Code)
at com.informix.jdbc.IfxSqli.sendStatementQuery(IfxSqli.java, Compiled
Code)
at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java, Compiled
Code)
at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java, Compiled
Code)
at com.informix.jdbc.IfxResultSet.executeQuery(IfxResultSet.java, Compiled
Code)
at com.informix.jdbc.IfxStatement.executeQueryImpl(IfxStatement.java,
Compiled Code)
at com.informix.jdbc.IfxPreparedStatement.executeQuery(IfxPreparedStatement.java,
Compiled Code)
at weblogic.jdbc.pool.PreparedStatement.executeQuery(PreparedStatement.java,
Compiled Code)
at es.gesfor.bd.ObtenerDatos.ejecutar(ObtenerDatos.java, Compiled Code)
at es.gesfor.servlets.FiltrosServlet.obtenerHoteles(FiltrosServlet.java,
Compiled Code)
at es.gesfor.servlets.FiltrosServlet.doPost(FiltrosServlet.java, Compiled
Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java,
Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled
Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)Hi Federico,
It happens because weblogic caches prepred statements.
Though the name of the stored procedure remains the same,
it's a different object from the database point of view, which is
why a mismatch between cache and database occurs.
You may consider setting size of the prepared statement
cache to zero. That should solve the problem. Later, when
the SP code is stabilized, you will be able to turn in on back.
Regards,
Slava Imeshev
"Federico Dios" <[email protected]> wrote in message
news:[email protected]...
>
Hi!
We're using Informix 7 + WL6sp1 + Informix JDBC Driver v2.2. We have aconnection
pool and connect to the pool using:
Driver myDriver = (Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
con = DriverManager.getConnection("jdbc:weblogic:pool:poolname");
The problem is as follows:
Every time we modify a stored procedure (DROP ... CREATE ...) our appfails when
trying to use that stored procedure. We have to shut down the server andrestart
it in order to keep going.
The stack trace:
java.sql.SQLException: SPL routine(disponibilidad_hot) is no longer valid.
at com.informix.jdbc.IfxSqli.addException(IfxSqli.java, CompiledCode)
at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java, CompiledCode)
at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java, CompiledCode)
at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java, CompiledCode)
at com.informix.jdbc.IfxSqli.sendStatementQuery(IfxSqli.java,Compiled
Code)
at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java,Compiled
Code)
at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java,Compiled
Code)
at com.informix.jdbc.IfxResultSet.executeQuery(IfxResultSet.java,Compiled
Code)
atcom.informix.jdbc.IfxStatement.executeQueryImpl(IfxStatement.java,
Compiled Code)
atcom.informix.jdbc.IfxPreparedStatement.executeQuery(IfxPreparedStatement.jav
a,
Compiled Code)
atweblogic.jdbc.pool.PreparedStatement.executeQuery(PreparedStatement.java,
Compiled Code)
at es.gesfor.bd.ObtenerDatos.ejecutar(ObtenerDatos.java, CompiledCode)
ates.gesfor.servlets.FiltrosServlet.obtenerHoteles(FiltrosServlet.java,
Compiled Code)
at es.gesfor.servlets.FiltrosServlet.doPost(FiltrosServlet.java,Compiled
Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java,Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java,Compiled Code)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
Compiled Code)
atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java,
Compiled Code)
atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
Compiled Code)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java,Compiled
Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, CompiledCode) -
Hi all,
Do you know how it is possible to reduce the degree of what is logged in
jdbc.log.
ThanksHi Jen!
This is bug in 8.1ga and sp1 and it is fixed ib 81sp2.
When you specify jdbc log name with ".log" suffix, jdbc logging doesn't
rotate as expected. So, the prior log file would be overwrited by new jdbc
log when you restart WLS.
Workaround
Remove ".log" from the file name. It would be added by WLS automatically.
Thanks,
Mitesh
Jen wrote:
Hi,
whenever I restart the wls8.1, the jdbc logs are rewritten. I could not find my
previous log to debug anymore, how can i config to make write to a new file like
wls log. Thanks -
Failed to invoke startup class "SOAStartupClass"
Hi all,
1. WLS domain (wls 10.3.5 on Linux, Middleware 11.1.1.5.0) is extended with OIM and SOA Suite.
2. AdminServer is started by wlst.sh script, node manager runs with StartScriptEnabled=true
wls_soa1 is up and running, but soa-infra fails to start with following error:
####<Feb 14, 2012 3:30:28 PM CET> <Critical> <WebLogicServer> <vfusion01.fss-group.com> <wls_soa1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1329229828020> <BEA-000286> <Failed to invoke startup
class "SOAStartupClass", java.lang.ClassNotFoundException: oracle.bpel.services.common.util.GenerateBPMCryptoKey
java.lang.ClassNotFoundException: oracle.bpel.services.common.util.GenerateBPMCryptoKey
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:262)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:214)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClassDeployment(ClassDeploymentManager.java:246)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.runStartupsBeforeAppDeployments(ClassDeploymentManager.java:149)
at weblogic.management.deploy.classdeployment.ClassDeploymentService.start(ClassDeploymentService.java:21)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
I have re-installed twice both SOA Suite and domain, but I always end up with this error.
The same problem has been already reported e.g. here: Fusion MIddleware 11g , but I haven't found any final solution yet.
I've tried to play also with permissions of ../Oracle_SOA1/soa/modules/oracle.rules_11.1.1/rules.jar, but without success.
Any idea how to solve this?
Thanks for support
DanielFCheck Can not start managed servers using Node Manager
hth,
Peter Paul -
Failed to invoke Startup class
Hi,
Currently I have moved to weblogic 7 to 11g.
I am facing a problem while invoking a start up class which uses a Statless session bean.
I am getting the NameNotFOund exception while doing the bean look up with the proper JNDI name.
The same is working in weblogic 7.
Please suggest a way around.
Thanks in advance :)aarone wrote:
>
When I attempt to startup Weblogic, I get the error "Failed to invoke startup class
weblogic.jdbc.common.internal.JdbcStartup = weblogic.jdbc.common.internal.JdbcStartup
java.security.AccessControlException" access denied ( java.sql.SQLPermission setLog
I've checked and rechecked my properties file, class permission, class path........
Any ideas what to try next?edit your weblogic.policy file, and add this line to the last clause:
permission java.sql.SQLPermission "setLog";
Joe
PS: Folks: BEA WebLogic is expanding rapidly, with both entry and advanced positions
for people who want to work with Java, XML, SOAP and E-Commerce infrastructure products.
We have jobs at Nashua NH, Liberty Corner NJ, San Francisco and San Jose CA.
Send resumes to [email protected] -
Windows 2000
BEA WLS 8.1 SP1
Created a config based on the template for a WLS with Workshop - "cgServer".
Changed <configdir>/startWeblogic.cmd to include the extra classes I need to execute
my startup class.
Added 2 new servers via the Admin console (http://localhost:7001/) entitled "cgServer2"
and "cgServer3"
Added a cluster and added cgServer2 and cgServer3 to the cluster.
Targetted startup class to the cluster.
Stop everything.
Start cgServer via the startWeblogic.cmd script - OK.
Start cgServer2 via the startManagedWeblogic.cmd script - OK.
Start cgServer3 via the startManagedWeblogic.cmd script - OK.
BUT
if I try and start the managed servers via the admin console, each server reports
that it cannot find the startup class:
<11-Feb-2004 11:00:34 o'clock CET> <Critical> <WebLogicServer> <BEA-000286> <Failed
to invoke startup class "ClusteredMQJMSStartup", java.lang.ClassNotFoundException:
demo.MQJMSStartup
Failed to invoke startup class "ClusteredMQJMSStartup", java.lang.ClassNotFoundException.
What have I missed in the configuration of the Node Manager (I assume it is that)?
I want cgServer to be the admin server and cgServers 2 and 3 to be my application
servers, and I will not have everything on the same machine, so I need to use
the Admin console to manage the cluster and ind its managed-servers.
FYI - the same code with the same configuration for a single server (no cluster)
works fine.
Thanks in advance ... KSS
Check your Startup class code...Are u trying to read any "*.properties" file ?
It is possible that that particular properties file is present only in ManagedServer1 Box and Not in the ManagedServer2 & 3 boxes. -
Failed to invoke startup class "JMX Startup Class", java.lang.NullPointerEx
Hi,
we have a clustered env of 3 managed servers, while starting managed servers in 2nd and 3rd managed servers i am getting following exception can any one sugguest me to get out of this exception
<Oct 15, 2010 2:35:45 PM EDT> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "JMX Startup Class", java.lang.NullPointerException
java.lang.NullPointerException
at com.bellsouth.erepair.egate.framework.jmx.PropertyCache.main(Unknown Source)
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:597)
Truncated. see log file for complete stacktrace
Regards
giriCheck your Startup class code...Are u trying to read any "*.properties" file ?
It is possible that that particular properties file is present only in ManagedServer1 Box and Not in the ManagedServer2 & 3 boxes. -
How to keep the old jdbc log file
Hi,
whenever I restart the wls8.1, the jdbc logs are rewritten. I could not find my
previous log to debug anymore, how can i config to make write to a new file like
wls log. ThanksHi Jen!
This is bug in 8.1ga and sp1 and it is fixed ib 81sp2.
When you specify jdbc log name with ".log" suffix, jdbc logging doesn't
rotate as expected. So, the prior log file would be overwrited by new jdbc
log when you restart WLS.
Workaround
Remove ".log" from the file name. It would be added by WLS automatically.
Thanks,
Mitesh
Jen wrote:
Hi,
whenever I restart the wls8.1, the jdbc logs are rewritten. I could not find my
previous log to debug anymore, how can i config to make write to a new file like
wls log. Thanks -
Error while opening JDBC connection in external WLS
Hi
I created the ADF application on Jdev11.1.1 version.i deployed the application on External WLS 10.3.i got deployment successfull.but when testing from browser,i got the following error.
Messages for this page are listed below.
Error
Error while opening JDBC connection.
Error
ORA-01005: null password given; logon denied
Error
Unexpected exception caught: java.lang.NullPointerException, msg=null
For testing in Browser i am giving
http://localhost:7001/department_Application-viewcontroller-context-root/faces/Depvue1.jspx
In external WLS i created the JDBC datasorce connection in WLS domain successfully.i followed the steps given in deployment chapter of Oracle® Fusion Middleware Fusion Developer's Guide for Oracle Application Development Framework 11g Release 1 (11.1.1)
Anyone tell me i went wrong.Hi frank,
i got what you told me in previous reply.
In Jdev IDE ,I edited the local AM configurations by changing the JDBC URL to Datasource.
again i created the new EAR file for the app and i deployed it successfully on the external WLS10.3
now when i am running the app from external WLS,
i am getting the following error.
Messages for this page are listed below.
JNDI failure. Unable to lookup Data Source at context java:comp/env/jdbc/Connection1DS
Error
Error
Unable to resolve 'jdbc.Connection1DS'. Resolved 'jdbc'
Error
Unexpected exception caught: java.lang.NullPointerException, msg=null
in External Wls my JDBC Datasource name is" JDBC Data Source-1",JNDI Name :"jdbc/jdbcds".
In Jdev , JDBC Datasource name of AppModule local is : java:comp/env/jdbc/Connection1DS
<strong>Here How to override the local JdbcDS name in Jdev11g with the JDBC Datasource name existing in the external WLS .
</strong>
While running the Application ,it is going for the JDBC Datasource Name given in JdevIDE.
Can you tell me where i have to change to run application successfully from WLS.
Edited by: sj0609 on Oct 29, 2008 4:45 PM -
After a one week logout and shutdown my macpro 1,1 laptop running OSx 10.6.8 shows a black screen at startup attempts. The battery is fully charged and both resetting the power manager and zapping the PRAM have failed to permit startup. What else can I try?
Startup – Black screen with cursor
Startup Issues - Resolve
Startup Issues - Resolve (2)
Maybe you are looking for
-
I have a ipod classic 4th gen with 20gb and it has stopped working. I reset it when I first got it and put my songs on it and it worked fine. I let is set for a few months while I tried to find a new ipod cable for my car. When I tried to use it, wit
-
My Mac Mail subfolders on my MacBook Air will not sync in alphabetical order. I am assuming it is a setting that I am not finding since my iMac based at my home office is fine, so is my iPad and iPhone. The core source is Exchange.
-
I'm looking to go from 8.1.1 to 9.0.1 Is this a direct path upgrade or do I have to go from 8.1.1 to 8.6.X . I've been able to find docmentatin called Upgrade Guide for PowerCenter 8.5.x and 8.6.x, but can't find any on Upgrade Guide for PowerCenter
-
Ecperf runtime bugs on BEA WebLogic Server
I have deployed Ecperf on Weblogic server, Oracle DB on Win 2000 and tested it with the web client according to the Ecperf/README.html document, all the tests worked just fine. And I also did a data load using "loaddb.nt.bat" file, the load was succe
-
Inventory Management SnapShot model
In the How to guide it discusses on how to create a SNAPSHOT model for monthly loads. Can I create a SNAPSHOT ODS and eliminate the Cube as part of my Data Flow and if so I believe the only change that I need to make is to check the BEx reporting fla