WLS6.0sp1 and HP-UX 11.00
I have completed a successful install of WLS6.0sp1 on an HP-UX 11.00
machine. I am attempting to start the default server and am getting the
output below (after system and model info). There is no mention of any
required changes to kernel parameters in the install and I cannot locate any
related information on the BEA site.
Has anyone encountered this before?
jfboyle:/home/jfboyle/bea/wlserver6.0sp1/config/mydomain > uname -a
HP-UX uranium B.11.00 U 9000/800 637309363 unlimited-user license
jfboyle:/home/jfboyle/bea/wlserver6.0sp1/config/mydomain > model
9000/800/N4000-36
jfboyle:/home/jfboyle/bea/wlserver6.0sp1/config/mydomain > startWebLogic.sh
SHLIB_PATH=/opt/sybase/lib:/opt/visibroker_c++/lib:/home/jfboyle/bea/wlserve
r6.0sp1/lib/hpux11
SIGSEGV 11* segmentation violation
Full thread dump Classic VM (jinteg:11/28/00-13:54, native threads):
"JIT Compiler" (TID:0x640004d0, sys_thread_t:0x40080bd0, state:CW,
native ID:0x6) prio=5
"Finalizer" (TID:0x64000510, sys_thread_t:0x4007f2d8, state:CW, native
ID:0x5) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at
java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:1
20)
"Reference Handler" (TID:0x640002f8, sys_thread_t:0x4007a620, state:CW,
native ID:0x4) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Unknown Source)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
"Signal dispatcher" (TID:0x64000328, sys_thread_t:0x40078638, state:CW,
native ID:0x3) prio=5
"main" (TID:0x640001a8, sys_thread_t:0x40005050, state:R, native ID:0x1)
prio=5
at java.util.Hashtable.put(Unknown Source)
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(Unknown Source)
Monitor Cache Dump:
java.lang.ref.ReferenceQueue$Lock@64000520/64CD0318: <unowned>
Waiting to be notified:
"Finalizer" (0x4007f2d8)
java.lang.ref.Reference$Lock@64000308/64CCFCD8: <unowned>
Waiting to be notified:
"Reference Handler" (0x4007a620)
java.util.Properties@640006E8/64CD0BA0: owner "main" (0x40005050) 1
entry
Registered Monitor Dump:
JIT thread lock: <unowned>
Waiting to be notified:
"JIT Compiler" (0x40080bd0)
utf8 hash table: <unowned>
JNI pinning lock 31: <unowned>
JNI pinning lock 30: <unowned>
JNI pinning lock 29: <unowned>
JNI pinning lock 28: <unowned>
JNI pinning lock 27: <unowned>
JNI pinning lock 26: <unowned>
JNI pinning lock 25: <unowned>
JNI pinning lock 24: <unowned>
JNI pinning lock 23: <unowned>
JNI pinning lock 22: <unowned>
JNI pinning lock 21: <unowned>
JNI pinning lock 20: <unowned>
JNI pinning lock 19: <unowned>
JNI pinning lock 18: <unowned>
JNI pinning lock 17: <unowned>
JNI pinning lock 16: <unowned>
JNI pinning lock 15: <unowned>
JNI pinning lock 14: <unowned>
JNI pinning lock 13: <unowned>
JNI pinning lock 12: <unowned>
JNI pinning lock 11: <unowned>
JNI pinning lock 10: <unowned>
JNI pinning lock 9: <unowned>
JNI pinning lock 8: <unowned>
JNI pinning lock 7: <unowned>
JNI pinning lock 6: <unowned>
JNI pinning lock 5: <unowned>
JNI pinning lock 4: <unowned>
JNI pinning lock 3: <unowned>
JNI pinning lock 2: <unowned>
JNI pinning lock 1: <unowned>
JNI pinning lock 0: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "main" (0x40005050) 1 entry
Thread queue lock: owner "main" (0x40005050) 1 entry
Monitor registry: owner "main" (0x40005050) 1 entry
startWebLogic.sh[138]: 3462 Abort(coredump)
Thanks a lot Wayne !
I tried with "./server.....bin -mode=console". I am facing the same problem.
Although weblogic installation completes, it still just hangs at "Copying JDK....".
Giving the output below for your reference.
Choose Product Directory:
->1| Yes, use this product directory [home1/utils/bea/weblogic700]
2| No, select another product directory
Enter index number to select OR [Exit][Previous][Next]>
<------------- WebLogic Platform Installer - WebLogic Platform 7.0.1.0 ---------
---->
Copying files..
0% 25% 50% 75% 100%
[------------|------------|------------|------------]
Copying JDK....
I am also attaching the top output with this message.
Thanks,
Soundar
"Wayne W. Scott" <[email protected]> wrote:
When all else fails, read the manual! The method changed from 6.1 to
7.0.
http://edocs.bea.com/platform/docs70/install/index.html
http://edocs.bea.com/platform/docs70/install/index.html
../filename.bin -mode=console
/wws
Soundar wrote:
Hi,
I am trying to install Weblogic 7.01 evaluation copy on HP-UX 11.00.After exporting
DISPLAY variable to my workstation, when I run "./server701_hpux.bin",the extraction
of the files is successful, followed by some warning messages regardingthe fonts
and then the BEA Weblogic startup screen comes up. But it hangs thereforever.
I am attaching the output. If I run "./server..." in text mode i.e.without
exporting DISPLAY variable, although the installation of Weblogic softwareis
successful, but it hangs at "Copying JDK..." i.e. hangs at JDK installation.
I already have JDK installation on my HP-UX system (1.3.1_02).
If someone knows how to solve this problem, please let me know. Also,as I already
have JDK installation on my system, is it possible to disable JDK installation
in weblogic installation.
Thanks in Advance.
Soundar
[weblogic_top.txt]
Similar Messages
-
Problem with JAAS example in WLS6.0sp1
Hi,
I tried to run the SampleClient from the JAAS example in WLS6.0sp1 and got an
exception
when a valid username/password combination is entered. Has anyone experienced
that in WLS6.0sp1?
Thanx
Ralf
SampleLoginModule.initialize(), debug enabled
SampleLoginModule.initialize(), URL t3://localhost:7001
SampleLoginModule.login(), username guest
SampleLoginModule.login(), password guest
Authentication Failed: Unexpected Exception, java.lang.NoSuchMethodError
at weblogic.security.auth.Authenticate.authenticate(Authenticate.java:124)
at examples.security.jaas.SampleLoginModule.login(SampleLoginModule.java:157)
at java.lang.reflect.Method.invoke(Native Method)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:595)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:125)
at javax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:528)
at javax.security.auth.login.LoginContext.login(LoginContext.java:449)
at examples.security.jaas.SampleClient.main(SampleClient.java:92)Weblogic comes with its own implementation of JAAS, unfortunately
conflicting with Sun's. Contact customer support, they will tell you the
exact differences and incompatibilities. Or reverse engineer the two
versions, you'll find quite a few differences (apart from the BEA version
not implementing JAAS authorization, which is documented).
"Narinder Gaheer" <[email protected]> wrote in message
news:[email protected]..
I am happy someone came up with this problem. I also bent backwardssolving
this problem
in my application.
I figured out that as soon as I remove the standard jaas.jar from my
classpath , I can run the example successfully. Weblogic.jar does contain
necessary jaas library , so don't need to include jaas.jar.
I am not sure, but I get the feeling that there is a jaas library conflict
here. May be weblogic
guys are the best to put some light on this issue.
"Ralf Fritsche" <[email protected]> wrote in message
news:3b15188e$[email protected]..
I found out, that the example runs with the JDK delivered by BEA,
but not with a JDK I downloaded from SUN.
Wheras with the first the provided way to set the user defined
configuration class with the system property'weblogic.security.jaas.Configuration'
works, this is not possible with another JDK. According to the
JAAS standard, this class could only be defined in the properties
file 'java.security' of the Java runtime.
How is BEA doing this?
Thanx
Ralf -
Redeploying .ear in WLS6.0SP1 fails?
When we redeploy an .ear file (uncheck the deployed box, copy the .ear
file, check the deployed box - autoredeploy = off in this case ) in
WLS6.0SP1 th EJB's are successfully redeployed, but the web-app always
fails. It complains that the webapp xxx is already in use. (That
figures, because we redeploy.).
Another - related? - issue is when automatic redeploy is enabled under
WinNT and you have a learge .ear file, it starts unjarring the file
before it's completely copies thus throwing a zipfile in use error.When we redeploy an .ear file (uncheck the deployed box, copy the .ear
file, check the deployed box - autoredeploy = off in this case ) in
WLS6.0SP1 th EJB's are successfully redeployed, but the web-app always
fails. It complains that the webapp xxx is already in use. (That
figures, because we redeploy.).
Another - related? - issue is when automatic redeploy is enabled under
WinNT and you have a learge .ear file, it starts unjarring the file
before it's completely copies thus throwing a zipfile in use error. -
GC on WLS6.1sp2 and WLS7sp2
Hi All,
Does any find that there is GC problem on WLS6.1sp2? I had an application(web
module) which deployed on both WLS6.1sp2 and WLS7sp2. Both server with same configuration
and initializing min and max heap size to 64m. The occupied memory in heap is
about 20Mb after full GC in both server before the test. When I perform a stress
test on them, I found that garbage collection behavior is different.
In WLS6.1sp2, after running my load test for a period of time, the occupied memory
is about 50Mb after full gabage collection. If I go on stress on the server, OutOfMemoryError
generated. Server has to be restarted. It seems that even full gc, it can't release
all unused objects.
In WLS7sp2, after running my load test for a period of time, the occupied memory
is still 23-25Mb after full gabare collection. There is no problem if I go on
to stress the server.
It seems that the performance of WLS6.1sp2 is not acceptable. It can't release
unused objects. Does any have the same experience on WLS6.1? How can I solve this
problem in WLS6.1? Otherwise, I have to migrate all my program to WLS7. Thx a
lot.
KarenKaren,
You should try testing weblogic 6.1 with SP4. There are some fixes
related to memory leaks in Wl 6.1 SP3 and SP4.
-Kiran
"Karen Law" <[email protected]> wrote in message news:<3e9d11e1$[email protected]>...
Hi All,
Does any find that there is GC problem on WLS6.1sp2? I had an application(web
module) which deployed on both WLS6.1sp2 and WLS7sp2. Both server with same configuration
and initializing min and max heap size to 64m. The occupied memory in heap is
about 20Mb after full GC in both server before the test. When I perform a stress
test on them, I found that garbage collection behavior is different.
In WLS6.1sp2, after running my load test for a period of time, the occupied memory
is about 50Mb after full gabage collection. If I go on stress on the server, OutOfMemoryError
generated. Server has to be restarted. It seems that even full gc, it can't release
all unused objects.
In WLS7sp2, after running my load test for a period of time, the occupied memory
is still 23-25Mb after full gabare collection. There is no problem if I go on
to stress the server.
It seems that the performance of WLS6.1sp2 is not acceptable. It can't release
unused objects. Does any have the same experience on WLS6.1? How can I solve this
problem in WLS6.1? Otherwise, I have to migrate all my program to WLS7. Thx a
lot. -
Q<WWO-13> What are the difference between WLS6.1 and WLS7.0 web services?
A<WWO-13> The differences are huge, so different in fact that 6.1 web services cannot
be deployed in 7.0. WLS7.0 and Workshop have much greater functionality than the
limited stateless session (RPC-style) and JMS destination (MSG-style) approach of
6.1. Workshop web services can interact with any type of EJB, any JMS destination
as well as other web services and directly accessing databases. The framework for
building the web service is better and more adaptable and Workshop provides a fully
integrated develop, deploy, test and debug environment. Additionally, WLS7.0 have
the capacity to be much better at performance since due to XML parser enhancements
and the addition of XML maps.If you want to take existing WLS6.1 web services and convert them to WLS7.0 you can
do so quite easily. The WLS7.0 Ant still supports wsgen so you do not need to even
change your build.xml file. The generated web service however will be implemented
is a manner compliant with the WLS7.0 environment. More details are at:
http://e-docs.bea.com/wls/docs70/webServices/anttasks.html#1070576
"Adam FitzGerald" <[email protected]> wrote:
>
Q<WWO-13> What are the difference between WLS6.1 and WLS7.0 web services?
A<WWO-13> The differences are huge, so different in fact that 6.1 web services
cannot
be deployed in 7.0. WLS7.0 and Workshop have much greater functionality
than the
limited stateless session (RPC-style) and JMS destination (MSG-style) approach
of
6.1. Workshop web services can interact with any type of EJB, any JMS destination
as well as other web services and directly accessing databases. The framework
for
building the web service is better and more adaptable and Workshop provides
a fully
integrated develop, deploy, test and debug environment. Additionally, WLS7.0
have
the capacity to be much better at performance since due to XML parser enhancements
and the addition of XML maps. -
Clustering wls6.0 and wls5.1
Hi,
Does anybody know if it is possible to cluster a wls6.0 and a wls5.1 servers
Thanks for your help,
Olivier
No, that's not possible.
All servers in a cluster must be using the same version of WLS as well as on
the same version of the Service Packs.
"Olivier Demin" <[email protected]> wrote in message
news:[email protected]..
> Hi,
>
> Does anybody know if it is possible to cluster a wls6.0 and a wls5.1
servers
> ?
>
> Thanks for your help,
> Olivier
>
>
-
J2EE connector API in WLS6.1 and listening to CMP/CMR
Hi,
I am interested in knowing any of your experience using J2EE CONNECTOR architecture
in WLS6.1, especially;
[1] Using it to obtain transaction events on CMP /CMR on business objects (s.a
EJBS) that employ webLogic CMP engine,
[2] Whether the J2EE connector APIs in WebLogic allow third party plugins (like
TopLink) to subscribe, s.t. other plugins (like the adapter which I may develon),
would be able to "listen" to the transaction events from the third party adapters,
[3] Any examples in WLS6.1 on using and configuring J2EE connector APIs,
[4] Other possibilities exist in WLS for obtaining CMP events notifying modifications
to application object state
Thanks in advance,
-hari
Hi. It is possible to package native code along with a RAR. Further, in J2EE 1.4, it is possible to write MDBs that implement arbitrary message listener types, return values, throw exceptions, etc.
-
XA error XAER_RMERR with wls6.1 and weblogic XA driver
This error develops quickly in our designed simple test with these settings:
1) wlserver6.1 on Ultra 10 with Solaris 8;
2) XA datasource on another Ultra 10 with Oracle 8i;
3) Weblogic XA Oracle Driver;
4) Simulated 50 clients from Windows 2000 IE using Microsoft Web Stress test
suite;
5) BMT session bean;
6) Data base contains a simple table with two colomns, name and password.
7) The test business logic is to get and return the password string, could
not be simpler.
The Processing logic(high level) is as follows:
A) get UserTransaction, and begin transaction;
B) loop(30 times):
1) get connection
2) create statement
3) execute statement
4) close result set
5) close statement
6) close connection
C) commit/rollback the tx accordingly.
Note that:
1) the 50 simulated clients will generate repeated hits to stress the
server.
2) We changed to use "thin" driver, giving up the XA capability, and the
tests run OK. However, XA is what we absolutely require of. So please help
identify this problem. It needed, the complete sample code can be made
available.
Thanks.
Here comes the exception dump:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has
occured in the transaction branch start() failed on resource
'weblogic.jdbc.jta.DataSource' start failed for XAResource 'branchoutPool'
with error XAER_RMERR : A resource manager error has occured in the
transaction branch at
weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1113) at
weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1079) at
weblogic.jdbc.jta.Connection.getXAConn(Connection.java:148) at
weblogic.jdbc.jta.Connection.createStatement(Connection.java:229) at
weblogic.jdbc.rmi.internal.ConnectionImpl.createStatement(ConnectionImpl.jav
a:126) at
weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:56)
at simpleEJB.SimpleEJB.hitdb(SimpleEJB.java:57) at
simpleEJB.SimpleEJB_1zpe51_EOImpl.hitdb(SimpleEJB_1zpe51_EOImpl.java:79) at
simpleEJB.SimpleEJB_1zpe51_EOImpl_WLSkel.invoke(Unknown Source) at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298) at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:93) at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:166) 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
:262) at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229) at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35) at
$Proxy83.hitdb(Unknown Source) at
simpleUI.SimpleProxy.hitdb(SimpleProxy.java:31) at
jsp_servlet.__simple._jspService(__simple.java:95) 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
:304) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200) at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.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)hi!
I´m facing the same problem with a similiar configuration.
Pool is large enough for an elephant! (:>))
Any other hints?
regards,
Pesca
"Richard Wallace" <[email protected]> escreveu na mensagem
news:[email protected]...
>
Hi,
What connection pool settings do you have? I assume you have enoughconnections
for this test?
Regards,
Richard Wallace
Senior Developer Relations Engineer
BEA Support.
"Yuming Liu" <[email protected]> wrote:
This error develops quickly in our designed simple test with these
settings:
>>
1) wlserver6.1 on Ultra 10 with Solaris 8;
2) XA datasource on another Ultra 10 with Oracle 8i;
3) Weblogic XA Oracle Driver;
4) Simulated 50 clients from Windows 2000 IE using Microsoft Web Stress
test
suite;
5) BMT session bean;
6) Data base contains a simple table with two colomns, name and password.
7) The test business logic is to get and return the password string,
could
not be simpler.
The Processing logic(high level) is as follows:
A) get UserTransaction, and begin transaction;
B) loop(30 times):
1) get connection
2) create statement
3) execute statement
4) close result set
5) close statement
6) close connection
C) commit/rollback the tx accordingly.
Note that:
1) the 50 simulated clients will generate repeated hits to stress the
server.
2) We changed to use "thin" driver, giving up the XA capability, and
the
tests run OK. However, XA is what we absolutely require of. So please
help
identify this problem. It needed, the complete sample code can be made
available.
Thanks.
Here comes the exception dump:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error
has
occured in the transaction branch start() failed on resource
'weblogic.jdbc.jta.DataSource' start failed for XAResource'branchoutPool'
with error XAER_RMERR : A resource manager error has occured in the
transaction branch at
weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1113) at
weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1079)
at
weblogic.jdbc.jta.Connection.getXAConn(Connection.java:148) at
weblogic.jdbc.jta.Connection.createStatement(Connection.java:229) atweblogic.jdbc.rmi.internal.ConnectionImpl.createStatement(ConnectionImpl.jav
a:126) atweblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:56)
at simpleEJB.SimpleEJB.hitdb(SimpleEJB.java:57) at
simpleEJB.SimpleEJB_1zpe51_EOImpl.hitdb(SimpleEJB_1zpe51_EOImpl.java:79)
at
simpleEJB.SimpleEJB_1zpe51_EOImpl_WLSkel.invoke(Unknown Source) at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
atweblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:93) atweblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:166)
at
weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
at
weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
atweblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:262) atweblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229) at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35) at
$Proxy83.hitdb(Unknown Source) at
simpleUI.SimpleProxy.hitdb(SimpleProxy.java:31) at
jsp_servlet.__simple._jspService(__simple.java:95) at
weblogic.servlet.jsp.JspBase.service(JspBase.java:27) atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265) atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:304) atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200) atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2495) atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2204) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) -
Problem while using PrepStmt.executeBach with Weblogic 6.0sp1 and
- I'm getting the same error when I use WLS 6.0 SP1 & thin driver. I'm not
getting this error when I use thin driver without WLS.
- This is definitely a bug in WLS. As a workaround put classes.zip {that
comes with oracle installation} before weblogic.jar in your classpath. This
way, classloader will load the oracle supplied classes & everything will
work smoothly
Manav
"Joseph Weinstein" <[email protected]> wrote in message
news:[email protected]...
>
>
Ruta wrote:
Hi Joe
I tried using a java standlaone program using prep stmts and oracle thin
driver
and it works just fine.
So is this a bug with Weblogic? Finally connection pooling isapplication server's
responsibility, isnt it..
I am inlcined to conclude this coz connection pooling works fine withStatement.executeBatch()
but not with prepStatement.executeBatch()
How do I resolve this now.
Thanks
Ruta
...Does it not release the connectionOk. Now let me see the JDBC code example. I'll see what's up.
Joe
Joseph Weinstein <[email protected]> wrote:
The first thing you should do is to reduce the problem to the simplest
form.
Write a tiny standalone program that just uses the thin driver
directly,
and repeats the code you are trying to run. This will eliminateWebLogic
from the equation and see if it's an Oracle-only bug.
Joe
Ruta wrote:
Hi,
I am trying to do multiple inserts in a table using the
PreparedStatement
of JDBC2.0.
I am using a TxDataSource of Weblogic server with a thin driver
oracle
pool. I
am using the driver classes that come with the weblogic.jar.
The problem is as follows:
I can manage to succesfully do the executeBatch a few
times..Interestingly
it
executes as many no. of times as the Initial capacity(not even maxcapacity) of
my connection pool.
Then it gives me the following error:
java.sql.SQLException: java.sql.SQLException: Missing IN or OUT
parameter
at index::
1
at
weblogic.jdbc.rmi.SerialStatement.executeBatch(SerialStatement.java:394)
atcom.equitable.acs.common.ACSCtrlBean.saveSDECData(ACSCtrlBean.java:147)
atcom.equitable.acs.common.ACSCtrlBeanImpl.saveSDECData(ACSCtrlBeanImpl.java:1
10)
atcom.equitable.acs.common.ACSCtrlBeanEOImpl.saveSDECData(ACSCtrlBeanEOImpl.ja
va:30)
atcom.equitable.acs.common.ACSCtrlBeanEOImpl_WLSkel.invoke(ACSCtrlBeanEOImpl_W
LSkel.java:133)
atweblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
atweblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:128)
atweblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
atweblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.
java:118)
atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
7)
atweblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
This Oracle error has error code 17041.. I could not find more infoon it, even
from the Oracle site.
I conclude that the connections are not getting relesed.
But i ahve written
con.close(); even
con=null; (out of desparation :) )
but still the connection is not released.
I am getting the connection in the saveSDECData method
I need to fix thsi problem ASAP..Any Help/Comments will be
appreciated..
Finally the most interesting part is :
executeBatch works perfectly fine with the Statement object..
so probably the culprit is the PreparedStatement implementation ofOracle..Can
anybody validate this pls
Regards
Ruta--
PS: Folks: BEA WebLogic is expanding rapidly, with both entry andadvanced
positions
for people who want to work with Java, XML, SOAP and E-Commerceinfrastructure
products.
We have jobs at Nashua NH, Liberty Corner NJ, San Francisco and SanJose
CA.
Send resumes to [email protected]
PS: Folks: BEA WebLogic is expanding rapidly, with both entry and advancedpositions
for people who want to work with Java, XML, SOAP and E-Commerceinfrastructure products.
We have jobs at Nashua NH, Liberty Corner NJ, San Francisco and San JoseCA.
Send resumes to [email protected] -
JBuilder 6, WLS6.1 and JSP error
I get the following error when I try to run or make a WAR-file for my JSP in JBuilder
6:
"JspWithCounter.jsp": weblogic.utils.AssertionError: ***** ASSERTION FAILED *****
- with nested exception:[java.lang.NullPointerException]
Has anyone any idea what this can be?
Regards,
MagnusI have the same problem.
Try to replace doctype from web-app_2_3.dtd to web-app_2_2.dtd in your web.xml
file.
"Magnus Björk" <[email protected]> wrote:
>
I get the following error when I try to run or make a WAR-file for my
JSP in JBuilder
6:
"JspWithCounter.jsp": weblogic.utils.AssertionError: ***** ASSERTION
FAILED *****
- with nested exception:[java.lang.NullPointerException]
Has anyone any idea what this can be?
Regards,
Magnus -
[att1.html]
I've been fighting the same issues over the past few days. The answer you gave still left me
wondering which tool to use. Should it be rmi -iiop or ejbc -iiop? I get the idl files on
WLS 5.1 generated but then I can't get the idlj to execute properly on the generated
HelloHome.idl and Hello.idl.
Wayne
Andy Piper wrote:
Abhishek <[email protected]> writes:
But How do I write Rmi - iiop clients for EJBs.
when I try to generate the IDL for my EJB by running the weblogic.rmic utility I get an
error that none of my classes ( Remote, Home and Impl ) implement the remote
interface. Which is true as EJBs do not directly implement the remote interface.You may be able to get this to work with WLS6.0SP1 and the
-idlMethodSignatures flag. Take a look at the methods target in
examples/rmi_iiop/ejb/generic_idl or at
examples/rmi_iiop/ejb/simplified_idl. This all works fine in
Silversword.
andy -
WLS6.0 sp1 and MS Active Directory
Hi,
Is it possible to configure WLS' LDAP security realm to use MS' Active
Directory to authenticate users? A quick yes or no would be appreciated -
I'll worry about the finer details of how later!!
Regards
Laura AllenCustom realm of course with the weblogic....ldaprealmv2.LDAPRealm
implementation class.
We did not use Kerberos authentication - just the plain password
authentication in "cleartext". Our servers are inside a secure data center -
no encryption required. That's why we did not need jdk1.4.
"Marc Carrion" <[email protected]> wrote in message
news:[email protected]...
>
Are you telling that you configured the ldap realm of WL to use activedirectory?
or you used your custom realm?
To use the authentication with Kerberos you need to use GSS-API and it'snot
included in jdk1.3 neither in jaas, that's why I needed to use jdk1.4
Can you explain how did you do that?
Thanks,
Marc
"Roy Cornell" <[email protected]> wrote:
Hi Laura:
No, BEA did not confirm the compatibility. We did our own investigation
and
found that the two systems work well together. One of the highlights
of the
research was the fact that the configuration of the WLS custom realm
for
Active Directory was more similar to Netscape Directory or Open LDAP
than to
the MS Site Server.
I am attaching the sample settings for the LDAP realm:
server.host=<some-ip-or-name>
server.principal=CN=wlsadmin001,OU=WLSMEMBERS1,DC=company,DC=com
user.filter=(&(cn=%u)(objectclass=user))
user.dn=OU=WLSMEMBERS1,DC=company,DC=com
group.filter=(&(cn=%g)(objectclass=group))
group.dn=OU=WLSGROUPS1,DC=company,DC=com
membership.filter=(&(member=%M)(objectclass=group))
We used the AD for authenticating the users and for authorizing the EJB
methods. AD contained the users and their security roles and the
deployment
descriptiors of the EJB's contained the permissions for the security
roles.
We ran repeated tests and were more or less satisfied.
Regards
P.S.
we used WLS 6.1 Jdk 1.3
----- Original Message -----
Sent: Tuesday, September 18, 2001 5:40 AM
Subject: WLS6.0 and Active Directory
Forgive me contacting you directly, but did you recieve a reply fromBEA
as
to whether WLS supports interaction with Active Driectory? And wereyou
attempting to use Active Directory just for user authentication? Anyinfo
on how WLS and Active Directory interact would be appreciated!
Regards
Laura Allen
The information in this e-mail and any attached files is confidential.It
is intended solely for the use of the addressee. Any unauthorised
disclosure or use is prohibited. If you are not the intended
recipient
of
the message, please notify the sender immediately and do not disclosethe
contents to any other person, use it for any purpose, or store or copythe
information in any medium. The views of the author may not necessarily
reflect those of the Company.
"Laura Allen" <[email protected]> wrote in message
news:[email protected]...
Hi,
Is it possible to configure WLS' LDAP security realm to use MS' Active
Directory to authenticate users? A quick yes or no would be
appreciated
I'll worry about the finer details of how later!!
Regards
Laura Allen -
JDriver error using WLS6.1 w/ Oracle 8.1.7
Hello,I am getting the error listed when starting my weblogic server after creating a connection pool and datasource through the weblogic (6.1) console. I am currently using the jDriver 5.1.0 oracle kit. I used this kit previously with the WLS6.0sp1 installation and had no errors.Any suggestions? Thanks in advance!-Christine--***** BEGIN ERROR*******Starting Loading jDriver/Oracle .....-------- LOGIN ERROR CODE: 24327---------- LOGIN ERROR CODE: 24327<Aug 17, 2001 1:40:22 PM EDT> <Error> <JDBC> <Cannot startup connection pool "ConnPool" weblogic.common.ResourceException:Could not create pool connection. The DBMS driver exception was:java.sql.SQLException: ORA-24327: need explicit attach before authenticating a user - (user/********)--*****END ERROR******--
Also you don't have to have any additional 5.1.0 oracle kit here. WLS6.1
bundles the oracle drivers and the necessary libraries. can you check if
your path is pointing to the right bin folder for the 817 libraries.
sree
"Sree Bodapati" <[email protected]> wrote in message
news:[email protected]...
Hi Christine
Can you do a dbping from the machine where you start the wls server?
java utils.dbping ORACLE scott tiger servicename(as in tnsnames.ora)
sree
"christine" <[email protected]> wrote in message
news:[email protected]...
Thank you for your quick reply, Sree. Unfortunately, both the clientversion of
oracle and the classes12.zip that ships with that version are correct.
In
addition,
the service name is in the tsnames.ora file.
What is puzzling is that we used this same connectionpool/datasource/oracle/weblogic
configuration when running weblogic 6.0sp1 with no errors. The only
thing
that
has changed in our configuration is that we upgraded to weblogic 6.1.
Any other thoughts?
Thanks again in advance!
-Christine
"Sree Bodapati" <[email protected]> wrote:
Make sure you are using proper client version of the oracle client
software.
And the classes12.zip that ships that version.
And most importantly make sure you have the service name , in the
tnsnames.ora file in the oracle client folder <oracalhome>/network/admin.
hth
sree
"christine" <[email protected]> wrote in message
news:[email protected]...
Hello,I am getting the error listed when starting my weblogic serverafter
creating a connection pool and datasource through the weblogic (6.1)
console. I am currently using the jDriver 5.1.0 oracle kit. I used
this
kit previously with the WLS6.0sp1 installation and had no errors.Any
suggestions? Thanks in advance!-Christine--***** BEGIN
ERROR*******Starting Loading jDriver/Oracle .....-------- LOGIN
ERROR
CODE: 24327---------- LOGIN ERROR CODE: 24327<Aug 17, 2001 1:40:22 PM
EDT>
<Error> <JDBC> <Cannot startup connection pool "ConnPool"
weblogic.common.ResourceException:Could not create pool connection. The
DBMS
driver exception was:java.sql.SQLException: ORA-24327: need explicit
attach
before authenticating a user - (user/********)--*****END ERROR******-- -
Starting weblogic cluster and admin server on Win 2000 platform
Hi! Here's my problem scenario:
I'm running my WLS 8.1 application as WLS cluster on Win 2000 platform. I have
3 replicated WLS servers in my cluster and of course one WLS server as admin server
(4 WLS servers all together). I'm starting my WLS application using Win services
which behind a scene call win 2000 comand interpreter batch-file to start the
servers. Currently I have 4 different win 2000 services each calling different
batch-files to start a WLS server (4 all together). Here's my question:
Is there any way to start my cluster (3 managed WLS servers) and WLS admin server
from single win 2000 command file (using single win 2000 service). Using win 2000
AT-command interpreter command I can start executables and command(s) and command-files
at background at specific date and time, but I want to start my WLS application
on every win 2000 platform boot, is there any way to achieve this ???
Best Regards!
Jamihi,
Thanks for stepping up!
But I wasn't using any clustering or loadbalancing.
Just a simple Admin server, Managed server set up.
256 Meg, Pentium box running Win 2000 premium edition.
I tried tweeking around the heap size too.... coz' the operations were slogging
like anything...
Bal
"Raja Mukherjee" <[email protected]> wrote:
It seems like network issue....do you have Windows Clustering/Load Balancing
service turned on by any chance? I would also use netmon to see the traffic
between the ips....
..raja
"Bala" <[email protected]> wrote in message
news:3b3a6c00$[email protected]..
hi,
I am looking at a strange behaviour with WLS6.0SP1 installed on WINDOWS2000 Premium.
I brought up the Admin server and a Managed server. After a while theAdmin Server
is compeletely
losing the control of the managed server (for no reason).
when I tried monitoring the managed server from the console, I couldnot
access
the manager server
and the status down (red ball). I tried restarting the Admin Server
in the discover mode - NO LUCK.
But when I restart the Managed server and go to the Web Based Admin
Console and refresh, it worked. But I dont think we should be doingthat
in a
production environment.
Did anybody come across such a problem before ???
Is this a problem with Win 2000 ???
coz' it never happened with NT workstation
thanks in advance -
Hot delpoyment with TopLink and Stateless Session Beans
What is the recommended procedure for making hot deployment of Stateless session beans work with toplink in WLS 7.0sp1 and oc4j (9.0.3)
My current setup is as follows using WLS 7.0sp1:
A stateless session bean is accessing toplink enabled persistent java classes via the SessionManager. I'm currently using the class loader of the stateless session bean:
* Method in stateless session bean
* Return the TopLink Session (based on the wls stateless session bean demo)
public Server getSession() {
return (Server)SessionManager.getManager().getSession("ejb_sessionbean", this.getClass().getClassLoader());
Everything is working as such. My session bean can read and write the persistent java classes. However if I redeploy the stateless session bean jar file the toplink session is not reinitalized. This means that new settings in the session.xml are not used. I addition I get other errors.
I'm having toplink on the server classpath. The toplink enabled persistent classes are in the stateless session bean jar file.
Thanks
HenrikWhat is the recommended procedure for making hot deployment of Stateless session beans work with toplink in WLS 7.0sp1 and oc4j (9.0.3)
Everything is working as such. My session bean can read and write the persistent java classes. However if I redeploy the stateless session bean jar file the toplink session is not reinitalized. This means that new settings in the session.xml are not used. I addition I get other errors.
I'm having toplink on the server classpath. The toplink enabled persistent classes are in the stateless session bean jar file.Henrik,
This is a recent post note I found on the same topic:
It all hinges on whether the TopLink ServerSession class has
been loaded by a classloader which is actually thrown away
during the hot deployment process. If this is the case, then
hot deployment causes the ServerSession to go out of scope
and finalize methods take care of logging it out properly.
If you deploy your TopLink Project on the Sytem class path then
it definately won't work. You'd have to restart the server every time.
But if the TopLink Project is deployed inside of an .ear file
and if you pass the correct ClassLoader to the
SessionManager.getSession( .... ) call then TopLink Session will
be re-started when you hot deploy the .earBased on this, the solution might be to deploy your EJBs in an ear file. Everything else looks OK. Can you try this and let us know?
Thanks,
Pete Farkas
Maybe you are looking for
-
MMS J2ee app made with JBOSS want to use it with JRUN
Hello fellow developers, I am very interested in creating a small website for uploading photos from my cell phone to a j2ee app running on a JRUN 4 server. I've downloaded the J2, JSR-212 SAMS Messaging API EJB Reference Implementation, from the noki
-
Transport using CMS between Dev, Qual and Prod
Hi, I'm a little bit curios if there are others out there using CMS for transport in a XI production line - Dev -> Qual -> Prod. My company is using it, and it seems to me that at consolidation stage, you can only select transports related to a SWCV
-
Our iphoto library disappeared. how do we find it again?
our iphoto library disappeared. how do we find it again?
-
Export using UTF8 character set
Hi, My client is having a production database with default character set. While exporting I need to export the database to create a dump with UTF8 character set. Please let me know how to export with UTF8 option. Thanks....
-
My poor old Dell, dial-up and I waited our way through getting an new account established, and it was confirmed. The next time I went to it, I could only get iTunes Japan- and my gift card won't work because it's US. How do I get US iTunes Store?