Wl6.0找不着Oracle驱动,请指点
我配了一个JDBC Connection Pool,driver name 如下:oracle.jdbc.driver.OracleDriver
class12.zip已经copy到了 systempath\wlserver6.1\lib下了,
重新启动时,发生如下错误:
<2002-10-25 上午10时26分44秒> <Notice> <Management> <Starting discovery of Manag
ed Server... This feature is on by default, you may turn this off by passing -Dw
eblogic.management.discover=false>
然后就是狂等半天,接着除了一堆错,主要有:
oracle.net.TNSAddress.SOException
<2002-10-25 上午10时31分50秒> <Error> <JDBC> <Cannot startup connection pool "EJ
BPool" weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Io 异常: SO Exception was generated
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
我的oracle配置正确,是不是少了什么步骤呀?
多谢。我正在试!
但是我现在wl启动不起来了:
错误信息:
D:\bea\wlserver6.1>set CLASSPATH=.\lib\class12.zip;.;.\lib\weblogic_sp.jar;.\lib
\weblogic.jar;
D:\bea\wlserver6.1>echo off
* To start WebLogic Server, use the password *
* assigned to the system user. The system *
* username and password must also be used to *
* access the WebLogic Server console from a web *
* browser. *
D:\bea\wlserver6.1>"d:\bea\jdk131\bin\java" -hotspot -ms64m -mx64m -classpath .\
lib\class12.zip;.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar; -Dweblogic.Domain=my
domain -Dweblogic.Name=MM "-Dbea.home=d:\bea" -Dweblogic.management.password=web
logic -Dweblogic.ProductionModeEnabled=true "-Djava.security.policy==d:\bea\wlse
rver6.1/lib/weblogic.policy" weblogic.Server
- Raymond Zhang ([email protected]) -
Starting WebLogic Server ....
<2002-10-25 下午02时55分46秒> <Notice> <Management> <Loading configuration file
.\config\mydomain\config.xml ...>
<2002-10-25 下午02时55分50秒> <Notice> <WebLogicServer> <Starting WebLogic Admin
Server "MM" for domain "mydomain">
<2002-10-25 下午02时55分52秒> <Notice> <Management> <Starting discovery of Manag
ed Server... This feature is on by default, you may turn this off by passing -Dw
eblogic.management.discover=false>
在这里就停了!!
Similar Messages
-
Performanceproblem with WL6.1 JDBC and Oracle
Hi!
I have a big performance-problem using wl6.1, jdbc and oracle.
My Server is sending a Vector with NodeBeans via JDBC to a OracleDB. The answer
comes immediately with the timeout.
Why is the EJB waiting for the timeout?
Is it a problem of configuration?
Thanks
ThomasHi Sree,
here I send You the class with the main problem. The call queryDataSet.refresh();
is the timeconsuming part.
We are using WL6.1sp2, Oracle 8.1.7 with classes12. In our environment we can
not use connectionpools.
It comes back with a timeout AND the data. Calling it again immediately it takes
2/3 of the time the timeout is set.
Do You have a fine solution?
Thanks
Thomas
package ppif.db;
import java.rmi.*;
import ppif.bo.*;
import java.util.*;
import com.borland.dx.dataset.*;
import com.borland.dx.sql.dataset.*;
import java.math.*;
public class connector {
private ppif.mapping.NodeDescriptions nodeDescriptions;
public connector(ppif.mapping.NodeDescriptions nodeDescriptions) {
this.nodeDescriptions = nodeDescriptions;
public connector() {
this.nodeDescriptions = nodeDescriptions;
public Vector fetchNodes(ppif.bo.Node filterNode) throws RemoteException {
String childClassName = null;
Vector nodeVector = new Vector();
Node node = null;
if (nodeDescriptions == null) throw new RemoteException("nodeDescriptions ==
null");
// childClassName zu gegebenen filterNode ermitteln
if (filterNode.getClassName().equals("DefaultRoot")) childClassName = "ST";
if (filterNode.getClassName().equals("PrismaProjectsRoot")) childClassName =
"PrismaProjects";
if (childClassName == null) throw new RemoteException("Zum übergebenen filterNode
wurde kein chlidClassName gefunden.");
if (nodeDescriptions.getNodeDescription(childClassName) == null) throw new RemoteException("Für
die ChildClass "+childClassName+" ist kein Mapping definiert.");
// Vector mit Child-Knoten erzeugen durch DB-Zugriff
ppif.mapping.NodeDescription nodeDescription = nodeDescriptions.getNodeDescription(childClassName);
Database database = new Database();
ParameterRow parameterRow = null;
Column column = null;
QueryDataSet queryDataSet = new QueryDataSet();
// DB-Connect generieren
database.setConnection(new com.borland.dx.sql.dataset.ConnectionDescriptor(nodeDescription.dbUrl,
nodeDescription.dbUser, nodeDescription.dbPassword, false, "oracle.jdbc.driver.OracleDriver"));
int queryCount = 0;
// Schleife über alle queries der childKlasse, gemäss Mapping
for (Iterator it = nodeDescription.mappingQueries.iterator(); it.hasNext();
ppif.mapping.MappingQuery mappingQuery = (ppif.mapping.MappingQuery)it.next();
String queryString = mappingQuery.getQueryString();
parameterRow = mappingQuery.getParameterRow();
// ParameterRow mit Input-Werten füllen
for (int i=0; i<parameterRow.getColumnCount(); i++) {
String columnName = parameterRow.getColumn(i).getColumnName();
String filterAttributeName = columnName;
Object filterAttributeValue = filterNode.getAttribute(filterAttributeName).getVal1();
switch (parameterRow.getColumn(i).getDataType()) {
case com.borland.dx.dataset.Variant.BIGDECIMAL:
BigDecimal val = (BigDecimal)filterAttributeValue;
parameterRow.setBigDecimal(i, val);
break;
case com.borland.dx.dataset.Variant.STRING:
parameterRow.setString(i, (String)filterAttributeValue);
break;
default:
throw new RemoteException("Unbekannter Datentyp");
// Query generieren
queryDataSet.setQuery(new com.borland.dx.sql.dataset.QueryDescriptor(database,
queryString, parameterRow, false, Load.ALL));
// DB-Verbindung öffnen
queryDataSet.open();
// Rolle setzen
if (nodeDescription.dbRole != null) {
java.sql.Statement setRole;
String roleName = nodeDescription.dbRole;
String rolePwd = nodeDescription.dbRolePassword;
try {
java.sql.Connection jdbcConnection = database.getJdbcConnection();
setRole = jdbcConnection.createStatement();
setRole.execute("SET ROLE " + roleName + " IDENTIFIED BY " + rolePwd);
} catch (java.sql.SQLException exception) {
throw new RemoteException(exception.getMessage());
} catch (Exception exception) {
throw new RemoteException(exception.getMessage());
// Query ausführen
queryDataSet.refresh();
// Datensätze in Node-Objekte umwandeln
int columnCount = queryDataSet.getColumnCount();
String columnArray[];
columnArray = queryDataSet.getColumnNames(columnCount);
for(queryDataSet.first(); queryDataSet.inBounds(); queryDataSet.next()) {
Node rNode = nodeDescriptions.createNodeInstance(childClassName);
// Abfrageergebnissen in eine Attributliste übertragen
for (int i=0; i<columnCount; i++) {
nodeVector.add(rNode);
queryCount++;
return nodeVector;
public ppif.mapping.NodeDescriptions getNodeDescriptions() {
return nodeDescriptions;
public void setNodeDescriptions(ppif.mapping.NodeDescriptions nodeDescriptions)
this.nodeDescriptions = nodeDescriptions;
"Sree Bodapati" <[email protected]> wrote:
hi Thomas,
please post more detail on what your code is doing. if possible a code
snippet/error messages/thread dump
sree
"Thomas Eberhard" <[email protected]> wrote in message
news:[email protected]...
Hi!
I have a big performance-problem using wl6.1, jdbc and oracle.
My Server is sending a Vector with NodeBeans via JDBC to a OracleDB.
The
answer
comes immediately with the timeout.
Why is the EJB waiting for the timeout?
Is it a problem of configuration?
Thanks
Thomas -
WL6.1 SP2, Oracle 8.1.7, OCI, ConnectionPool
Hi,
i try to set up a database connection from a WL6.1 SP2 running on
Solaris 8 to a Oracle 8.1.7 DB running on Linux. I have to use the
Oracle - Driver, not the Weblogic - Driver. CLASSPATH, PATH,
LD_LIBRARY_PATH, ORACLE_HOME and TNS_ADMIN are set correct
(hopefully). When I use the thin - drivers, everything works fine. Now
I want to switch to OCI and get the following error:
ORA-07217: sltln: environment variable cannot be evaluated
I know this error occurs because I did not provide an ORACLE_SID. But
why do I need to export ORACLE_SID, isn´t the SID provided by the
ConnectionURL?
Anyway, if I set the ORACLE_SID explicitely, I get:
ORA-01034: ORACLE not available
Do I need to export the ORACLE_SID? If yes, why do i get the 01034?
The tnsnames.ora is correct, I can connect by using sqlplus to the
database without any problems ...
Here is the definition of the connection - pool:
<JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
LoginDelaySeconds="1" MaxCapacity="10"
Name="BMSP JDBC Connection Pool"
Password="{3DES}LFkEplP7jUuI/nVqSwNNjQ=="
Properties="user=vgn_data;dll=ocijdbc8;protocol=oci8"
RefreshMinutes="5" Targets="sgw-domain-server"
TestConnectionsOnRelease="true"
TestConnectionsOnReserve="true"
TestTableName="dual" URL="jdbc:oracle:oci8:@TESTDB"/>
Any hint is very welcome.
Thanks in advance,
JochenHi,
ok, I solved the problem, it was a "classic" version - conflict. The
drivers (classes12.zip) came from an 8.1.6 - Version, but the
libraries were all 8.1.7. Mea maxima culpa ;)
Anyway, it was hard to find this error, because the errormessages did
not point to a version - conflict ... so, if anyone of you out there
encounters the same strange behaviour: Check your versions ;)
Greetings,
Joche -
Oracle+Solaris+WL6.0.0
Hi all!
I'm having problems withWL6.0.0 on Solaris connecting to Oracle. I've
managed to install WL6.0.0 on NT and connect to the same Oracle with NO
problems...
I'm using the "utils.dbping" program, and this is the error I get:
java.sql.SQLException: System.loadLibrary threw
java.lang.UnsatisfiedLinkError
with the message 'no weblogicoci37 in java.library.path'.
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Exception.java:42)
at java.sql.SQLException.<init>(SQLException.java:82)
at weblogic.jdbcbase.oci.Driver.loadLibraryIfNeeded(Driver.java:202)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:57)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:106)
at utils.dbping.main(dbping.java:182)
This is my EXACT script that I use...
==========================================================
export WL_HOME=/servers/bea/wlserver6.0
export JAVA_HOME=/servers/bea/jdk130
export ORACLE_HOME=/u01/app/oracle/product/8.1.6
export LD_LIBRARY_PATH=$WL_HOME/lib/solaris:$WL_HOME/lib/solaris/oci816_8
export
CLASSPATH=$WL_HOME/..:$WL_HOME:$WL_HOME/lib/weblogic_sp.jar:$WL_HOME/lib/web
logic.jar
export PATH=$PATH:$ORACLE_HOME/lib:$JAVA_HOME/bin:$LD_LIBRARY_PATH
echo "CLASSPATH=$CLASSPATH"
echo "PATH=$PATH"
java utils.dbping ORACLE system manager
=====================================================
Any help would be GREATLY appricaited!
~Kam (^8*FIXED!!!
Okay, this is what it took!
Make sure that the LD_LIBRARY_PATH and CLASSPATH are export'ed
The key for me was that I needed to "source ~oracle/.bashrc" to get the
correct oracle environment vars! Once I did that all worked! woo woo!!
~Kam (^8*
"Kam Bansal" <[email protected]> wrote in message
news:[email protected]...
I had an error in my last email...
the command is "java utils.dbping ORACLE system manager svdev" (I missedthe
svdev in the email)
~Kam (^8*
"Kam Bansal" <[email protected]> wrote in message
news:[email protected]...
Hi all!
I'm having problems withWL6.0.0 on Solaris connecting to Oracle. I've
managed to install WL6.0.0 on NT and connect to the same Oracle with NO
problems...
I'm using the "utils.dbping" program, and this is the error I get:
java.sql.SQLException: System.loadLibrary threw
java.lang.UnsatisfiedLinkError
with the message 'no weblogicoci37 in java.library.path'.
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Exception.java:42)
at java.sql.SQLException.<init>(SQLException.java:82)
atweblogic.jdbcbase.oci.Driver.loadLibraryIfNeeded(Driver.java:202)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:57)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:106)
at utils.dbping.main(dbping.java:182)
This is my EXACT script that I use...
==========================================================
export WL_HOME=/servers/bea/wlserver6.0
export JAVA_HOME=/servers/bea/jdk130
export ORACLE_HOME=/u01/app/oracle/product/8.1.6
export
LD_LIBRARY_PATH=$WL_HOME/lib/solaris:$WL_HOME/lib/solaris/oci816_8
>>
export
CLASSPATH=$WL_HOME/..:$WL_HOME:$WL_HOME/lib/weblogic_sp.jar:$WL_HOME/lib/web
logic.jar
export PATH=$PATH:$ORACLE_HOME/lib:$JAVA_HOME/bin:$LD_LIBRARY_PATH
echo "CLASSPATH=$CLASSPATH"
echo "PATH=$PATH"
java utils.dbping ORACLE system manager
=====================================================
Any help would be GREATLY appricaited!
~Kam (^8* -
All,
This question was posted a few months back with no responses. Anybody know
when this is going to be supported?
Thankshello i am proud to tell you that you have french lol geneologic branch, i am from laval quebec we are the only despelteau family in quebec and canada
grand grand fathers was arthur despelteau 1904 you have link for is life at motel mon repos
my grand father was a cops a quebec surete quebec guy despelteau 76
my father was gm at the surete quebec denis despelteau 56
me i got 2 brother eric and francois i no they have some despelteau in florida but not that much
i no to that some of the despelteau was split by the english in 1840 more of them die in the procedure i got a old picture of women name despelteau late 1800 she was really well dress sign that the family was rich but i dont no much please tell me what you no about despelteau
sylvain despelteau 27
contact me on my email your email is no good -
Installation problem of WL6.0SP1 on solaris
When I install WL6.0SP1 on Sun Solaris, it gives such message:
weblogic600sp1_sol.bin Preparing to install...
Error: failed /tmp/install.dir.16036/Solaris/resource/jre/jre/lib/sparc/client/libjvm.so,
because ld.so.1: /tmp/install.dir.16036/Solaris/resource/jre/jre/bin/../bin/sparc/native_threads/java:
fatal: libCrun.so.1: open failed: No such file or directory
>
My classpath is set as:
/usr/java1.2/lib:/oracle/product/8.1.6/jdbc/lib/classes12.zip:/usr/local/j2sdkee1.2.1/lib/j2ee.jar:
Does any one know what is wrong with it?
Thanks.You probably need Solaris patches. I had this problem to installing on Solaris
7. GO to Sun's web site to look for pathces relating to C runtime libs.
"Yingwei" <[email protected]> wrote:
>
When I install WL6.0SP1 on Sun Solaris, it gives such message:
weblogic600sp1_sol.bin Preparing to install...
Error: failed /tmp/install.dir.16036/Solaris/resource/jre/jre/lib/sparc/client/libjvm.so,
because ld.so.1: /tmp/install.dir.16036/Solaris/resource/jre/jre/bin/../bin/sparc/native_threads/java:
fatal: libCrun.so.1: open failed: No such file or directory
>
My classpath is set as:
/usr/java1.2/lib:/oracle/product/8.1.6/jdbc/lib/classes12.zip:/usr/local/j2sdkee1.2.1/lib/j2ee.jar:
Does any one know what is wrong with it?
Thanks. -
Client-cert auth impl in web.xml does not work in Oracle Application Server
Hi,
I am new to implementing security features on the web applications.. I have developed a new web service using jdev1012 and deployed in OAS 10.1.2. Its working fine according to the business requirements, but I am in need of implementing client-cert authentication to enable the web service available to only those who have client certificate.
My server details are:
Oracle Application Server 10g Release 2 (10.1.2)
Server certificate is in place and SSL mode have been already enabled.. able to access my web service through https://<mydomain.com>/myws/TreqWS as well able to see the WSDL file through https://<mydomain.com>/myws/TreqWS?WSDL.
I tried to include the following in my web.xml file as part of implementing CLIENT-CERT authentication.
<security-constraint>
<display-name>SecurityConstraint</display-name>
<web-resource-collection>
<web-resource-name>WSCollection</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>CLIENT-CERT</auth-method>
<realm-name>WSCollection</realm-name> <!-- am not sure about this realm-name and its purpose -->
</login-config>
It is not woking as expected, though I have restarted my oc4j container after including this content to the web.xml file. i.e, I am able to invoke the web service though my sample java client program, though I donot have client certificate/keystore.
I believe I am missing something..Can anyone help me in this regard to implement CLIENT-CERT authentication successfully?
Thanks,
MsI am having the same problem with doc and xsl. I have added this
<mime-mapping>
<extension>xls</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
<mime-mapping>
<extension>doc</extension>
<mime-type>application/msword</mime-type>
</mime-mapping>
to my web.xml. I even restarted the server. I still see doc and xsl in binary.
Is there some other setting that needs to take place?
I am using WL6.1 with fixpack 1.
I can see the doc and excel files in the browser if I don't go through the weblogic
server. That just confirms it's not my browser.
Kumar Allamraju <[email protected]> wrote:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
It works fine for me in 6.1 SP1.
<br><br>
If the following doesn't work , can you
<br>try application/winword instead of application/msword?
<p>--
<br>Kumar
<p>Siming Mu wrote:
<blockquote TYPE=CITE>Hi,
<p>I setup in my web.xml a mime mapping as follows,
<p><mime-mapping>
<br><extension>doc</extension><mime-type>application/msword</mime-type>
<br></mime-mapping>
<p>When I specify a test.doc url, the doc file appears in my browser
as
binary data
<br>instead of download.
<p>Please reference change request 055002, which decribes this problem.
According
<br>to edocs, it has been fixed in wls6.1sp1.
<p>But I am seeing it fixed. Am I doing anything wrong? Thanks.
<p>Siming</blockquote>
</html> -
Oracle deadlock - how to use "synchronised" keyword in a transaction?
Hi,
I use WL6.1 SP4, Oracle 8.1.6, with some Java objects which execute a
lot
of SQL queries (mixed update, insert and select) using plain JDBC
calls,
and Weblogic connection pools. These objects are called by servlets.
I experienced recently deadlocks when two users call the object at the
same
time (See error below).
I execute the queries using "synchronized" keyword in the following
way:
synchronized (this)
conConnection.setAutoCommit(false);
executeTransaction(myStatement);
conConnection.commit();
executeTransaction is overriden in sub-classes and is the method which
executes
all the queries.
It calls methods in other objects. These methods are not declared as
synchronized.
1) Should they?
2) Should I use the keyword "synchronized" in another way?
3) This part of code is also called when I do only "select"
statements. I guess
it should only be synchronized when we do "update" and "insert" which
could lead
to a deadlock?
4) Do you have any idea why this deadlock occurs as I use the
"synchronized"
keyword, and one thread should wait until the other one has finished?
Thanks for any idea,
Stéphanie
----------------- error:
<ExecuteThread: '4' for queue: 'default'> <> <> <000000> <SQL request
sent to database: UPDATE PARTICIPANT par SET par.PARTICIPANTLASTRANK =
4 WHERE par.IDPARTICIPANT = 8983566>
<ExecuteThread: '11' for queue: 'default'> <> <> <000000> <SQL request
sent to database: UPDATE PARTICIPANT par SET par.PARTICIPANTLASTRANK =
6 WHERE par.IDPARTICIPANT = 8983570>
ORA-00060: deadlock detected while waiting for resource
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:796)
at weblogic.jdbc.pool.Statement.executeUpdate(Statement.java:872)
at weblogic.jdbc.rmi.internal.StatementImpl.executeUpdate(StatementImpl.java:89)
at weblogic.jdbc.rmi.SerialStatement.executeUpdate(SerialStatement.java:100)
at bfinance.framework.EDBBLBean.executeSQL(EDBBLBean.java:299)Hi Stepanie,
I'd try to group update statement together. Usually it helps.
Regards,
Slava Imeshev
"Stephanie" <[email protected]> wrote in message
news:[email protected]...
Thanks for your answer.
In the case you describe, is there a way to ensure that tx-2 waits for
tx-1
to be finished before beginning?
My transaction which causes the problem is the following (simplified):
UPDATE tableA SET islast=0 WHERE externalid=myid;
for (int i=0; i< aVector.size(); i++) {
INSERT INTO tableA (id, islast, ranking, externalid) (SELECT
SEQ_tableA.nextval, 1, 0, myid);
UPDATE tableA SET ranking = /*calculated ranking */
WHERE externalid=myid AND islast=1;
UPDATE tableB ....
commit;
tx-1 and tx-2 execute this transaction at the same time. tx-1 begins
The deadlock appears when tx-2 executes the second UPDATE tableA
query.
I don't see how I can avoid to execute these two update queries, so if
I can find another way to prevent deadlock, it would be great!
Stéphanie
Joseph Weinstein <[email protected]_this> wrote in message
news:<[email protected]_this>...
Stephanie wrote:
Hi,
I use WL6.1 SP4, Oracle 8.1.6, with some Java objects which execute a
lot
of SQL queries (mixed update, insert and select) using plain JDBC
calls,
and Weblogic connection pools. These objects are called by servlets.
I experienced recently deadlocks when two users call the object at the
same
time (See error below).Hi. The error you are getting isn't necessarily from a lack ofsynchronization
of your java objects. It has to do with the order in which you accessDBMS
data. You are getting ordinary DBMS deadlocks, which are caused when
two DBMS connections each have a lock the other wants, in order toproceed.
The DBMS will quickly discover this and will kill one transaction inorder to
let the other one proceed:
time 0: tx-1 and tx-2 have started.....
time 1: tx-1: update tableA set val = 1 where key = 'A'
time 2: tx-2: update tableB set val = 2 where key = 'B'
time 3: tx-1: update tableB set val = 1 where key = 'B' (waitsbecause tx-2 has the row
locked)
time 4: tx-2: update tableA set val = 2 where key = 'A' (waitsbecause tx-1 has the row
locked)
This is a deadlock. The solution is to organize your application code sothat every
transaction accesses the data in the same order, eg: update tableAfirst, then update tableB.
This will prevent deadlocks.
Joe Weinstein at BEA
I execute the queries using "synchronized" keyword in the following
way:
synchronized (this)
conConnection.setAutoCommit(false);
executeTransaction(myStatement);
conConnection.commit();
executeTransaction is overriden in sub-classes and is the method which
executes
all the queries.
It calls methods in other objects. These methods are not declared as
synchronized.
1) Should they?
2) Should I use the keyword "synchronized" in another way?
3) This part of code is also called when I do only "select"
statements. I guess
it should only be synchronized when we do "update" and "insert" which
could lead
to a deadlock?
4) Do you have any idea why this deadlock occurs as I use the
"synchronized"
keyword, and one thread should wait until the other one has finished?
Thanks for any idea,
Stéphanie
----------------- error:
<ExecuteThread: '4' for queue: 'default'> <> <> <000000> <SQL request
sent to database: UPDATE PARTICIPANT par SET par.PARTICIPANTLASTRANK =
4 WHERE par.IDPARTICIPANT = 8983566>
<ExecuteThread: '11' for queue: 'default'> <> <> <000000> <SQL request
sent to database: UPDATE PARTICIPANT par SET par.PARTICIPANTLASTRANK =
6 WHERE par.IDPARTICIPANT = 8983570>
ORA-00060: deadlock detected while waiting for resource
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
atoracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
atoracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
atoracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047
atoracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
atoracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
:2709)
atoracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:796)
atweblogic.jdbc.pool.Statement.executeUpdate(Statement.java:872)
atweblogic.jdbc.rmi.internal.StatementImpl.executeUpdate(StatementImpl.java:89
atweblogic.jdbc.rmi.SerialStatement.executeUpdate(SerialStatement.java:100)
at bfinance.framework.EDBBLBean.executeSQL(EDBBLBean.java:299) -
....in 'DD-MMM-YY' format from an Oracle 8i database and pass it in to the java.util.Date() constructor, I get a IllegalArgumentException. This error doesn't occur when I use the type 2 driver, so it is apparently a driver-specific thing. It happens on both Win32 and Linux.
Has anyone seen this before? Is there a newer version of the Oracle thin (i.e., type 4) driver than is listed here?
http://web77-02.us.oracle.com/software/tech/java/sqlj_jdbc/content.html
Thanks,
Tom
[email protected]Yup, that original post didn't make much sense, did it? Let's try again.
I've got an EJB app that runs on WebLogic 6.0 (on Solaris in production, on Win2K for development) and accesses an Oracle 8i database. This app currently uses the Oracle type 2 JDBC drivers. All is well.
So I wanted to see how it would run on Linux. I've got a Redhat 7.1 box handy, so I installed the JDK and WL6.0 and slapped the ear file on there. Problem! Can't deploy because there are no Oracle drivers on this machine!
Makes sense. So I started looking around, and it seems installing Oracle on a RH 7.1 box involves patching glibc and other such nastiness. So let's just try the type 4 JDBC driver - no glibc patch, no shared object libraries, just good 'ol pure Java talking to Oracle on port 1521.
Once I had the URLs and whatnot set up, the app connected to the DB just fine, created the connection pool, read some data, etc. But when my app read a date from the DB and instantiates a new java.util.Date object, I got an IllegalArgumentException - i.e., the date can't be parsed.
"Hmm... that's odd", I thought, so back I went to my trusty Win2K machine, modified my configuration files to use the type 4 driver and - same error! So I switched back to the type 2 driver - and everything works fine, Dates and all. Hmmm.....
As you correctly state, that Date constructor is deprecated and I should use DateFormats and GregorianCalendars and whatnot instead.
But has anyone seen this weird behavior before - code that works fine on a type 2 driver starts throwing exceptions when used with a type 4 driver? Anyone have any solutions?
Thanks much,
Tom -
Oracle 9i Driver (classes12.zip) WL 6.1
I have added the classes12.zip into the CLASSPATH of WL and configured the connection pool to point to an Oracle 9i database. WL starts up with no problem, but here's my 2 questions:
1. How can I be sure that WL is really using the Oracle 9i JDBC driver instead of the 8i version (included with WL)? Is there a command that I can type to find out?
2. On some instance of WL, after I point it to an Oracle 9i WL automatically adds dll=ocijdbc9 to the properties text box, but on some WL instance it doesn't add the dll=ocijdbc9 to the properties text box. I am using type 3 driver and not type 2 driver so dll=ocijdbc9 doesn't really matter, just curious on why WL sometime automatically add the dll=ocijdbc9 and sometime it doesn't.
Any inputs from anyone will be greatly appreciated.
Thanks!
RobertHi Robert,
weblogic should work with any JDBC 2.0 compatible driver.
Generally certification means that the driver has passed all
weblogic tests and thus officiall support is provided for related
issues. In other words, the fact that driver for 9.2 has not been
certified for weblogic 6.1 doesn't mean that it can not be used
with 6.1.
Regards,
Slava Imeshev
"Robert Simpson" <[email protected]> wrote in message
news:3d949c5a$[email protected]..
Thank you Joe for your response. I really appreciate it! Two morequestions please....
>
I believe WL6.1sp2 is not certified to work with Oracle 9.2 and WL7.0sp1is certified to work with Oracle 9.2, am I right?
>
So the certification is referring to the internal WL type 2 driver(jdriver) and not referring Oracle 9.2 database and if that's the case, we
can still download the classes12.zip (Oracle JDBC driver), but since this is
a 3rd party JDBC driver, WL still do not officially certified it?
>
Bottomline if we want to use Oracle 9.2 we should use WL7.0sp1 since thisis officially certified by BEA. Am I right?
>
Thanks again!
Robert -
Oracle Prepared Statement Class Cast exception
I am using the TxDataSource with Oracle thin driver in WL6.1
I get a ClassCastException when I cast the PreparedStatement
to OraclePreparedStatement.
It is unable to cast from weblogic.jdbc.rmi.SerialPreparedStatement.
I am not if I can use Oracle extensions with a TxDataSource
Thanks in Advance
RajeshDon't cast to OracleResultSet but use the WebLogic API to set/get BLOBS:
http://edocs.bea.com/wls/docs61/oracle/advanced.html#1158561 -
Help on CachedRowSet with setDataSourceName for Oracle needed
Hello users,
I am using WL6.1. and SUN's CachedRowSet. It works fine with setURL and it is very
fast with Oracle's oci thin driver. One more time for BEA people: oracle.jdbc.driver.OracleDriver
is more than 3 times faster than weblogic.jdbc.oci.Driver. Of course when I do setURL,
it bypasses WL and go directly to the database. And it is not using any connection
pool manager such as WL.
I would like to use WL's datasource. However, the problem is when I do CachedRowSet.setDataSourceName(jndiname)
with proper JNDI name, Sun's CachedRowset could not figure out what WLInitialContextFactory
is (it must have its own hard-coded context factory which I don't know what it is
therefore it can not create a connection from it). The exception thrown says "(JNDI)
Unable to connect".
Can anyone tell me how to make it work? (How to use setDataSourceName for CachedRowSet
for WL). The key is what ContextFactory to use.
Thanks in advance.
L.W.X.I am assuming there is some reverse proxy web server with OAM WebGate which is fronting the tomcat and JBoss servers. Also, assuming you are using FQDNs throughout.
Is the ObSSOCookie sent when you access the external applications after logging into portal? It should help to look through the HTTP headers. Also, it could be an issue with authentication levels/IP validation failure - these should show up in the WebGate logs.
-Vinod -
Query using connectionpool impossible on oracle instance
Hi,
I have a question for a system that was to be released in production mode april
1st, 2003, but could not be because of this problem:
When connecting to a Oracle 8.1.7r3 DB using WL 6.1SP3, I have a problem using
connection pooling with both the oracle jdbc drivers as well as the oci drivers.
Switching of the connection pool makes the application work but that defies the
whole purpose of configuring connection pools.
1. start up of the runserver with connection pooling enables does NOT return any
errors
2. the query to be executed is correct and checked on multiple ways (including
sqlnet, jdbc, oci, all without transaction pooling)
3. the username/password used is correct and works but only if connection pooling
disabled, no typos were made
4. the user has been granted DBA rights and still the connection pooling does
not work.
5. the table accessed in the query executed is available and a public synonym
exists; the user has select rights on the table
6. the connection pool is assigned a JNDI datasource and lookup succeeds
7. obtaining a connection from the pool works.
8. executing of the query WITH connection pooling returns SQLException with error
message:
java.sql.SQLException: ORA-00942: table or view does not exist
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:643)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1674)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1870)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:538)
at org.mmbase.module.database.MultiStatement.executeQuery(Unknown Source)
at org.mmbase.module.core.ClusterBuilder.searchMultiLevelVector(Unknown
Source)
at org.mmbase.bridge.implementation.BasicCloud.getList(Unknown Source)
at org.mmbase.bridge.jsp.taglib.ListTag.doStartTag(Unknown Source)
at org.mmbase.bridge.jsp.taglib.macro.RelatedTag.doStartTag(Unknown Source)
at jsp_servlet.__1_4_digitaaljournaal._jspService(__1_4_digitaaljournaal.java:888)
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.RequestDispatcherImpl.include(RequestDispatcherImpl.java:482)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:308)
at nl.vodafone.iris.net.http.HTTPServletRedirectBean.redirect(HTTPServletRedirectBean.java:49)
at nl.vodafone.dealersite2.menu.MenuControlServlet.forwardMenu(MenuControlServlet.java:130)
at nl.vodafone.dealersite2.menu.MenuControlServlet.doGet(MenuControlServlet.java:37)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
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:2546)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2260)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Is there possibly a certain (additional) install on Oracle required for the connection
pooling on WL6.1SP3 to run? We have the problem only on one DB instance. Do you
have any other suggestions for the issue? Is there a way to see all sql statements
use by the connections in the connection pool?
Roger Stoffers
Vodafone NLHi Roger,
Could you please show us the 30-line program that does work?
Regards,
Slava Imeshev
"Roger Stoffers" <[email protected]> wrote in message
news:[email protected]...
>
Hello Joseph,
I have tried many things (wrote numerous tests) now, but the problem seemsto
occur only USING pooling with the weblogic OCI driver, or the weblogicoracle
thin driver.
Moving the data to another DB solved my problem; however I'm still curiousas
to what causes this behaviour.
The 30-line programme works fine, sqlplus works fine, TOAD works fine,weblogic
withour pooling works fine, weblogic with pooling fails.... sigh....
Kind regards,
Roger Stoffers
Joseph Weinstein <[email protected]_this> wrote:
Roger Stoffers wrote:
Hi Joseph,
The pool definition is taken from config.xml:
<JDBCConnectionPool DriverName="weblogic.jdbc.oci.Driver"
InitialCapacity="1" MaxCapacity="1" Name="ddsireConnectionPool"
Password="{3DES}XXXXX=" Properties="user=hint"
RefreshMinutes="5" ShrinkingEnabled="false"
Targets="rogerServer" TestConnectionsOnRelease="true"
TestTableName="dual" URL="jdbc:weblogic:oracle:CIMA"/>
<JDBCDataSource JNDIName="ddsireDataSource" Name="DDSire
DataSource"
PoolName="ddsireConnectionPool" Targets="rogerServer"/>
Furthermore, I managed to include an incorrect part of the log file;here's the
correct one. Does this tell you more? (In the weblogic.log file itis stated that
the connection was obtained)
java.sql.SQLException: ORA-00942: table or view does not exist
at
weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:240)
atweblogic.jdbc.oci.Statement.private_parse(Statement.java:826)
atweblogic.jdbc.oci.Connection.prepareStatement(Connection.java:732)
atweblogic.jdbc.pool.Connection.prepareStatement(Connection.java:303)
>>
Hi. Ok, this shows that you did successfully create a pool, which did
make connections,
and using it, you did get the same error. However, there is a bigquestion:
Why did
you also get that same exception with the Oracle driver directly? This
was shown with
the first stack trace you sent. Until we explain that first stacktrace,
it seems like an all-
oracle problem. Can you make a small 30-line standalone java program
that makes
a direct connection to the DBMS, using our driver and that user name
and password,
and runs that same query?
thanks,
Joe
at
weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.ja
va:135)
atweblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:78
atnl.vodafone.cd.dataservices.jdbc.JDBCHelper.callSql(JDBCHelper.java:93)
atnl.vodafone.cd.dataservices.jdbc.JDBCHelper.performQuery(JDBCHelper.java:64)
atnl.vodafone.cd.dataservices.jdbc.JDBCDDSireHintDescriptionService.getHint(JD
BCDDSireHintDescriptionService.java:48)
atnl.vodafone.cd.presentation.MainPageAction.perform(MainPageAction.java:109)
atnl.vodafone.cd.presentation.CheckClientAddressInfoAction.perform(CheckClient
AddressInfoAction.java:181)
atnl.vodafone.cd.presentation.ActionServlet.doPost(ActionServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2546)
atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2260)
atweblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Joseph Weinstein <[email protected]_this> wrote:
Roger Stoffers wrote:
Hi,
I have a question for a system that was to be released in productionmode april
1st, 2003, but could not be because of this problem:
When connecting to a Oracle 8.1.7r3 DB using WL 6.1SP3, I have a
problem
using
connection pooling with both the oracle jdbc drivers as well as
the
oci drivers.
Switching of the connection pool makes the application work but
that
defies the
whole purpose of configuring connection pools.
1. start up of the runserver with connection pooling enables does
NOT
return any
errorsPlease show me the whole pool definition...
2. the query to be executed is correct and checked on multiple ways(including
sqlnet, jdbc, oci, all without transaction pooling)
3. the username/password used is correct and works but only if
connection
pooling
disabled, no typos were madeWhat is the failure mode when this user/password is used for a pool?
4. the user has been granted DBA rights and still the connection
pooling
does
not work.
5. the table accessed in the query executed is available and a
public
synonym
exists; the user has select rights on the table
6. the connection pool is assigned a JNDI datasource and lookup
succeeds
7. obtaining a connection from the pool works.
8. executing of the query WITH connection pooling returns
SQLException
with error
message:
java.sql.SQLException: ORA-00942: table or view does not exist
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
atoracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
atoracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:643)
atoracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1674)
atoracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
:1870)
atoracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:538)
atorg.mmbase.module.database.MultiStatement.executeQuery(Unknown
Source)
Here is some big info above. You are getting this exception withoutusing
our
pooling at all. You are getting a direct JDBC connection to Oracle,using
Oracle's driver,
and suffering the problem.
Joe Weinstein at BEA
at
org.mmbase.module.core.ClusterBuilder.searchMultiLevelVector(Unknown
Source)
atorg.mmbase.bridge.implementation.BasicCloud.getList(Unknown
Source)
at org.mmbase.bridge.jsp.taglib.ListTag.doStartTag(UnknownSource)
at
org.mmbase.bridge.jsp.taglib.macro.RelatedTag.doStartTag(Unknown
Source)
at
jsp_servlet.__1_4_digitaaljournaal._jspService(__1_4_digitaaljournaal.java:8
88)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
atweblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
l.java:482)
atweblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
l.java:308)
atnl.vodafone.iris.net.http.HTTPServletRedirectBean.redirect(HTTPServletRedire
ctBean.java:49)
atnl.vodafone.dealersite2.menu.MenuControlServlet.forwardMenu(MenuControlServl
et.java:130)
atnl.vodafone.dealersite2.menu.MenuControlServlet.doGet(MenuControlServlet.jav
a:37)
atjavax.servlet.http.HttpServlet.service(HttpServlet.java:740)
atjavax.servlet.http.HttpServlet.service(HttpServlet.java:853)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2546)
atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2260)
atweblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Is there possibly a certain (additional) install on Oracle requiredfor the connection
pooling on WL6.1SP3 to run? We have the problem only on one DB
instance.
Do you
have any other suggestions for the issue? Is there a way to see
all
sql statements
use by the connections in the connection pool?
Roger Stoffers
Vodafone NL -
Exception -- with CustomSecurityRealm on WL6.0
I started the weblogic server with my caching realm which incorporates the
clone of RDBMSRealm. everything ran fine and i checked the security node on
the console and the users node on the same. Shutdown the server from the
monitoring tag on the Server node.
The weblogic server threw an exception while shutting down.
The detailed messages are as below. Wondering if the customSecurityRealm could
have caused it and why?
Did anybody else encounter this problem ? and if so, did you find the reason
and how were you able to correct it ?
thx,
veena.
C:\bea\wlserver6.0sp1\config\mydomain>startWebLogic.cmd
C:\bea\wlserver6.0sp1>set
PATH=.\bin;C:\bea\wlserver6.0sp1\bin;C:\bea\jdk130\bin
;C:\bea\wlserver6.0sp1\bin;C:\bea\jdk130\bin;D:\oracle\ora81\bin;D:\oracle\o
ra81
\Apache\Perl\5.00503\bin\mswin32-x86;C:\Program
Files\Oracle\jre\1.1.7\bin;C:\WI
NNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program
Files\Perforce;c:\vslick
\win;d:\jdk13\bin;C:\Program Files\Common Files\WebGain
Shared;d:\j2sdkee1.3\bin
;C:\Program
Files\WinZip;C:\bea\wlserver6.0sp1\lib;c:\bea\wlserver6.0sp1\bin\oci
816_8;d:\oracle\ora81\bin;
C:\bea\wlserver6.0sp1>set PMLOGGER=d:\myprojects\pm
C:\bea\wlserver6.0sp1>set
LOG4J=d:\myprojects\log4j\log4j.jar;d:\myprojects\log4
j\log4j-core.jar
C:\bea\wlserver6.0sp1>set
CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;d
:\myprojects\pm;d:\myprojects\pm;d:\myprojects\log4j\log4j.jar;d:\myprojects
\log
4j\log4j-core.jar;.\lib;c:\bea;
C:\bea\wlserver6.0sp1>"C:\bea\jdk130\bin\java" -hotspot -ms64m -mx64m
-classpath
.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;d:\myprojects\pm;d:\myprojects\pm
;d:
\myprojects\log4j\log4j.jar;d:\myprojects\log4j\log4j-core.jar;.\lib;c:\bea;
-Dw
eblogic.Domain=mydomain -Dweblogic.Name=myserver "-Dbea.home=C:\bea"
"-Djava.sec
urity.policy==C:\bea\wlserver6.0sp1/lib/weblogic.policy"
-Dweblogic.management.p
assword= weblogic.Server
<Apr 12, 2001 11:04:27 AM PDT> <Info> <Security> <Getting boot password from
use
r.>
Enter password to boot WebLogic server:
Starting WebLogic Server ....
<Apr 12, 2001 11:04:33 AM PDT> <Notice> <Management> <Loading configuration
file
.\config\mydomain\config.xml ...>
log file: C:\bea\wlserver6.0sp1\.\config\mydomain\logs\weblogic.log
<Apr 12, 2001 11:04:35 AM PDT> <Info> <Logging> <Only log messages of
severity "
Error" or worse will be displayed in this window. This can be changed at
Admin C
onsole> mydomain> Servers> myserver> Logging> General> Stdout severity
threshold
>
Starting Loading jDriver/Oracle .....
<Apr 12, 2001 11:04:46 AM PDT> <Notice> <WebLogicServer> <ListenThread
listening
on port 7001>
<Apr 12, 2001 11:04:46 AM PDT> <Notice> <WebLogicServer> <SSLListenThread
listen
ing on port 7002>
<Apr 12, 2001 11:04:46 AM PDT> <Notice> <WebLogicServer> <WebLogic Server
starte
d>
<Apr 12, 2001 11:06:10 AM PDT> <Alert> <WebLogicServer> <Server shutdown has
bee
n requested by system>
<Apr 12, 2001 11:06:10 AM PDT> <Alert> <WebLogicServer> <The shutdown
sequence h
as been initiated.>
<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
'ExecuteThre
ad: '14' for queue: 'default'' stopped.>
<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
'ExecuteThre
ad: '0' for queue: 'default'' stopped.>
<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
'ExecuteThre
ad: '1' for queue: 'default'' stopped.>
<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
'ExecuteThre
ad: '2' for queue: 'default'' stopped.>
<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
'ExecuteThre
ad: '3' for queue: 'default'' stopped.>
<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
'ExecuteThre
ad: '4' for queue: 'default'' stopped.>
<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
'ExecuteThre
ad: '5' for queue: 'default'' stopped.>
<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
'ExecuteThre
ad: '6' for queue: 'default'' stopped.>
<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
'ExecuteThre
ad: '7' for queue: 'default'' stopped.>
<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
'ExecuteThre
ad: '8' for queue: 'default'' stopped.>
<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
'ExecuteThre
ad: '9' for queue: 'default'' stopped.>
<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
'ExecuteThre
ad: '10' for queue: 'default'' stopped.>
<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
'ExecuteThre
ad: '11' for queue: 'default'' stopped.>
<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
'ExecuteThre
ad: '0' for queue: '__weblogic_admin_html_queue'' stopped.>
<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel> <Execute Thread:
'ExecuteThre
ad: '1' for queue: '__weblogic_admin_html_queue'' stopped.>
# HotSpot Virtual M<Apr 12, 2001 11:06:31 AM PDT> <Critical> <Kernel>
<Execute T
hread: 'ExecuteThread: '0' for queue: '__weblogic_admin_rmi_queue''
stopped.>
achine Error, EXCEPTION_ACCESS_VIOL<Apr 12, 2001 11:06:31 AM PDT>
<Emergency> <W
ebLogicServer> <ListenThread.run() failed: java.lang.ThreadDeath>
[error occured during error repo<Apr 12, 2001 11:06:31 AM PDT> <Emergency>
<WebL
ogicServer> <The WebLogic Server is no longer listening for connections. You
sho
uld probably restart it.>
<Apr 12, 2001 11:06:31 AM PDT> <Alert> <WebLogicServer> <Server shutdown has
bee
n requested by system>
<Apr 12, 2001 11:06:31 AM PDT> <Alert> <WebLogicServer> <The shutdown
sequence h
as been initiated.>
ATION
# Please report this error atrting]
# http://java.sun.com/cgi-bin/bugreport.cgi
# Error ID: 4F533F57494E13120E43505002D4
abnormal program termination
C:\bea\wlserver6.0sp1>goto finish
C:\bea\wlserver6.0sp1>cd config\mydomain
C:\bea\wlserver6.0sp1\config\mydomain>ENDLOCALSean,
The WebLogic Integration 2.0 B2Bi server contains both a RosettaNet 1.0 and
RosettaNet 2.0 support. It is integrated into the product. There is no
separate c-enabler per se.
Michael
"Sean Koontz" <[email protected]> wrote in message
news:[email protected]..
>
Michael,
Are you saying that the Weblogic Integration 2.0 evaluation downloadincludes
an updated RosettaNet c-enabler?
I have downloaded Weblogic Integration 2.0 and am in the process ofinstalling/configuring
it. I haven't come across any RosettaNet stuff yet.
Like the original poster, I'm wanting to evaluate the RosettaNetfunctionality.
It is my main objective (i.e., my company has already purchased WeblogicServer
6.0).
Please advise.
Regards,
Sean Koontz
"Michael Cincinatus" <[email protected]> wrote:
Khaitan,
This newsgroup is intended for questions about WebLogic Integration
(which
includes a new version of RosettaNet for WLS 6.0). WebLogic Integration
version 2.0 will be available for download from the BEA website today
(June
29, 2001). You might want to try using the latest version of theproduct.
>>
If you are still experiencing difficulty, you should contact BEA Support
for
help. Details on BEA support can be found on the world wide web at:
http://www.bea.com/support/index.jsp. If you are evaluating BEA WebLogic
Integration, you can get support from BEA EvalNet. Details for EvalNet
can
be found at http://www.bea.com/evalnet/index.shtml.
Thanks,
Michael
"I Khaitan" <[email protected]> wrote in message
news:[email protected]..
Hi,
Has anybody installed RosettaNet for WL6.0 ?
I'm trying to make it work but unsuccessful, so far. I'm trying to
install the full
version (RosettaNet C-Enabler 1.0 with WLC1.0)
Also, the relase notes and the installation say that it supports
WL5.1sp8 and above.
Thanks and cheers.
Khaitan -
"I am facing this problem of SocketException being thrown on server console a number of times. I have just moved to weblogic 6.1 from 6.0. I have compiled all the classes with references to weblogic.jar and jdk from WL6.1.
The cause of this exception is not known. Though this does not really harm my application, it's not desirable.
Thanks in advance for help.
The trace is as under -
<Sep 25, 2002 3:49:09 PM EDT> <Error> <JavaSocketMuxer> <IOException on socket:
'Socket[addr=localhost/127.0.0.1,port=2506,localport=7001]'
java.net.SocketException: Connection shutdown: JVM_recv in socket input stream r
ead
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:85)
at weblogic.socket.JavaSocketMuxer.processSockets2(JavaSocketMuxer.java:
281)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:2
33)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
<Sep 25, 2002 3:49:09 PM EDT> <Error> <HTTP> <Connection failure
java.net.SocketException: Connection%2Dimitri, you surely mean that the servlet will be reloaded without restarting the
server, right! Well, it doesn't work!
Now, if the flag ServletReloadCheckSecs should be set to "0" in the WebAppComponenet
element is meant to work, then WL6.1 is randomly buggy.
However, no-none commited to a bug-free society.
Dimitri Rakitine <[email protected]> wrote:
>WebLogic doesn't recompile .java classes - it will reload servlet if
>it's
>..class file changes.
>
>I agree that autocompilation feature in Resin and Orion (Oracle?) is
>super-convinient. Send it to [email protected] - maybe someday they will
>implement it.
>
>florin <[email protected]> wrote:
>
>> WL6.1 documentation claims that "If you set this attribute (the Files
>tab of your
>> Web Application) to zero, WebLogic Server checks the time stamp on
>every request."
>> Sure. Next time.
>
>> My web application is set to be the default web application. Any ideas
>why it
>> doesn't work for me?
>
>> I deffinatelly miss Orion's ease of use. One might think that more
>money is better.
>
>
>> Thanks for your help.
>
>
>--
>Dimitri
Maybe you are looking for
-
How do I move the pictures from my iPhone 4s to a folder on my computer?
How do I move the pictures from my iPhone 4s to a folder on my computer?
-
Hello I am trying to install Oracle 9i on a Solaris 10 server. I am attempting to launch runInstaller from the database server console and I am getting the following error: $ ./runInstaller $ Initializing Java Virtual Machine from /tmp/OraInstall2008
-
Adobe Flash 10.3 Needs Reinstall in IE 7,8,9, and Safari
Browsers are 32 bit. I've tried IE 9, 8, and even 7, and Safari. Working with Vista. Am prompted to download latest flash. Do so. Works fine. Next time I restart my computer, same problem. Under Programs, I show Adobe Flash Player 10 Active X with a
-
Premiere Pro CC Crashing when trying to import.
Everytime that I try and import my files into premiere the program crashes and tells me that an erorr has occurred. I do not even have to click on the files, if I simply click on the folder with the files in it on Premiere, it will crash as well. It
-
I have a 48 page document I created since upgrading to Windows 7. It will not allow me to print it out or make a PDF of it- I have to do about 8 pages at a time. Preflight indicates no issues, and a similar document created last year will print fine.