Weblogic 6.1 SP2 hangs up at database command, PATCH needed!
Hello,
I use weblogic 6.1 SP2 on Windows and Solaris
DB-Driver: Oracle Thin Driver for Oracle 9i
Database OP System: Win2000
My application runs fine. After some time (about 15.000 db operations)
at load tests, the weblogic 6.1 server hangs up without an error message
in the logs at a any desired database command.
I use the database pool from weblogic.
The database operations are made with the TX-Datasource.
The main database operation is a call of an oracle stored
procedure.
I suppose, that the weblogic hangs up in a synchronized
block of the pool, but the crash could also have an other reason.
After the crash, the whole instance is dead and must be restarted.
I can reconstruct the crash on windows and solaris.
I always thought, weblogic is reliably?
Is there any patch to fix this problem?
I am very thankful for every help to fix this problem.
Thank you in advance
Markus
Hi,
here is the source code of the the stateless session bean (S1), which
calles the oracle stored procedure.The commit or rollback is done in
the main interface (stateless session bean with user managed
transactions).
java.sql.CallableStatement stmt=null;
java.sql.Connection conn = null;
try {
javax.sql.DataSource ds =
at.one.bmw.system.SystemConfig.getDataSource();
conn=ds.getConnection();
stmt=conn.prepareCall("{call routeChargingRecord(?,?,?,?,?,
int i=1;
stmt.setString(i++,seq_number);
stmt.setInt(i++,custTypeID.intValue());
stmt.setString(i++,msisdn.toString());
stmt.setLong(i++,billing_serviceID.longValue());
stmt.setLong(i++,serviceGroupID.longValue());
stmt.setString(i++,transactionID);
stmt.setInt(i++,typeID.intValue());
stmt.setInt(i++,applicationID.intValue());
stmt.setString(i++,gateway_number);
stmt.setString(i++,smsc_serviceID);
stmt.setString(i++,smsc_tarifID);
stmt.setString(i++,desc);
stmt.setString(i++,beneficiaries);
stmt.setString(i++,attr0);
stmt.setString(i++,attr1);
stmt.setString(i++,attr2);
stmt.setString(i++,attr3);
stmt.setString(i++,deliveryNotes);
int xx=stmt.executeUpdate();
try { stmt.close(); } catch (Exception en) {}
try { conn.close(); } catch (Exception eb) {}
conn=null; stmt=null;
} // end try
catch (Exception e) {
this.sessionContext.setRollbackOnly();
try { stmt.close(); } catch (Exception en) {}
try { conn.close(); } catch (Exception eb) {}
throw new EJBAppException(msg+"\n"+e.getMessage());
} // end catch
Thank you for your help.
"Sree Bodapati" <[email protected]> wrote in message news:<[email protected]>...
Hi Markus,
Can you please post the test code that can demonstrate the hang here.
sree
"Markus Häusler" <[email protected]> wrote in message
news:[email protected]...
Hello,
I use weblogic 6.1 SP2 on Windows and Solaris
DB-Driver: Oracle Thin Driver for Oracle 9i
Database OP System: Win2000
My application runs fine. After some time (about 15.000 db operations)
at load tests, the weblogic 6.1 server hangs up without an error message
in the logs at a any desired database command.
I use the database pool from weblogic.
The database operations are made with the TX-Datasource.
The main database operation is a call of an oracle stored
procedure.
I suppose, that the weblogic hangs up in a synchronized
block of the pool, but the crash could also have an other reason.
After the crash, the whole instance is dead and must be restarted.
I can reconstruct the crash on windows and solaris.
I always thought, weblogic is reliably?
Is there any patch to fix this problem?
I am very thankful for every help to fix this problem.
Thank you in advance
Markus
Similar Messages
-
Weblogic 6.1 sp2 hangs after sometimes.
Our server hangs after 1 hour or tow for no apperent reason. It seem like the port get chocked and there in no way I can ping it. The JVM is running and I do not see any core dump. Neiter I see any other error but the server just stops listening on its port.
I cannot ping the server, I cannot get the core dump there is nothing I can to
to the server. Bellow is the thread dump but it is not much help either.
"ExecuteThread: '19' for queue: 'default'" daemon prio=5 tid=0x5d3778 nid=0x21
waiting on monitor [0xb2a81000..0xb2a819d8]
at java.lang.Object.wait(Native Method)
- waiting on <b8c3b430> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
- locked <b8c3b430> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread: '18' for queue: 'default'" daemon prio=5 tid=0x5d2da8 nid=0x20
waiting on monitor [0xb2b81000..0xb2b819d8]
at java.lang.Object.wait(Native Method)
- waiting on <b8c3b3c0> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
- locked <b8c3b3c0> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread: '17' for queue: 'default'" daemon prio=5 tid=0x597358 nid=0x1f
runnable [0xb2c7f000..0xb2c819d8]
at oracle.jdbc.oci8.OCIDBAccess.do_fetch(Native Method)
at oracle.jdbc.oci8.OCIDBAccess.fetch(OCIDBAccess.java:1424)
- locked <c53c7e90> (a oracle.jdbc.oci8.OCIDBAccess)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1918)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2107)
at oracle.jdbc.driver.OracleStatement.doScrollStmtExecuteQuery(OracleStatement.java:5597)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:590)
- locked <b85d6058> (a oracle.jdbc.driver.OracleStatement)
- locked <c53c8fc0> (a oracle.jdbc.driver.OracleConnection)
at weblogic.jdbc.jts.Statement.executeQuery(Statement.java:157)
at weblogic.jdbc.rmi.internal.StatementImpl.executeQuery(StatementImpl.java:79)
at weblogic.jdbc.rmi.SerialStatement.executeQuery(SerialStatement.java:80)
at com.silknet.ebiz.silkdataobject.jdbc2.SilkJDBC2Executor.executeQuery(SilkJDBC2Executor.java:71)
at com.silknet.ebiz.silkdataobject.jdbc2.SilkJDBC2Executor.executeQuery(SilkJDBC2Executor.java:36)
at com.silknet.ebiz.silkdataobject.SilkDatabase.executeQuery(SilkDatabase.java:175)
at com.silknet.ebiz.silkdataobject.SilkDatabase.executeQuery(SilkDatabase.java:85)
at com.silknet.ebiz.silkdataobject.PlanExecuter.sqlToXML(PlanExecuter.java:1408)
at com.silknet.ebiz.silkdataobject.PlanExecuter.executePlan(PlanExecuter.java:159)
at com.silknet.ebiz.silkdataobject.SDOViewPlan.execute(SDOViewPlan.java:213)
at com.silknet.ebiz.silkdataobject.SDOViewPlan.execute(SDOViewPlan.java:191)
at com.silknet.ebiz.silkdataobject.Query.listInstances(Query.java:229)
at com.silknet.ebiz.silkdataobject.ejb.QueryBean.listInstances(QueryBean.java:74)
at com.silknet.ebiz.silkdataobject.ejb.QueryBean_rlzhdu_EOImpl.listInstances(QueryBean_rlzhdu_EOImpl.java:37)
at java.lang.reflect.Method.invoke(Native Method)
at com.silknet.ebiz.silkrequest.server.adapter.AdapterDirector.invokeEJB(AdapterDirector.java:451)
at com.silknet.ebiz.silkrequest.server.adapter.AdapterDirector.invokeAdapter(AdapterDirector.java:153)
at com.silknet.ebiz.silkrequest.server.bs.ServiceDirector.invokeService(ServiceDirector.java:100)
at com.silknet.ebiz.silkrequest.server.bs.ServiceDirector.invokeService(ServiceDirector.java:159)
at com.silknet.ebiz.silkrequest.server.bs.ServiceDirector.invokeService(ServiceDirector.java:228)
at com.silknet.ebiz.silkrequest.client.LocalClient.invokeService(LocalClient.java:49)
at com.silknet.ebiz.client.BSManager.sendRequests(BSManager.java:191)
at com.silknet.ebiz.client.BSManager.sendRequests(BSManager.java:147)
at com.silknet.ebiz.silkmodels.SilkModel.doQuery(SilkModel.java:174)
at com.silknet.ebiz.silkmodels.BusinessObjectView.getData(BusinessObjectView.java:633)
at com.bcbs.ebiz.uhv.RequestPopulationNew.populateFromSCR(Unknown Source)
at jsp_servlet._uhv.__Request._jspService(__Request.java:231)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
"ExecuteThread: '16' for queue: 'default'" daemon prio=5 tid=0x596870 nid=0x1e
waiting on monitor [0xb2d81000..0xb2d819d8]
at java.lang.Object.wait(Native Method)
- waiting on <b8c3b2e0> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
- locked <b8c3b2e0> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread: '15' for queue: 'default'" daemon prio=5 tid=0x595d88 nid=0x1d
waiting on monitor [0xb2e81000..0xb2e819d8]
at java.lang.Object.wait(Native Method)
- waiting on <b8c3b270> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
- locked <b8c3b270> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118) -
Weblogic portal is getting hanged after a regular interval
Hi,
We are using WLP 8.1 SP 5 on a HP Unix environment. Our Weblogic instance is getting hanged and we need to restart the same. This problem is happing once in a 3 weeks time. From console we cheked that avilable memory for JVM heap is quite low when this happens. Below are the some of the log messages we have found in the weblogic log:
<Jun 28, 2010 6:12:59 AM GMT> <Error> <HTTP> <BEA-101083> <Connection failure.
java.net.SocketException: Error in poll for fd=172, revents=32
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:131)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
<Jun 28, 2010 6:45:14 AM GMT> <Error> <WebLogicServer> <BEA-000337> <ExecuteThread: '57' for queue: 'default' has been busy for "966" seconds working on the request "Http Reques
t: /Xxxxx/global/docs/en/careers/Xxxxx_Power_Source.wmv", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
********* resources error jsp is called *******
<Jun 28, 2010 7:55:14 AM GMT> <Error> <WebLogicServer> <BEA-000337> <ExecuteThread: '13' for queue: 'default' has been busy for "606" seconds working on the request "Http Reques
t: /Xxxxx/global/docs/en/xxxxx/media_publications/technical_papers/xxxx.pdf", which is more than the configured time (StuckThreadMaxTime) of "600" seco
nds.>
********* resources error jsp is called *******
<Jun 28, 2010 7:46:13 AM GMT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=12830383,name=xxxxxportal,context-path=)] mt:mail: Could not send message
javax.mail.SendFailedException: No recipient addresses
at javax.mail.Transport.send0(Transport.java:111)
at javax.mail.Transport.send(Transport.java:81)
at org.apache.taglibs.mailer2.BackgroundMailThread.run(BackgroundMailThread.java:65)
********* resources error jsp is called *******
Any help is highly appriciated.Hi,
Please find below my findings about the memory leak.
Many (around 40 where max connection is 50) connection were created without they getting closed in a very short span of time. This caused the connection pool to be filled as rest of the connections in the connection pool were doing something else. Below is the log message:
####<Jul 4, 2010 12:24:01 AM GMT> <Info> <Common> <domainname.xxxxxxxx.com> <EXL> <ExecuteThread: '4' for queue: 'default'> <<anonymous>> <BEA1-39390F6683087D485CB1> <BEA-000627> <Reached maximum capacity of pool "portalPool", making "0" new resource instances instead of "1".>
####<Jul 4, 2010 12:24:01 AM GMT> <Info> <Common> <domainname.xxxxxxxx.com> <EXL> <ExecuteThread: '48' for queue: 'default'> <<anonymous>> <BEA1-393D0F6683087D485CB1> <BEA-000627> <Reached maximum capacity of pool "portalPool", making "0" new resource instances instead of "1".>
####<Jul 4, 2010 12:26:06 AM GMT> <Info> <Common> <domainname.xxxxxxxx.com> <EXL> <ExecuteThread: '45' for queue: 'default'> <<anonymous>> <BEA1-397A0F6683087D485CB1> <BEA-000627> <Reached maximum capacity of pool "portalPool", making "0" new resource instances instead of "1".>
This caused all the threads handling request to the application hanged.
####<Jul 4, 2010 12:29:24 AM GMT> <Error> <WebLogicServer> <domainname.xxxxxxxx.com> <EXL> <weblogic.health.CoreHealthMonitor> <<WLS Kernel>> <> <BEA-000337> <ExecuteThread: '1' for queue: 'default' has been busy for "636" seconds working on the request "Http Request: /xxxxxxxx.portal", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
####<Jul 4, 2010 12:29:24 AM GMT> <Error> <WebLogicServer> <domainname.xxxxxxxx.com> <EXL> <weblogic.health.CoreHealthMonitor> <<WLS Kernel>> <> <BEA-000337> <ExecuteThread: '2' for queue: 'default' has been busy for "696" seconds working on the request "Http Request: /xxxxxxxx.portal", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
69 of 70 threads hanged and logged this error message
Also, other Weblogic modules (EJBs etc.) were not able to release connections due to this connection leak problem.
<Jul 4, 2010 12:31:13 AM GMT> <Info> <EJB> <domainname.xxxxxxxx.com> <EXL> <ExecuteThread: '15' for queue: 'default'> <<anonymous>> <BEA1-38C90F6683087D485CB1> <BEA-010051> <EJB Exception occurred during invocation from home: [email protected]106df27 threw exception: javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 502 seconds
BEA1-38C90F6683087D485CB1
These hanged threads and EJBs caused the memory leak in JVM heap.
####<Jul 4, 2010 2:00:35 AM GMT> <Error> <T3Misc> <domainname.xxxxxxxx.com> <EXL> <weblogic.time.TimeEventGenerator> <<WLS Kernel>> <> <BEA-000712> <Exception invoking Scheduled Trigger
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
>
When checked the JDBC log the below exception was found:
SQLException: SQLState(null) vendor code(17002)
SQLException: SQLState(null) vendor code(17002)
java.sql.SQLException: Io exception: Broken pipe (errno:32)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
So, what might cause this JDBC error. Is the problem at Weblogic end or the database end? It seems that the connections are hanging due to this JDBC error which is causing the connection pool to be filled up. Subsequently threads are hanging which leads to memory leak.
Please help as this issue is reoccuring again and again!!! -
Install hangs in "Clone Database Creation"
I try to install Oracle 11g on my computer. The installation pass all the checks and completes installing the files, then go to "Oracle Database COnfiguration Assistant".
In the "Database Configuration Assistant" dialog, it displays the progress bar to 46% and said "clone database creation in progress", and then the whole progress hangs for 8 hours without any changes. So I think the installer is dead.
I shutdown the installer and computer. Then restart. Then stop all the Oracle services, then call the deinstall to deinstall everything, remove all the registry entries and installed files.
I then restart computer and reinstall Oracle, but the installation hangs on the same progress again. I repeat this for several times. But always cannot complete the installation.
I think maybe there are some problems in cloning the database, so I check the log file, which is appended in this article. One problem is that the creating time of the log is about 8 am, but when I wait to 16 pm, the progress is still hangs and the creating/updating time of the log file is still 8 am, means Oracle does not update for about 8 hours.
The computer environment: Lenovo T500 laptop with WIndows XP(SP3) installed.
Log file:
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
SP2-0640: Not connected
Database closed.
SP2-0640: Not connected
Database dismounted.
ORA-28056: Writing audit records to Windows Event Log failed
OSD-792246492: Message 792246492 not found; product=RDBMS; facility=SOSD
O/S-Error: (OS 1502) ??????????????????
ORA-01081: cannot start already-running ORACLE - shut it down first
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
ERROR:
ORA-28056: Writing audit records to Windows Event Log failed
OSD-216442576: Message 216442576 not found; product=RDBMS; facility=SOSD
O/S-Error: (OS 1502) ?????????????????? ORA-28056: Writing audit records to
Windows Event Log failed
OSD-216442576: Message 216442576 not found; product=RDBMS; facility=SOSD
O/S-Error: (OS 1502) ??????????????????
specify password for SYS as parameter 1:
specify password for HR as parameter 2:
specify password for OE as parameter 3:
specify password for PM as parameter 4:
specify password for IX as parameter 5:
specify password for SH as parameter 6:
specify password for BI as parameter 7:
specify INPUT metadata import file as parameter 8:
specify INPUT database backup file for tablespace EXAMPLE as parameter 9:
specify OUTPUT database file for tablespace EXAMPLE as parameter 10:
specify OUTPUT log directory as parameter 11:
Sample Schemas are being plugged in ...
ERROR:
ORA-28056: Writing audit records to Windows Event Log failed
OSD-216442576: Message 216442576 not found; product=RDBMS; facility=SOSD
O/S-Error: (OS 1502) ?????????????????? ORA-28056: Writing audit records to
Windows Event Log failed
OSD-216442576: Message 216442576 not found; product=RDBMS; facility=SOSD
O/S-Error: (OS 1502) ??????????????????
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
Edited by: 1006616 on 2013-5-18 下午3:081006616 wrote:
The event log problem is not fatal. It will popup a warning said cannot write into the event log, and I click "Ignore" to continue. But the installation still hangs at 46%. I try to purge the event log, and try again. The install will still hangs.
ORA-28056: Writing audit records to Windows Event Log failed
you are entitled to your opinion, regardless of how misguided it may be.
You don't have to convince me, about your reality.
If you want Oracle to install correctly, you need to make sure that NO errors get thrown.
Only you can fix what is wrong on your system. -
Deployment problem - Weblogic 8.1 SP2
I've created a simple, one-page project to test deployment to Weblogic 8.1 SP2.
I followed the instructions in http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/weblogicdeploy.html except for the database related parts (my project does not access a database).
On startup, Weblogic fails to proload the FacesServlet for my app:
####<May 18, 2006 2:45:42 PM PDT> <Error> <HTTP> <hqp-vs-hypdev01> <ProtivitiServer> <main> <<WLS Kernel>> <> <BEA-101216> <Servlet: "Faces Servlet" failed to preload on startup in Web application: "HelloTest".
javax.servlet.ServletException
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:884)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
and when I try to access my Page1.jsp, Weblogic throws another (related?) exception:
<BEA-101017> <[ServletContext(id=1830320,name=HelloTest,context-path=/HelloTest)] Root cause of ServletException.
java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
Any help with this? Do I need Weblogic 8.1 SP4?hi,
0. Check WLS classpath in startWeblogic.{cmd.sh} for JSF jars
1. Check your web.xml with section conserning FacesServlet
it shoul look like:
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
2. Try to find any other servlet and look at its <load-on-startup> section.
Final Java Servlet Specification Ver. 2.4 page 127:
" The load-on-startup element indicates that this
servlet should be loaded (instantiated and have
its init() called) on the startup of the web
application. The optional contents of these
element must be an integer indicating the order in
which the servlet should be loaded. If the value
is a negative integer, or the element is not
present, the container is free to load the servlet
whenever it chooses. If the value is a positive
integer or 0, the container must load and
initialize the servlet as the application is
deployed. The container must guarantee that
servlets marked with lower integers are loaded
before servlets marked with higher integers. The
container may choose the order of loading of
servlets with the same load-on-start-up value "
Kind regards,
Alex
Message was edited by:
AKlimenko -
Weblogic 8.1 SP2 ORA-01000 caused by Weblogic's pending XA recovery process.
Hi, we are migrating our application from Weblogic 6.1 SP5 to Weblogic 8.1
SP2 and we are facing the nasty ORA-01000 problem.
After tracking it for some days we happened to find "what" was causing it.
After issuing the following select on an Oracle instance used by a weblogic
running for a day
SELECT sql_text,count(*) FROM V$OPEN_CURSOR
GROUP BY sql_text
ORDER BY sql_text
and this is what we get::
SQL_TEXT COUNT(*)
ALTER SESSION SET NLS_LANGUAGE = 'AMERICAN' 2
ALTER SESSION SET NLS_TERRITORY = 'AMERICA' 2
SELECT 1 FROM DUAL 2
SELECT VALUE FROM NLS_INSTANCE_PARAMETERS WHERE PARAMETER =' 2
SELECT count (*) FROM SYS.DBA_PENDING_TRANSACTIONS 2
SELECT formatid, globalid, branchid FROM SYS.DBA_PENDING_TRA 2669
SELECT max(version) FROM "SYS"."JAVA$POLICY$SHARED$TABLE" 2
begin :1 := JAVA_XA.xa_commit_new (:2,:3,:4,:5); end; 2
begin :1 := JAVA_XA.xa_end_new(:2,:3,:4,:5); end; 2
begin :1 := JAVA_XA.xa_start_new(:2,:3,:4,:5,:6); end; 2
insert into javasnm$(short, longname, longdbcs) values(:1,:2 2
select longname from javasnm$ where short = :1 2
(In fact there are two Weblogic instances running against the same Oracle
instance and as we didn't filtered by connection I supouse that's why
numbers "seem" to be "duplicated")
We do currently have 1500 cursors max declared for session in our Oracle's
ora.init file.
After activating Weblogic's jdbc.log we have seen that with an interval of 5
seconds the
SELECT formatid, globalid, branchid FROM SYS.DBA_PENDING_TRANSACTIONS
is issued against the DBMS.
After executing both selects on an SQLPLUS console we have seen that the
SELECT count(*)... sentence returns 1 and after looking at
SYS.DBA_2PC_PENDING table there is one transaction on it (although it was
already manually rollback forced three months ago). I know we should delete
already forced transactions in order to clean up that table but the fact is
we didn't and maybe that is what is causing Weblogic issuing the second
select (the SELECT formatid, globalid... one) periodically.
A number of questions come to our mind:
1. Is this Weblogic's correct behaviour? I mean, is it normal for weblogic
to issue this select every five seconds?
If yes.
2. Why is this select leaving opened cursors? I presume that this select is
being executed within a transaction and it's neither commited nor rolledback
If actually it is being executed within a transaction then:
3. Why is Weblogic opening a transaction to issue a select?
As additional info we have two datasources configured into our weblogic
server, I must say we do use TopLink as our persistence manager and it
requires both transactional (XA) and not transactional datasources to work.
We are using Oracle thin drivers (classes12.zip) to connect to an Oracle
8.1.7 database instance. I know that Weblogic 8.1 now ships with the
ojdbc14.jar Oracle thin driver classes but we are not sure if we can use it
with Oracle 8.1.7 (as it seems to be prepared to be used with Oracle 9.0.2.
Is it?).
Looking at jdbc.log we can also see this at the beginging of the file:
java.sql.SQLException: SQL operations are not allowed with no global
transaction by default for XA drivers. If the XA driver supports performing
SQL operations with no global transaction, explicitly allow it by setting
"SupportsLocalTransaction" JDBC connection pool property to true. In this
case, also remember to complete the local transaction before using the
connection again for global transaction, else a XAER_OUTSIDE XAException may
result. To complete a local transaction, you can either set auto commit to
true or call Connection.commit() or Connection.rollback().
I have readed somewhere at edocs.bea.com that Weblogic 8.1 -by default-
begins a transaction whenever using an XA connection (as some XA drivers
require a transaction to be started when using them, although IIRC this can
be disabled on Weblogic's console). If in fact it happens that we can
disable the default transaction oppening when using an XA connection, is it
safe? Is there a prefered way to solve this than disabling the transaction
"auto begining" feature?
I think there is also possible to disable Weblogic's pending transactions
auto-recover mechanism but we think this is a great Weblogic feature and we
would prefer not having to do it. As in two years we have managed to get
about three of them due to unexpected server crashes (even if it those cases
Weblogic 6.1 didn't managed to recover them at least it showed the problem
on the log).
Thanks if advance.
Regards.
Ignacio.Seems that removing classes12.zip from the classpath solves the problem. I
don't get that periodic error any more so now I don't get the ORA-01000. I
still seeing -from time to time- the "SQL operations are not allowed with no
global
transaction by default for XA drivers" error in the jdbc.log though, so I
presume the ORA-01000 would raise sooner or later but now with a much larger
period after starting the server.
Well there seems that ojdbc14.jar has not so subtle changes. Let's hope
there are not "newer" issues with it that would not happen with
classes12.zip.
Ignacio. -
WebLogic 8.1 SP2 bug in JDBC Pool creation for IBM Informix Driver - Type 4 XA
Funny business happens when you create a JDBC Connection Pool with IBM's Informix Driver - Type 4 XA under WebLogic 8.1 SP2
I have included the ifxjdbc.jar and ifxjdbcx.jar in the classpath in the the extENV.cmd, but I kept getting errors on connection:
weblogic.common.ResourceException: 0:com.informix.asf.IfxASFException: Attempt to connect to database server (myhost) failed. - with nested exception:
[weblogic.common.ResourceException: com.informix.asf.IfxASFException: Attempt to connect to database server (myhost) failed.]
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1180)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1040)
Then I realised the WebLogic console was swapping these properties:
serverName=ol_myserver
ifxIFXHOST=myhost
Terrible forehead-slap!
I rechecked and this what happens:
Informix Server: -> ifxIFXHOST
Host Name: -> serverName
But the URL is correct.
jdbc:informix-sqli://myhost:1543/mydb:informixServer=ol_myserver
Notice that the exception message says:
Attempt to connect to database server (myhost) failed.
AlphaAlpha Lau wrote:
Funny business happens when you create a JDBC Connection Pool with IBM's
Informix Driver - Type 4 XA under WebLogic 8.1 SP2
I have included the ifxjdbc.jar and ifxjdbcx.jar in the classpath in the
the extENV.cmd, but I kept getting errors on connection:
weblogic.common.ResourceException: 0:com.informix.asf.IfxASFException:
Attempt to connect to database server (myhost) failed. - with nested
exception:
[weblogic.common.ResourceException: com.informix.asf.IfxASFException:
Attempt to connect to database server (myhost) failed.]
at
weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1180)
at
weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1040)
Then I realised the WebLogic console was swapping these properties:
serverName=ol_myserver
ifxIFXHOST=myhost
Terrible forehead-slap!
I rechecked and this what happens:
Informix Server: -> ifxIFXHOST
Host Name: -> serverName
But the URL is correct.
jdbc:informix-sqli://myhost:1543/mydb:informixServer=ol_myserver
Notice that the exception message says:
Attempt to connect to database server (myhost) failed.
AlphaHi. If the URL has a particular property value, then don't add the property
redundantly in the pool's properties.
Joe -
Weblogic 6.1 sp2 & Oracle9i
Background:
Our system is running on weblogic 6.1 sp2 & oracle 8i rel 8.1.7.
We are intend to migrate the DB to oracle 9i rel 2.
Query:
i have succesfully migrated DB to oracle 9i and i have no problem to connect DB
from client. The problem i faced is our system fails to connect to DB which is
on 9i via weblogic connection pool, but if i divert to DB connection in weblogic
to DB in oracle 8i, it is running smooth. What i have not done?You need to have /export/home/bea/wlserver6.1/lib/solaris/oci901_8 in your LD_LIBRARY_PATH env variable so that the library
can be found and loaded dynamically. Check the startWebLogic.sh script for an example and make sure that it is getting set
appropriately when you start the server.
Bill
Winson Lee wrote:
Hello,
I have a problem about jDriver
the configuration is:
solaris 8
WLS 6.1 sp2
Oracle9i 9.0.1
jDriver oci 901_8
(Weblogic server and Oracle db in same machine)
I follow the "Installing WebLogic jDriver for Oracle" setting from BEA online
documantation.
but I got some error and exception as follow:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: System.loadLibrary(weblogicoci37) threw java.lang.UnsatisfiedLinkError:
/export/home/bea/wlserver6.1/lib/solaris/oci901_8/libweblogicoci37.so: ld.so.1:
/export/home/bea/jdk131/jre/bin/../bin/sparc/native_threads/java: ?P?R??: /usr/local/oracle/OraHome1/lib/libclntsh.so.9.0:
???~?? ELF ??§O?G ELFCLASS64
at weblogic.jdbc.oci.Driver.loadLibraryIfNeeded(Driver.java:226)
at weblogic.jdbc.oci.Driver.connect(Driver.java:76)
somebody can give me a hang,thanks!!!
-Winson -
Hi all,
In our production environment, we're getting the following exception when client requesting the transaction from EJB but it is not happening all the time. It just happens a couple time on day. I assume that it happens 5 out 100 requests.
Here is the exception...<br>
<b>================================<br>
Exception occurred during commit of transaction Name=[EJB com.xxx.xxx.ejb.MappingTrlsBean.getTranslation(java.math.BigDecimal,java.math.BigDecimal,java.math.BigDecimal,java.sql.Date,java.sql.Date)],Xid=BEA1-48F084989933A1C25F07(31980664),Status=Rolled back. [Reason=oracle.jdbc.xa.OracleXAException],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=76,seconds left=60,XAServerResourceInfo[DS35Pool]=(ServerResourceInfo[DS35Pool]=(state=rolledback,assigned=TTMsvr),xar=DS35Pool),XAServerResourceInfo[DS11Pool]=(ServerResourceInfo[DS11Pool]=(state=rolledback,assigned=TTMsvr),xar=DS11Pool),SCInfo[TTM+TTMsvr]=(state=rolledback),properties=({weblogic.transaction.name=[EJB com.bcbsmn.mappingtrls.ejb.MappingTrlsBean.getTranslation(java.math.BigDecimal,java.math.BigDecimal,java.math.BigDecimal,java.sql.Date,java.sql.Date)]}),local properties=({}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=TTMsvr+172.16.208.50:6333+TTM+t3+, XAResources={},NonXAResources={})],CoordinatorURL=TTMsvr+172.16.208.50:6333+TTM+t3+): oracle.jdbc.xa.OracleXAException
<br>...............<br><br>
--------------- nested within: ------------------
weblogic.transaction.RollbackException: Could not prepare resource 'DS35Pool - with nested exception:
[oracle.jdbc.xa.OracleXAException]
<br>==============================</b><br>
I have a couple of connection pools setup called DS35Pool and DS11Pool.
The configuration of the both driver is
1)Driver Classname:oracle.jdbc.xa.client.OracleXADataSource
using ojdbc14.jar from weblogic 8.1 sp2
2)Remove Infected Connections Enabled is checked
3)Allow Shrinking is checked with 900 seconds
4)Test Reserved Connections is checked
5)Keep XA Connection Till Transaction Complete is checked
6)Supports Local Transaction is checked.
Thank you in advance for any help!!!That appears to be a bug in the console. You might try the command-line tool java weblogic.Deployer for deploying apps. java weblogic.Deployer -examples will give detailed usage info.
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/ -
Hi, every one:
Here's my question of my day - >>>
I am using weblogic 6.1 SP2 right now - running on Unix and Win 2K, and
I got a web service up and running called Price Update web service through
which user can pick up a price and push a deal to another web service
called: deal service, the deal service will take the user deal and book the
deal ( sending a JMS message to a Queue, a MD will pick up and do the work,
then send the confirmation to another JMS Queue ), then the confirmation
will be picked up and sent to another web service , called: User Deal
Confirmation Service, here's the question:
1. Since the client application is only allowed to see its own confirmed
deals, how I can make the confirmed deal encrypted based on a server
generated key or the session id that client application provides
2. Now, I have 3 webservices: update, deal and confirm, each of them has a
client.jar file available - from the client application point of view, do I
need all these 3 client.jar, or I just need one of them ?????
3. How can I use web service call back in wls 6.1 sp2 ?????? - in the 7.0
beta, you can do this easily in the workshop, in the second question above,
I think I need some how relate the confirmation to the client conversation
id ??
thanks a lot for the input, have a nice day.
regards,
mark.Any comments ?
mark
"markhu" <[email protected]> wrote in message
news:[email protected]..
Hi, every one:
Here's my question of my day - >>>
I am using weblogic 6.1 SP2 right now - running on Unix and Win 2K,and
I got a web service up and running called Price Update web service through
which user can pick up a price and push a deal to another web service
called: deal service, the deal service will take the user deal and bookthe
deal ( sending a JMS message to a Queue, a MD will pick up and do thework,
then send the confirmation to another JMS Queue ), then the confirmation
will be picked up and sent to another web service , called: User Deal
Confirmation Service, here's the question:
1. Since the client application is only allowed to see its own confirmed
deals, how I can make the confirmed deal encrypted based on a server
generated key or the session id that client application provides
2. Now, I have 3 webservices: update, deal and confirm, each of them has a
client.jar file available - from the client application point of view, doI
need all these 3 client.jar, or I just need one of them ?????
3. How can I use web service call back in wls 6.1 sp2 ?????? - in the 7.0
beta, you can do this easily in the workshop, in the second questionabove,
I think I need some how relate the confirmation to the client conversation
id ??
thanks a lot for the input, have a nice day.
regards,
mark. -
Can't deploy a SINGLE bean in weblogic 6.1 SP2 w/o application reload
Anyone know how to update a single bean in an application without
redeploying the entire application?
We have a project containing 101 beans (session and entity) and 372
jsps which we are deploying on weblogic 6.1, SP2 as a single
application. The project is deployed in an exploded directory format
as follows:
trader/
META-INF/application.xml
lib/
third-party.jar
third-party.jar (etc.)
SessionBean.jar
EntityBean.jar (etc.)
trader/
WEB-INF/web.xml
META-INF/MANIFEST.MF (contains Class-Path: entry to lib dir)
jsp/html/gif's reside below this point.
Each bean jar has a META-INF/MANIFEST.MF to resolve third-party
library dependencies through the use of the Class-Path entry.
When we we try to update a single bean's implementation, the
entire application reloads, which can take between 10 - 30 minutes.
We have tried using the weblogic.deploy tool as well as undeploying
and redeploying the bean from the console. In both cases, the
entire application reloads.
When we use weblogic.deploy, we've tried the following:
weblogic.deploy
-url T3://localhost:7001
update weblogicpwd trader ~/trader/build/SessionBean.jar
and
weblogic.deploy
-url T3://localhost:7001
-component SessionBean:srvr1
update weblogicpwd trader ~/trader/build/SessionBean.jarAnyone know how to update a single bean in an application without
redeploying the entire application?
We have a project containing 101 beans (session and entity) and 372
jsps which we are deploying on weblogic 6.1, SP2 as a single
application. The project is deployed in an exploded directory format
as follows:
trader/
META-INF/application.xml
lib/
third-party.jar
third-party.jar (etc.)
SessionBean.jar
EntityBean.jar (etc.)
trader/
WEB-INF/web.xml
META-INF/MANIFEST.MF (contains Class-Path: entry to lib dir)
jsp/html/gif's reside below this point.
Each bean jar has a META-INF/MANIFEST.MF to resolve third-party
library dependencies through the use of the Class-Path entry.
When we we try to update a single bean's implementation, the
entire application reloads, which can take between 10 - 30 minutes.
We have tried using the weblogic.deploy tool as well as undeploying
and redeploying the bean from the console. In both cases, the
entire application reloads.
When we use weblogic.deploy, we've tried the following:
weblogic.deploy
-url T3://localhost:7001
update weblogicpwd trader ~/trader/build/SessionBean.jar
and
weblogic.deploy
-url T3://localhost:7001
-component SessionBean:srvr1
update weblogicpwd trader ~/trader/build/SessionBean.jar -
Which version of jdbc thin driver should i use to achieve distributed transaction
with oracle 8.1.5 in weblogic 6.1 sp2
right now if iam using the driver classes provided in weblogic.jar iam gettig the
following Exception
AccountBean.ejbCreate( id = accountId, initial balance = $ 3000.0)
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has occured
in the transaction branch start(
) failed on resource 'OracleXAPool' Unexpected error during start for XAResource
'OracleXAPool': null
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1044)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1010)
at weblogic.jdbc.jta.Connection.getXAConn(Connection.java:148)
at weblogic.jdbc.jta.Connection.prepareStatement(Connection.java:226)
at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:135)
at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:76)
at examples.ejb.basic.beanManaged.AccountBean.ejbCreate(Unknown Source)
at examples.ejb.basic.beanManaged.AccountBean_g1748h_Impl.ejbCreate(AccountBean_g1748h_Impl.java:172)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.manager.DBManager.create(DBManager.java:492)
at weblogic.ejb20.manager.DBManager.remoteCreate(DBManager.java:462)
at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:190)
at examples.ejb.basic.beanManaged.AccountBean_g1748h_HomeImpl.create(AccountBean_g1748h_HomeImpl.java:76)
at examples.ejb.basic.beanManaged.AccountBean_g1748h_HomeImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:158)
at weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:253)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:220)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy126.create(Unknown Source)
at examples.wtc.atmi.simpapp.ToupperBean.putMessage(ToupperBean.java:194)
at examples.wtc.atmi.simpapp.ToupperBean_8roqg7_EOImpl.putMessage(ToupperBean_8roqg7_EOImpl.java:284)
at examples.wtc.atmi.simpapp.ToupperBean_8roqg7_EOImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Regards
Ranga Rao
Oracle Server 8.1.5 does not provide support for 2PC.
Full XA support is provided from version 8.1.7.
Sergi
"Lawrence" <[email protected]> wrote:
>
>Ranga,
>Please use classes12.zip for this.If you still find problem, please let
>me know.
>Thanks
>Lawrence
>
>"Ranga Rao" <[email protected]> wrote:
>>
>>
>>Which version of jdbc thin driver should i use to achieve distributed transaction
>>with oracle 8.1.5 in weblogic 6.1 sp2
>>
>>right now if iam using the driver classes provided in weblogic.jar iam
>gettig
>>the
>>following Exception
>>
>>////////////////////////////////////////////////////////////////////////////////////////////
>>AccountBean.ejbCreate( id = accountId, initial balance = $ 3000.0)
>>java.sql.SQLException: XA error: XAER_RMERR : A resource manager error
>has
>>occured
>>in the transaction branch start(
>>) failed on resource 'OracleXAPool' Unexpected error during start for XAResource
>>'OracleXAPool': null
>> at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1044)
>> at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1010)
>> at weblogic.jdbc.jta.Connection.getXAConn(Connection.java:148)
>> at weblogic.jdbc.jta.Connection.prepareStatement(Connection.java:226)
>> at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:135)
>> at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:76)
>> at examples.ejb.basic.beanManaged.AccountBean.ejbCreate(Unknown
>>Source)
>> at examples.ejb.basic.beanManaged.AccountBean_g1748h_Impl.ejbCreate(AccountBean_g1748h_Impl.java:172)
>> at java.lang.reflect.Method.invoke(Native Method)
>> at weblogic.ejb20.manager.DBManager.create(DBManager.java:492)
>> at weblogic.ejb20.manager.DBManager.remoteCreate(DBManager.java:462)
>> at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:190)
>> at examples.ejb.basic.beanManaged.AccountBean_g1748h_HomeImpl.create(AccountBean_g1748h_HomeImpl.java:76)
>> at examples.ejb.basic.beanManaged.AccountBean_g1748h_HomeImpl_WLSkel.invoke(Unknown
>>Source)
>> at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
>> at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
>> at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
>> at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:158)
>> at weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
>> at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
>> at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:253)
>> at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:220)
>> at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
>> at $Proxy126.create(Unknown Source)
>> at examples.wtc.atmi.simpapp.ToupperBean.putMessage(ToupperBean.java:194)
>> at examples.wtc.atmi.simpapp.ToupperBean_8roqg7_EOImpl.putMessage(ToupperBean_8roqg7_EOImpl.java:284)
>> at examples.wtc.atmi.simpapp.ToupperBean_8roqg7_EOImpl_WLSkel.invoke(Unknown
>>Source)
>> at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
>> at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
>> at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
>> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
>> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>>/////////////////////////////////////////////////////////////////////////////////
>>
>>Regards
>>Ranga Rao
>>
>>
>
-
Upgrading Weblogic 8.1, SP2 to Weblogic 8.1, SP6
wanna to the code changes that are required in web application while upgrading Weblogic 8.1, SP2 to Weblogic 8.1, SP6.
I am currently conducting the same type of upgrade. We have Platform 8.1 SP2 installed. We would like to upgrade to SP3, but I was not sure if any patches were required before the upgrade. After several dicussions with BEA Technical Support, here is what I learned.
To upgrade 8.1 SP2 to SP3, you must first install the following patch...
http://dev2dev.bea.com/products/wlplatform81/patch/wlplat81sp2_patch.jsp
...then use SmartUpdate to upgrade the SP3.
If you choose to fully install 8.1 SP3, then you do not need to install the patch because 8.1 SP3 includes the pacthes. Installing the patches would make no difference anyway since the SP2 installation would be deleted to make room for the SP3 installation. This option is not an upgrade, it is a full installation.
Hope it helps!
Raffi -
JSP compiler in Weblogic 7.1 SP2 and Weblogic 8.1
I have a web application (JSp and Servlets are generated) that loads fine with
Weblogic 8.1. However, I have problems with Weblogic 7.1 SP2. In trying to load
some of the JSP pages, I get the follwing type of errors
Parsing of JSP File '/consume_int.jsp' failed:
/consume_int.jsp(17): bean type com.mypackage.ConTypes.ConTypesJspBean has no
read method for property 'consume_int_Int_parameter1'
probably occurred due to an error in /consume_int.jsp line 17:
<H4>consume_int_Int_parameter1:</H4> <jsp:getProperty name="ConTypesJspBean" property="consume_int_Int_parameter1"/>
Wed Jun 09 20:01:34 BST 2004
Looking further, I found that for property x, there are methods getx() and not
getX(). Can this cause the problem. It seems to be working for some of the getx()
methods and not for other ones.
Any help would be appreciated.
Thanks,
MIB
It does NOT seem to work with methods getX and setX for property 'x' in Weblogic
7.1 SP2. It works fine in Weblogic 8.1. Any ideas ?
- MBI
"MIB" <[email protected]> wrote:
>
>I have a web application (JSp and Servlets are generated) that loads
>fine with
>Weblogic 8.1. However, I have problems with Weblogic 7.1 SP2. In trying
>to load
>some of the JSP pages, I get the follwing type of errors
>
>Parsing of JSP File '/consume_int.jsp' failed:
>--------------------------------------------------------------------------------
> /consume_int.jsp(17): bean type com.mypackage.ConTypes.ConTypesJspBean
>has no
>read method for property 'consume_int_Int_parameter1'
>probably occurred due to an error in /consume_int.jsp line 17:
><H4>consume_int_Int_parameter1:</H4> <jsp:getProperty name="ConTypesJspBean"
>property="consume_int_Int_parameter1"/>
>
>--------------------------------------------------------------------------------
>Wed Jun 09 20:01:34 BST 2004
>
>Looking further, I found that for property x, there are methods getx()
>and not
>getX(). Can this cause the problem. It seems to be working for some of
>the getx()
>methods and not for other ones.
>
>Any help would be appreciated.
>
>Thanks,
>
>MIB
-
Hi,
I'm using the build-in Oracle 8.1.6 thin driver that comes with
weblogic.jar of WebLogic 6.0 SP2. It doesn't store CLOBs. Here I have
to use the class weblogic.jdbc.common.OracleClob. Why?
WebLogic 5.1 SP 9 + Oracle 8.1.6 thin driver (external) does. Here I
use the class oracle.sql.CLOB.
Must I use a OCI driver?
Thanks,
JuergenI'd also recommend to switch to 8.1.7 thin driver. It's more stable.
Regards,
Slava Imeshev
"NhaBep" <[email protected]> wrote in message
news:3b71bbcf$[email protected]..
>
You can use thin driver to persist CLOB. One thing you must be sure to setautocommit
to false. Hope this help.
[email protected] (Juergen) wrote:
Hi,
I'm using the build-in Oracle 8.1.6 thin driver that comes with
weblogic.jar of WebLogic 6.0 SP2. It doesn't store CLOBs. Here I have
to use the class weblogic.jdbc.common.OracleClob. Why?
WebLogic 5.1 SP 9 + Oracle 8.1.6 thin driver (external) does. Here I
use the class oracle.sql.CLOB.
Must I use a OCI driver?
Thanks,
Juergen
Maybe you are looking for
-
Hi. When I boot to Boot Camp with the latest Apple Windows Support drivers can't see my USB Flash Drive, DVD and OS X volumes but not my USB external drive that has an MBR partition scheme (using iPartition from GUID) and in there it has different vo
-
Recently noticed several icons on my desktop had disappeared.... found them in applications and documents folder, but they should be living on my desktop and I didn't move them. This keeps happening... I wake up my computer, quite randomly it seems,
-
There is no math type expression in the insert icon of pages?
there is no math type expression in the insert icon of pages?
-
How to colorize parts of a picture in black and white with Aperture?
Hello, I have a question: How to colorize parts of a picture in black and white with Aperture?
-
Hi I am trying to perform a client copy in ECC60 system which I installed fresh. Each time I start a client copy from 000 or from 001 it fails with error saying "Read Error with table INEDXDT ." Also Tells me the oracle error ORA-03108: oranet: ORACL