IntelliJ and Weblogic Debug Integration
All,
I am looking for some information about how to locally debug a servlet application in IntelliJ using Weblogic as my app server. I am doing this is a local debug, and have been using Tomcat in this fashion for a couple years now. I want to set up weblogic and test on that platform. I can't seem to find any docs. Can anyone point me in the right direction?
This turned out to be pretty straight-forward. My only trouble was that I didn't understand WebLogic at all, and once I understood what a domain was, and how to specify that in the setup, I was able to run my application id debug.
Similar Messages
-
Apache httpd.conf and Weblogic server integration.
Dear friends,
I am seeing a strange problem in my Apache and weblogic integration work.
In the Apache httpd.conf file, under mod_weblogic.c module, if i dont turn DebugConfigInfo ON then my system is not working properly. always hitting with http 404 error. can you please explain why this is required and if required is it mandatory to turn it ON ?
when i read in weblogic docs, its mentioned as to turn it OFF for security reasons. But if i make it as OFF then my website is not working properly.
Here is the conents of mod_weblogic.c module in my httpd.conf file.
<IfModule mod_weblogic.c>
WebLogicHost rlw1csts08.bpweb.bp.com
WebLogicPort 7001
DebugConfigInfo On
#EnforceBasicConstraints OFF
PathPrepend /csmain-web
ErrorPage /err/serverErrorWL.xml
#WLLogFile "| /export/home/wwwst08/apache/bin/rotatelogs /export/home/wwwst08/apache/logs/WL_apache_error.log.%Y%m%d%H%M%S 86400"
WLLogFile "/export/home/wwwst08/apache/logs/WL_apache_error.log"
</IfModule>
Please let me know your inputs. Its very urgent.
Thanks
subba.I donot have the complete httpd.conf with me right now but you have to follow the following steps:
1) Compile Apache with ssl module included
2) Instead of Port 80 change the port to 443 at global level or at virtual directory level
3) If u want to redirect the traffic on port 80 to port 443 then also include mod_rewrite module while compiliing apache and write a rule to redirect the traffic from port 80 to 443 -
Hot swap and JSP debugging for Weblogic in exploded format?
Hi,
I'm trying to use JDeveloper for JSF development to be deployed to a weblogic server.
I must say JDeveloper is a great tool for JSF development as none of the free IDE in the market can do what JDeveloper does.
However, I have a question on hot swap and JSP debugging.
I have managed to setup JDeveloper to debug my JSF application deploy to my Weblogic server's applications folder in exploded format.
I can step through the java code.
However, I didn't manage to do a hot swap and the break point set in the JSF-JSP does not seems to take effect.
I would appreciate any advice on the problem.
Thanks.
Han MingHow did you setup the server to handle exploded format? Appreciate the help. Sorry can't help with your question though.
Thnx.
Soni -
Problem integrating Oracle 9i and Weblogic 7 with MDBs
All:
I would really appreciate an answer to this question.
Background:
- We are using Oracle 9i and Weblogic 7
- I have an MDB that receives a message, then in the onMessage(Message) method
performs a findByPrimaryKey(String).
Problem:
The deployment descriptors and the MDB all work fine when I set them up to query
against a Pointbase database and deploy to Weblogic. Everything worked fine. But
this was only a test to see if everything would work.
I now need to query against an Oracle database. I got the updated version of the
Oracle Thin Driver and put it in the WL_HOME/server/lib/classes12.zip file. I
even added it to the beginning of the classpath in the startWeblogic.cmd file.
But am still having problems.
To test the just the Oracle connection I double checked the user, password, URL,
and driver settings in a java file using JDBC connections - and they worked fine.
They just aren't working when integrated into Weblogic.
The problem lies in the Weblogic 7 server integration with Oracle 9i. The software
integrated fine when tables from a Pointbase database were queried. The only changes
made have been to make the connectivity to Oracle.
My errors are in the attached myserver.log file. If anyone knows if this is a
known problem or what the problem is please let me know.
Just FYI my settings are as follows:
Driver: oracle.jdbc.driver.OracleDriver
URL=jdbc:oracle:thin:@192.168.6.10:1521:proType1
user=protype1
password=protype1
Any advice is welcomed! I've tried everything I can think of.
Angie
[myserver_errors.txt]Hi Angela
you can try the following parameters in the FileRealm.properties to set
acl.reserve.weblogic.jdbc.connectionPool.<connectionPool>=everyone
Thomas
Angela Biche schrieb:
Thanks, I set the initial pool count to 2 and have up to 10
connections (for this testing). Unfortunately it hasn't helped
any.
The error that I am getting is an SQLException:
Exception = Access not allowed
But when I ran the java utils.dbping it makes the connection
with the connection and driver parameters I enter in the console.
I'm still open to ideas on this! :)
Thanks,
Angie -
Diff between BPM and weblogic integration
hi,
can anybody tell me what is the difference between aqualogic BPM and weblogic integration.
both do business process modelling.
and can anybody tell me when to use one . a usecase example would be helpful.
thankshi,
can anybody tell me what is the difference between aqualogic BPM and weblogic integration.
both do business process modelling.
and can anybody tell me when to use one . a usecase example would be helpful.
thanks -
Jbuilder 6 enterprise and weblogic server 6.1 integration problem
hello,
i am using jbuilder 6 enterprise and weblogic server 6.1. i just got a new
workstation and imported my old project from cvs into jbuilder and
everything is fine up to this point.
the application in question is using servlet filters, so i absolutely need
web application version 2.3. it seems, though, that my jbuilder believes for
some reason that only tomcat 4 and borland enterprise server are capable of
using servlet filters. i cannot remember how i fixed this last time around,
but i did somehow. i had a recollection that the jb6_all_001 patch did the
trick, but obviously it didn't this time, at least. what is really annoying
is that the wizard does not allow me to create servlet filters and the
webapp dd editor does not allow me to configure filters, either. of course,
i can edit web.xml manually, but starting the server changes the dtd back to
2.2 and removes everything that is 2.3 specific.
please help me fix this?at the moment it is possible for me to work, though. i worked around the
problem and i set web.xml as a read only file. i still can't use wizards to
create servlets and i can't edit web.xml with jbuilder. -
Visualage and weblogic !!!
Hi ,
I was wondering if there is someone who has used these two products
namely Visualage and Weblogic together.
Regards
Suchak JaniWe integrate with the Professional version of VAge which doesn't support JSPs.
Their Enterprise version does, but is tightly coupled to WebSphere and an
earlier release of the JSP spec.
You can do debugging of JSPs in VAge but you'll need to convert them to java
servlets first (use weblogic.jspc, see the JSP documentation.
-dana
suchak wrote:
>
Dana ,
Please could you tell us about JSP's within the integration of VAge 2.0 and
WebLogic 4.5.1.
Regards
Suchak Jani
"suchak" <[email protected]> wrote in message
news:8f6fug$baa$[email protected]..
Hi Dana ,
Thank you for your reply !
I have a question though ...
BEA currently provides a integration with VAge 2.0 and WebLogic 4.5.1.This Integration , does it incude JSP's ??
Regards
Suchak Jani
"Dana Jeffries" <[email protected]> wrote in message
news:[email protected]..
BEA currently provides a integration with VAge 2.0 and WebLogic 4.5.1.
We're getting ready to beta the VAge 3.02 Integration Kit for WebLogic5.1.0.
The beta should be available around the middle of the month. Check out
weblogic.beta.tools.visualage for a notice of the release.
Dana Jeffries
BEA WebLogic Engineering
suchak wrote:
Hi ,
I was wondering if there is someone who has used these two products
namely Visualage and Weblogic together.
Regards
Suchak Jani -
Assigning a node value from an XML variable to a String type in Weblogic Process Integrator
Hi,
Is there any way to assign a node value from an XML variable to a String variable
in Weblogic Process Integrator...
Thanx.
Narendra.Nerendra
Are you talking about using Xpath on the XML document and assigning to a
variable, it is unclear what you are asking
Tony
"Narendra" <[email protected]> wrote in message
news:3bba1215$[email protected]..
>
Hi,
Is there any way to assign a node value from an XML variable to a Stringvariable
in Weblogic Process Integrator...
Thanx.
Narendra. -
Error deploy Jboss and Weblogic with JDev 10.1.3.0.3 EA
Hi,
I'm having problem with deploy application make with JDev 10.1.3.0.3 EA
in a Jboss 4.0.2 and Weblogic 8.1. Very simple app with JSF.
The error seems to be in application.xml. Maybe because xml schema.
It is a bug? Are there a workround?
Thanks!
The log of Jboss:
2005-09-23 16:04:40,863 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/usr/local/jboss-4.0.2/server/default/deploy/appnovotestejsf.ear
2005-09-23 16:04:40,863 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/usr/local/jboss-4.0.2/server/default/deploy/appnovotestejsf.ear
2005-09-23 16:04:40,863 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/usr/local/jboss-4.0.2/server/default/deploy/appnovotestejsf.ear -> /usr/local/jboss-4.0.2/server/default/tmp/deploy/tmp12285appnovotestejsf.ear
2005-09-23 16:04:40,864 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.EARDeployer@510e39
2005-09-23 16:04:40,864 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/usr/local/jboss-4.0.2/server/default/deploy/appnovotestejsf.ear
2005-09-23 16:04:40,866 ERROR [org.jboss.metadata.XmlFileLoader] Invalid XML: file=META-INF/application.xml@-1:2
java.lang.IllegalStateException: can't declare any more prefixes in this context
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:691)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:313)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:257)
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:127)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:483)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
2005-09-23 16:04:40,867 ERROR [org.jboss.deployment.MainDeployer] Could not initialise deployment: file:/usr/local/jboss-4.0.2/server/default/deploy/appnovotestejsf.ear
org.jboss.deployment.DeploymentException: Invalid XML: file=META-INF/application.xml@-1:2; - nested throwable: (java.lang.IllegalStateException: can't declare any more prefixes in this context)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:328)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:257)
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:127)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:483)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
Caused by: java.lang.IllegalStateException: can't declare any more prefixes in this context
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:691)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:313)
... 23 more
2005-09-23 16:04:40,869 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@e3ab9801{ url=file:/usr/local/jboss-4.0.2/server/default/deploy/appnovotestejsf.ear, deployedLastModified=1127502101000 }
org.jboss.deployment.DeploymentException: Invalid XML: file=META-INF/application.xml@-1:2; - nested throwable: (java.lang.IllegalStateException: can't declare any more prefixes in this context)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:328)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:257)
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:127)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:483)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
Caused by: java.lang.IllegalStateException: can't declare any more prefixes in this context
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:691)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:313)
... 23 moreThe test is easer.
I make a new Empty Project like J2EE13. After create a new JSP (Web tier -> JSP).
I chose j2ee version 1.3. So I put some jsp code inside, like
<body>
<%
out.write("Teste J2EE 1.3");
%></body>
After I create a new Deployment Profiles WAR File.
Make a build, a .war file and .ear and everythink worked.
So I make a J2EE Deplyment Descriptor Wizard with version 1.3
And make rebuil project.
JDev don't finish the rebuild. The thread dump with CRTL+BREAK :
Full thread dump Java HotSpot(TM) Client VM (1.5.0_05-b03 mixed mode):
"Log Page Updater" prio=5 tid=0x07d0ee78 nid=0x9d8 waiting on condition [0x08a8f000..0x08a8f9e8]
at java.lang.Thread.sleep(Native Method)
at oracle.jdeveloper.compiler.CompilerPage$2.run(CompilerPage.java:536)
"CompileThread" prio=5 tid=0x07d0e4f8 nid=0x94c in Object.wait() [0x0858f000..0x0858fa68]
at java.lang.Object.wait(Native Method)
at oracle.javatools.buffer.ReadWriteLock.readLock(ReadWriteLock.java:385)
- locked <0x141e7408> (a oracle.javatools.buffer.ReadWriteLock)
at oracle.javatools.buffer.ReadWriteLock.readLock(ReadWriteLock.java:252)
at oracle.javatools.buffer.AbstractTextBuffer.readLock(AbstractTextBuffer.java:1112)
at oracle.ide.model.TextNode$TextBufferWrapper.readLock(TextNode.java:1781)
at oracle.javatools.buffer.TextBufferReader.<init>(TextBufferReader.java:52)
at oracle.javatools.buffer.TextBufferFactory.createReader(TextBufferFactory.java:167)
at oracle.bali.xml.addin.XMLSourceNode.doWellFormednessCheckDuringMake(XMLSourceNode.java:382)
at oracle.bali.xml.addin.translator.XmlTranslator.translate(XmlTranslator.java:198)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGraph(UnifiedBuildSystem.java:299)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFiles(UnifiedBuildSystem.java:514)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProject(UnifiedBuildSystem.java:607)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:664)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:884)
"Thread-22" prio=7 tid=0x069eb8b0 nid=0x9c8 in Object.wait() [0x08c8f000..0x08c8fae8]
at java.lang.Object.wait(Native Method)
at oracle.javatools.buffer.ReadWriteLock.readLock(ReadWriteLock.java:385)
- locked <0x141e7408> (a oracle.javatools.buffer.ReadWriteLock)
at oracle.javatools.buffer.ReadWriteLock.readLock(ReadWriteLock.java:252)
at oracle.javatools.buffer.AbstractTextBuffer.readLock(AbstractTextBuffer.java:1112)
at oracle.ide.model.TextNode$TextBufferWrapper.readLock(TextNode.java:1781)
at oracle.jdevimpl.todo.ToDoManagerImpl._getToDoListFromNode(ToDoManagerImpl.java:1020)
at oracle.jdevimpl.todo.ToDoManagerImpl.maS$_getToDoListFromNode(ToDoManagerImpl.java)
at oracle.jdevimpl.todo.ToDoManagerImpl$ToDoItemManager$1.construct(ToDoManagerImpl.java:2083)
at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
at java.lang.Thread.run(Thread.java:595)
"IconOverlayTracker Timer" prio=5 tid=0x07367168 nid=0x4c8 in Object.wait() [0x0848f000..0x0848fb68]
at java.lang.Object.wait(Native Method)
- waiting on <0x140880b0> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x140880b0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"Persistence Auto Flusher" daemon prio=5 tid=0x0770d660 nid=0xfec in Object.wait() [0x0958f000..0x0958fc68]
at java.lang.Object.wait(Native Method)
- waiting on <0x1401ee28> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x1401ee28> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"IdeMinPriorityTimer" daemon prio=2 tid=0x06a58c90 nid=0xff0 in Object.wait() [0x0948f000..0x0948f9e8]
at java.lang.Object.wait(Native Method)
- waiting on <0x13d61428> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x13d61428> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"AuditExecutor-5" daemon prio=7 tid=0x07620e50 nid=0x6f8 in Object.wait() [0x0928f000..0x0928fa68]
at java.lang.Object.wait(Native Method)
- waiting on <0x13d45398> (a oracle.javatools.util.SynchronizedQueue)
at java.lang.Object.wait(Object.java:474)
at oracle.javatools.util.SynchronizedQueue.remove(SynchronizedQueue.java:61)
- locked <0x13d45398> (a oracle.javatools.util.SynchronizedQueue)
at oracle.jdevimpl.audit.util.SwingExecutor.run(SwingExecutor.java:467)
at java.lang.Thread.run(Thread.java:595)
"WaitCursorTimer" daemon prio=5 tid=0x073e7428 nid=0x3f4 in Object.wait() [0x08b8f000..0x08b8fbe8]
at java.lang.Object.wait(Native Method)
- waiting on <0x134b6160> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x134b6160> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"BufferDomModel background parse thread" daemon prio=2 tid=0x03c9f8c0 nid=0x690 in Object.wait() [0x0898f000..0x0898fce8]
at java.lang.Object.wait(Native Method)
- waiting on <0x1318a2e8> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x1318a2e8> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"WeakDataReference polling" prio=2 tid=0x072afba0 nid=0x664 in Object.wait() [0x0888f000..0x0888fd68]
at java.lang.Object.wait(Native Method)
- waiting on <0x1318c598> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x1318c598> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at oracle.ide.util.WeakDataReference$Cleaner.run(WeakDataReference.java:88)
at java.lang.Thread.run(Thread.java:595)
"Native Directory Watcher" prio=2 tid=0x06c4ba00 nid=0x350 runnable [0x0868f000..0x0868fa68]
at oracle.ide.natives.NativeHandler.enterWatcherThread(Native Method)
at oracle.ide.natives.NativeHandler$1.run(NativeHandler.java:244)
at java.lang.Thread.run(Thread.java:595)
"IconOverlayTracker Timer" prio=5 tid=0x069d2bd0 nid=0x948 in Object.wait() [0x0838f000..0x0838fb68]
at java.lang.Object.wait(Native Method)
- waiting on <0x12fd96e0> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x12fd96e0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"TimerQueue" daemon prio=5 tid=0x03db5be0 nid=0x924 in Object.wait() [0x0657f000..0x0657fb68]
at java.lang.Object.wait(Native Method)
- waiting on <0x12903aa0> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(TimerQueue.java:233)
- locked <0x12903aa0> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:595)
"AWT-EventQueue-0" prio=7 tid=0x03d78958 nid=0x34c in Object.wait() [0x0443f000..0x0443fbe8]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:474)
at java.awt.EventQueue.getNextEvent(EventQueue.java:345)
- locked <0x128687b8> (a java.awt.EventQueue)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:189)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
"Java2D Disposer" daemon prio=10 tid=0x03d757e8 nid=0xf4c in Object.wait() [0x0423f000..0x0423fce8]
at java.lang.Object.wait(Native Method)
- waiting on <0x1286a2c0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x1286a2c0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at sun.java2d.Disposer.run(Disposer.java:107)
at java.lang.Thread.run(Thread.java:595)
"AWT-Windows" daemon prio=7 tid=0x03d6d660 nid=0x698 runnable [0x0413f000..0x0413fd68]
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(WToolkit.java:269)
at java.lang.Thread.run(Thread.java:595)
"AWT-Shutdown" prio=5 tid=0x03d68d78 nid=0x8c8 in Object.wait() [0x0403f000..0x0403f9e8]
at java.lang.Object.wait(Native Method)
- waiting on <0x1286a3a8> (a java.lang.Object)
at java.lang.Object.wait(Object.java:474)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
- locked <0x1286a3a8> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:595)
"Low Memory Detector" daemon prio=5 tid=0x013ca0a8 nid=0x10c runnable [0x00000000..0x00000000]
"CompilerThread0" daemon prio=10 tid=0x013c8e00 nid=0x8c0 waiting on condition [0x00000000..0x03b1f8cc]
"Signal Dispatcher" daemon prio=10 tid=0x013a9ac8 nid=0x99c waiting on condition [0x00000000..0x00000000]
"Finalizer" daemon prio=9 tid=0x0135b940 nid=0x11c in Object.wait() [0x0391f000..0x0391fc68]
at java.lang.Object.wait(Native Method)
- waiting on <0x1280f808> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x1280f808> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
"Reference Handler" daemon prio=10 tid=0x0139bb58 nid=0x4a8 in Object.wait() [0x0381f000..0x0381fce8]
at java.lang.Object.wait(Native Method)
- waiting on <0x1280f888> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:474)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x1280f888> (a java.lang.ref.Reference$Lock)
"main" prio=5 tid=0x00846878 nid=0x840 waiting on condition [0x00000000..0x0012fb60]
"VM Thread" prio=10 tid=0x0084f410 nid=0x77c runnable
"VM Periodic Task Thread" prio=10 tid=0x013dcac8 nid=0x8f0 waiting on condition
Close JDev and reopen don't resolve.
Thanks. -
JSF 1.2 and Weblogic 10.3.6 compatibility issue
Hi All,
Our application have been developed in JSF 1.2 and spring DAO. We have deployed it on Weblogic 10.3.6 X86 server.
We are facing an issue like on page load data are populated in the page. Say for example on page load company list getting populated and displayed in the drop down.
If we do any operation like select a company code or submit the page all the data are flushed out from the pages. After that navigation of pages also doesnot work.
We neither get any logs nor exception.
And i am not getting this issue in my local weblogic server - 10.3.5
We are struggling with this issue for more than 10 days now and its critical time for us to fix it ASAP.
Thanks,
SeethaHi kalyan,
We are not getting any logs. the control is going to javascript but the page get refreshed and all data are just vanishing.
We have tried to add below entries in weblogic-application.xml
<wls:prefer-application-packages>
<wls:package-name>com.sun.facelets.*</wls:package-name>
<wls:package-name>com.sun.faces.*</wls:package-name>
<wls:package-name>javax.faces.*</wls:package-name>
<wls:package-name>javax.servlet.*</wls:package-name>
</wls:prefer-application-packages>
No change.
Tried this
<wls:library-ref>
<wls:library-name>jsf</wls:library-name>
<wls:specification-version>1.2</wls:specification-version>
<wls:implementation-version>1.2</wls:implementation-version>
<wls:exact-match>false</wls:exact-match>
</wls:library-ref>
No Change.
tried this
<wls:prefer-application-resources>
<wls:resource-name>APP-INF/lib</wls:resource-name>
</wls:prefer-application-resources>
No Change
Anything we missing here. Why it is working in my local server and not in Integration server?
Kindly help us.
Thanks,
Seetha -
Invoking secure services inside bpel with x509 certificate and weblogic
Hi, everyone. Here we have a problem with invoking secure webservices (*client authentication*) from a bpel deployed in weblogic that is consuming so much time (more than a week) and don't know what else to try.
The scenario: we have a bpel process which invokes a series of web services without any security mechanisms. Now, we have to change it to invoke a series of webservices that do exactly the same, but using ssl and client authentication with x509 certificates. The first part of it, the ssl one, is done without any problems. But the second part is not working at all, and we (I) are running out of ideas how to configure it in weblogic.
The situation: I want to invoke a webservice, say, Service1. It requires client authentication, so I should pass a certificate (*which I already have*). I put that certificate inside a keystore (with keytool -importkeystore, from p12 to jks). With SoapUI I have no problem now to invoke the service now. But, I'm not sure what should I do to make it work in weblogic; after all, the provider keeps answering with a HTTP 403 Forbidden error.
The actions: inside the weblogic's enterprise manager, in SOA deployments (SOA / soa-infra / default ) I selected my composite, and in the Dashboard (down at Services and references), clicked the particular service (Service1). Then, it took me to another page where I can see statistics about that service, and a tab named Policies. There (in Policies) I have the chance to attach a policy, but I don't know which one is the approppriate; I guest it should be WSS11_x509_token_with_message_protection_service_policy, which in turn asks me to provide a value for keystore.recipient.alias, keystore.sig.csf.key and keystore.enc.csf.key. For this keys, I provide values that I configured in Credentials (Weblogic Domain / Security / Credentials, subtree oracle.wsm.security). My own logic tells me that what I have done is what I should have done, but still no luck :(
I am sure the keystore is ok (if I rename the keystore file it tells me that the keystore file cannot be found, and if I specify an alias which is not inside the keystore it tells me that the alias is not found and list me valid aliases). I guess I am missing something, somewhere, but after many hours (days, almost 2 weeks) googling, still cannot make it work.
Any ideas would be apreciated. If anyone knows about a post or article about this, it would be apreciated too, but I can tell is not that I just googled for 25 minutes, but I have spent more than a week googling, trying, analyzing and reading formal documentation, with no results.
Thanks in advance!Try to enable SSL and WS debugging on your WLS. Add the following to your startup script:
-Dweblogic.webservice.verbose=true
-Dssl.debug=true
..then you might be able to spot if the rejection is based on some handshake problem. -
PHP and WebLogic 8.1.4
Hello,
I am new to WebLogic. Searching through the archives and forums, there are many posts but no solutions for integrating PHP and WebLogic 8.1.x.
Has anyone posted, or could they, on how to configure Weblogic 8.1.4 to use PHP?
Second question, does PHP run under a more current version of WebLogic?
thank you for your help.
Sincerely,
RobertOkay, let me try this a different way...
Has anyone used PHP in an application deployed to WebLogic. If so, what version of WebLogic.
Also, what is the earliest version of WebLogic that supports the use of PHP?
Thank you,
Robert -
Session Beans and TIBCO E4JMS and Weblogic JMS 8.1
Setup:-
Weblogic Server 8.1 SP2 on Linux
TIBCO E4JMS 3.1.2
I have a two Staeless Session Beans which are deployed in both sides of the cluster
- Cluster is made up of two servers(ManagedServer1 and ManagedServer2) on the
same machine. The beans have container managed transaction and trans-type set
to required. The JMS Server is on ManagedServer1. The session bean publishes 100
messages to TIBCO JMS and Weblogic JMS and calls the second bean which again publishes
100 messages to TIBCO JMS and Weblogic JMS .
The connection factories used are XAQueueConnectionFactories.
This seems to work under the following conditions:-
a) The session beans are deployed just in ManagedServer1
b) The WL load balancing scheme manages to run both the beans on ManagedServer1
c) If I don't publish onto Weblogic JMS( It runs successfully on ManagedServer1
and ManagedServer2)
It does not seems to work :-
When the The WL load balancing scheme manages to run both the beans on ManagedServer2.I
put debug statements on the beans and it seems to publish everything but fails
during the commit
murali@dbuslinux1:~/SessionBeanExample> ant run
Buildfile: build.xml
run:
[java] Run : 0
[java] InitialContextFactory weblogic.jndi.WLInitialContextFactory
[java] Provider Url t3://myhost.mycompany.com:18003,myhost.mycompany.com:18005
[java] javax.transaction.TransactionRolledbackException: Exception while
commiting Tx : Name=[EJB Case463495.StatelessBean.sendMessageWrap(java.lang.Integer,java.lang.Integer,java.lang.String,boolean,boolean)],Xid=BEA1-000649EC8876A0032A5E(160401684),Status=Rolled
back. [Reason=javax.transaction.xa.XAException],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
since begin=3,seconds left=30,XAServerResourceInfo[E4JMSDOMAIN.ManagedServer2.JMSXASessionPool.BEAN1TCF]=(ServerResourceInfo[E4JMSDOMAIN.ManagedServer2.JMSXASessionPool.BEAN1TCF]=(state=rolledback,assigned=ManagedServer2),xar=weblogic.deployment.jms.WrappedXAResource_com_tibco_tibjms_TibjmsXAResource@a0181b0),XAServerResourceInfo[JMS_MyJMS
File Store]=(ServerResourceInfo[JMS_MyJMS File Store]=(state=rolledback,assigned=ManagedServer1),xar=null),XAServerResourceInfo[E4JMSDOMAIN.ManagedServer2.JMSXASessionPool.BEAN2TCF]=(ServerResourceInfo[E4JMSDOMAIN.ManagedServer2.JMSXASessionPool.BEAN2TCF]=(state=rolledback,assigned=ManagedServer2),xar=weblogic.deployment.jms.WrappedXAResource_com_tibco_tibjms_TibjmsXAResource@98f6821),SCInfo[E4JMSDOMAIN+ManagedServer1]=(state=rolledback),SCInfo[E4JMSDOMAIN+ManagedServer2]=(state=rolledback),properties=({weblogic.transaction.name=[EJB
Case463495.StatelessBean.sendMessageWrap(java.lang.Integer,java.lang.Integer,java.lang.String,boolean,boolean)]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=ManagedServer2+myhost.mycompany.com:18005+E4JMSDOMAIN+t3+,
XAResources={},NonXAResources={})],CoordinatorURL=ManagedServer2+myhost.mycompany.com:18005+E4JMSDOMAIN+t3+):
javax.transaction.xa.XAException
[java] at com.tibco.tibjms.TibjmsXAResource.end(Ljavax.transaction.xa.Xid;I)V(TibjmsXAResource.java:157)
[java] at weblogic.deployment.jms.WrappedXAResource_com_tibco_tibjms_TibjmsXAResource.end(Ljavax.transaction.xa.Xid;I)V(Unknown
Source)
[java] at weblogic.transaction.internal.XAServerResourceInfo.end(Lweblogic.transaction.internal.ServerTransactionImpl;Ljavax.transaction.xa.Xid;I)V(XAServerResourceInfo.java:1124)
[java] at weblogic.transaction.internal.XAServerResourceInfo.internalDelist(Lweblogic.transaction.internal.ServerTransactionImpl;I)V(XAServerResourceInfo.java:325)
[java] at weblogic.transaction.internal.XAServerResourceInfo.delist(Lweblogic.transaction.internal.ServerTransactionImpl;IZ)V(XAServerResourceInfo.java:255)
[java] at weblogic.transaction.internal.ServerTransactionImpl.delistAll(IZ)V(ServerTransactionImpl.java:1408)
[java] at weblogic.transaction.internal.ServerTransactionImpl.delistAll(I)V(ServerTransactionImpl.java:1396)
[java] at weblogic.transaction.internal.ServerTransactionImpl.globalPrepare()V(ServerTransactionImpl.java:1932)
[java] at weblogic.transaction.internal.ServerTransactionImpl.internalCommit()V(ServerTransactionImpl.java:252)
[java] at weblogic.transaction.internal.ServerTransactionImpl.commit()V(ServerTransactionImpl.java:221)
[java] at weblogic.ejb20.internal.BaseEJBObject.postInvoke(Lweblogic.ejb20.interfaces.InvocationWrapper;Ljava.lang.Throwable;)V(BaseEJBObject.java:289)
[java] at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(Lweblogic.ejb20.interfaces.InvocationWrapper;Ljava.lang.Throwable;)V(StatelessEJBObject.java:141)
[java] at Case463495.Stateless_soycq8_EOImpl.sendMessageWrap(Ljava.lang.Integer;Ljava.lang.Integer;Ljava.lang.String;ZZ)V(Stateless_soycq8_EOImpl.java:112)
[java] at Case463495.Stateless_soycq8_EOImpl_WLSkel.invoke(ILweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;Ljava.lang.Object;)Lweblogic.rmi.spi.OutboundResponse;(Unknown
Source)
[java] at weblogic.rmi.internal.BasicServerRef.invoke(Lweblogic.rmi.extensions.server.RuntimeMethodDescriptor;Lweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;)V(BasicServerRef.java:477)
[java] at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(Lweblogic.rmi.extensions.server.RuntimeMethodDescriptor;Lweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;)V(ReplicaAwareServerRef.java:108)
[java] at weblogic.rmi.internal.BasicServerRef$1.run()Ljava.lang.Object;(BasicServerRef.java:420)
[java] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedExceptionAction;)Ljava.lang.Object;(AuthenticatedSubject.java:353)
[java] at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedExceptionAction;)Ljava.lang.Object;(SecurityManager.java:144)
[java] at weblogic.rmi.internal.BasicServerRef.handleRequest(Lweblogic.rmi.spi.InboundRequest;)V(BasicServerRef.java:415)
[java] at weblogic.rmi.internal.BasicExecuteRequest.execute(Lweblogic.kernel.ExecuteThread;)V(BasicExecuteRequest.java:30)
[java] at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
[java] at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
[java] at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown
Source)
[java] ; nested exception is:
[java] javax.transaction.xa.XAException
[java] at weblogic.rjvm.BasicOutboundRequest.sendReceive()Lweblogic.rmi.spi.InboundResponse;(BasicOutboundRequest.java:108)
[java] at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(Lweblogic.rmi.extensions.server.RemoteReference;Lweblogic.rmi.extensions.server.RuntimeMethodDescriptor;[Ljava.lang.Object;Ljava.lang.reflect.Method;)Ljava.lang.Object;(ReplicaAwareRemoteRef.java:284)
[java] at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(Ljava.rmi.Remote;Lweblogic.rmi.extensions.server.RuntimeMethodDescriptor;[Ljava.lang.Object;Ljava.lang.reflect.Method;)Ljava.lang.Object;(ReplicaAwareRemoteRef.java:244)
[java] at Case463495.Stateless_soycq8_EOImpl_812_WLStub.sendMessageWrap(Ljava.lang.Integer;Ljava.lang.Integer;Ljava.lang.String;ZZ)V(Unknown
Source)
[java] at Case463495.Client.run()V(Client.java:103)
[java] at Case463495.Client.sendMessage()V(Client.java:132)
[java] at Case463495.Client.main([Ljava.lang.String;)V(Client.java:195)
[java] Caused by: javax.transaction.xa.XAException
[java] at com.tibco.tibjms.TibjmsXAResource.end(TibjmsXAResource.java:157)
[java] at weblogic.deployment.jms.WrappedXAResource_com_tibco_tibjms_TibjmsXAResource.end(Unknown
Source)
[java] at weblogic.transaction.internal.XAServerResourceInfo.end(XAServerResourceInfo.java:1124)
[java] at weblogic.transaction.internal.XAServerResourceInfo.internalDelist(XAServerResourceInfo.java:325)
[java] at weblogic.transaction.internal.XAServerResourceInfo.delist(XAServerResourceInfo.java:255)
[java] at weblogic.transaction.internal.ServerTransactionImpl.delistAll(ServerTransactionImpl.java:1408)
[java] at weblogic.transaction.internal.ServerTransactionImpl.delistAll(ServerTransactionImpl.java:1396)
[java] at weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTransactionImpl.java:1932)
[java] at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:252)
[java] at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:221)
[java] at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:289)
[java] at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:141)
[java] at Case463495.Stateless_soycq8_EOImpl.sendMessageWrap(Stateless_soycq8_EOImpl.java:112)
[java] at Case463495.Stateless_soycq8_EOImpl_WLSkel.invoke(Unknown Source)
[java] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
[java] at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
[java] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
[java] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
[java] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
[java] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
[java] at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
[java] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
[java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
[java] at java.lang.Thread.startThreadFromVM(Unknown Source)
Apologies in advance if this need to be posted in the JTA news group..
Any ideas?
Murali
Posting to the transaction newsgroup would probably also be helpful.
Can you post the code for the session bean so we can see how you're
enlisting Tibco in the transaction? It looks like you're using the JMS
provider wrappers from 8.1, which do the transaction enlistment for you, so
you shouldn't need to mess with JTA at all in your code. Still, something
weird is going on and it'd be nice to see exactly what your code looks like.
greg
"L Muralidharan" <[email protected]> wrote in message
news:[email protected]...
>
> Setup:-
>
> Weblogic Server 8.1 SP2 on Linux
>
> TIBCO E4JMS 3.1.2
>
> I have a two Staeless Session Beans which are deployed in both sides of
the cluster
> - Cluster is made up of two servers(ManagedServer1 and ManagedServer2) on
the
> same machine. The beans have container managed transaction and trans-type
set
> to required. The JMS Server is on ManagedServer1. The session bean
publishes 100
> messages to TIBCO JMS and Weblogic JMS and calls the second bean which
again publishes
> 100 messages to TIBCO JMS and Weblogic JMS .
>
> The connection factories used are XAQueueConnectionFactories.
>
> This seems to work under the following conditions:-
>
> a) The session beans are deployed just in ManagedServer1
> b) The WL load balancing scheme manages to run both the beans on
ManagedServer1
> c) If I don't publish onto Weblogic JMS( It runs successfully on
ManagedServer1
> and ManagedServer2)
>
> It does not seems to work :-
>
> When the The WL load balancing scheme manages to run both the beans on
ManagedServer2.I
> put debug statements on the beans and it seems to publish everything but
fails
> during the commit
>
> murali@dbuslinux1:~/SessionBeanExample> ant run
> Buildfile: build.xml
>
> run:
> [java] Run : 0
> [java] InitialContextFactory weblogic.jndi.WLInitialContextFactory
> [java] Provider Url
t3://myhost.mycompany.com:18003,myhost.mycompany.com:18005
> [java] javax.transaction.TransactionRolledbackException: Exception
while
> commiting Tx : Name=[EJB
Case463495.StatelessBean.sendMessageWrap(java.lang.Integer,java.lang.Integer
,java.lang.String,boolean,boolean)],Xid=BEA1-000649EC8876A0032A5E(160401684)
,Status=Rolled
> back.
[Reason=javax.transaction.xa.XAException],numRepliesOwedMe=0,numRepliesOwedO
thers=0,seconds
> since begin=3,seconds
left=30,XAServerResourceInfo[E4JMSDOMAIN.ManagedServer2.JMSXASessionPool.BEA
N1TCF]=(ServerResourceInfo[E4JMSDOMAIN.ManagedServer2.JMSXASessionPool.BEAN1
TCF]=(state=rolledback,assigned=ManagedServer2),xar=weblogic.deployment.jms.
WrappedXAResource_com_tibco_tibjms_TibjmsXAResource@a0181b0),XAServerResourc
eInfo[JMS_MyJMS
> File Store]=(ServerResourceInfo[JMS_MyJMS File
Store]=(state=rolledback,assigned=ManagedServer1),xar=null),XAServerResource
Info[E4JMSDOMAIN.ManagedServer2.JMSXASessionPool.BEAN2TCF]=(ServerResourceIn
fo[E4JMSDOMAIN.ManagedServer2.JMSXASessionPool.BEAN2TCF]=(state=rolledback,a
ssigned=ManagedServer2),xar=weblogic.deployment.jms.WrappedXAResource_com_ti
bco_tibjms_TibjmsXAResource@98f6821),SCInfo[E4JMSDOMAIN+ManagedServer1]=(sta
te=rolledback),SCInfo[E4JMSDOMAIN+ManagedServer2]=(state=rolledback),propert
ies=({weblogic.transaction.name=[EJB
>
Case463495.StatelessBean.sendMessageWrap(java.lang.Integer,java.lang.Integer
,java.lang.String,boolean,boolean)]}),OwnerTransactionManager=ServerTM[Serve
rCoordinatorDescriptor=(CoordinatorURL=ManagedServer2+myhost.mycompany.com:1
8005+E4JMSDOMAIN+t3+,
>
XAResources={},NonXAResources={})],CoordinatorURL=ManagedServer2+myhost.myco
mpany.com:18005+E4JMSDOMAIN+t3+):
> javax.transaction.xa.XAException
> [java] at
com.tibco.tibjms.TibjmsXAResource.end(Ljavax.transaction.xa.Xid;I)V(TibjmsXA
Resource.java:157)
> [java] at
weblogic.deployment.jms.WrappedXAResource_com_tibco_tibjms_TibjmsXAResource.
end(Ljavax.transaction.xa.Xid;I)V(Unknown
> Source)
> [java] at
weblogic.transaction.internal.XAServerResourceInfo.end(Lweblogic.transaction
.internal.ServerTransactionImpl;Ljavax.transaction.xa.Xid;I)V(XAServerResour
ceInfo.java:1124)
> [java] at
weblogic.transaction.internal.XAServerResourceInfo.internalDelist(Lweblogic.
transaction.internal.ServerTransactionImpl;I)V(XAServerResourceInfo.java:325
> [java] at
weblogic.transaction.internal.XAServerResourceInfo.delist(Lweblogic.transact
ion.internal.ServerTransactionImpl;IZ)V(XAServerResourceInfo.java:255)
> [java] at
weblogic.transaction.internal.ServerTransactionImpl.delistAll(IZ)V(ServerTra
nsactionImpl.java:1408)
> [java] at
weblogic.transaction.internal.ServerTransactionImpl.delistAll(I)V(ServerTran
sactionImpl.java:1396)
> [java] at
weblogic.transaction.internal.ServerTransactionImpl.globalPrepare()V(ServerT
ransactionImpl.java:1932)
> [java] at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit()V(Server
TransactionImpl.java:252)
> [java] at
weblogic.transaction.internal.ServerTransactionImpl.commit()V(ServerTransact
ionImpl.java:221)
> [java] at
weblogic.ejb20.internal.BaseEJBObject.postInvoke(Lweblogic.ejb20.interfaces.
InvocationWrapper;Ljava.lang.Throwable;)V(BaseEJBObject.java:289)
> [java] at
weblogic.ejb20.internal.StatelessEJBObject.postInvoke(Lweblogic.ejb20.interf
aces.InvocationWrapper;Ljava.lang.Throwable;)V(StatelessEJBObject.java:141)
> [java] at
Case463495.Stateless_soycq8_EOImpl.sendMessageWrap(Ljava.lang.Integer;Ljava.
lang.Integer;Ljava.lang.String;ZZ)V(Stateless_soycq8_EOImpl.java:112)
> [java] at
Case463495.Stateless_soycq8_EOImpl_WLSkel.invoke(ILweblogic.rmi.spi.InboundR
equest;Lweblogic.rmi.spi.OutboundResponse;Ljava.lang.Object;)Lweblogic.rmi.s
pi.OutboundResponse;(Unknown
> Source)
> [java] at
weblogic.rmi.internal.BasicServerRef.invoke(Lweblogic.rmi.extensions.server.
RuntimeMethodDescriptor;Lweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.O
utboundResponse;)V(BasicServerRef.java:477)
> [java] at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(Lweblogic.rmi.extensions.s
erver.RuntimeMethodDescriptor;Lweblogic.rmi.spi.InboundRequest;Lweblogic.rmi
.spi.OutboundResponse;)V(ReplicaAwareServerRef.java:108)
> [java] at
weblogic.rmi.internal.BasicServerRef$1.run()Ljava.lang.Object;(BasicServerRe
f.java:420)
> [java] at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.
subject.AbstractSubject;Ljava.security.PrivilegedExceptionAction;)Ljava.lang
.Object;(AuthenticatedSubject.java:353)
> [java] at
weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.inter
nal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubjec
t;Ljava.security.PrivilegedExceptionAction;)Ljava.lang.Object;(SecurityManag
er.java:144)
> [java] at
weblogic.rmi.internal.BasicServerRef.handleRequest(Lweblogic.rmi.spi.Inbound
Request;)V(BasicServerRef.java:415)
> [java] at
weblogic.rmi.internal.BasicExecuteRequest.execute(Lweblogic.kernel.ExecuteTh
read;)V(BasicExecuteRequest.java:30)
> [java] at
weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(Exe
cuteThread.java:197)
> [java] at
weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
> [java] at
java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown
> Source)
> [java] ; nested exception is:
> [java] javax.transaction.xa.XAException
> [java] at
weblogic.rjvm.BasicOutboundRequest.sendReceive()Lweblogic.rmi.spi.InboundRes
ponse;(BasicOutboundRequest.java:108)
> [java] at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(Lweblogic.rmi.extensions.s
erver.RemoteReference;Lweblogic.rmi.extensions.server.RuntimeMethodDescripto
r;[Ljava.lang.Object;Ljava.lang.reflect.Method;)Ljava.lang.Object;(ReplicaAw
areRemoteRef.java:284)
> [java] at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(Ljava.rmi.Remote;Lweblogic
.rmi.extensions.server.RuntimeMethodDescriptor;[Ljava.lang.Object;Ljava.lang
.reflect.Method;)Ljava.lang.Object;(ReplicaAwareRemoteRef.java:244)
> [java] at
Case463495.Stateless_soycq8_EOImpl_812_WLStub.sendMessageWrap(Ljava.lang.Int
eger;Ljava.lang.Integer;Ljava.lang.String;ZZ)V(Unknown
> Source)
> [java] at Case463495.Client.run()V(Client.java:103)
> [java] at Case463495.Client.sendMessage()V(Client.java:132)
> [java] at
Case463495.Client.main([Ljava.lang.String;)V(Client.java:195)
> [java] Caused by: javax.transaction.xa.XAException
> [java] at
com.tibco.tibjms.TibjmsXAResource.end(TibjmsXAResource.java:157)
> [java] at
weblogic.deployment.jms.WrappedXAResource_com_tibco_tibjms_TibjmsXAResource.
end(Unknown
> Source)
> [java] at
weblogic.transaction.internal.XAServerResourceInfo.end(XAServerResourceInfo.
java:1124)
> [java] at
weblogic.transaction.internal.XAServerResourceInfo.internalDelist(XAServerRe
sourceInfo.java:325)
> [java] at
weblogic.transaction.internal.XAServerResourceInfo.delist(XAServerResourceIn
fo.java:255)
> [java] at
weblogic.transaction.internal.ServerTransactionImpl.delistAll(ServerTransact
ionImpl.java:1408)
> [java] at
weblogic.transaction.internal.ServerTransactionImpl.delistAll(ServerTransact
ionImpl.java:1396)
> [java] at
weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTran
sactionImpl.java:1932)
> [java] at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTra
nsactionImpl.java:252)
> [java] at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
Impl.java:221)
> [java] at
weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:289)
> [java] at
weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.jav
a:141)
> [java] at
Case463495.Stateless_soycq8_EOImpl.sendMessageWrap(Stateless_soycq8_EOImpl.j
ava:112)
> [java] at
Case463495.Stateless_soycq8_EOImpl_WLSkel.invoke(Unknown Source)
> [java] at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
> [java] at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:108)
> [java] at
weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
> [java] at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:353)
> [java] at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
> [java] at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
> [java] at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:3
0)
> [java] at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
> [java] at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
> [java] at java.lang.Thread.startThreadFromVM(Unknown Source)
>
>
> Apologies in advance if this need to be posted in the JTA news group..
>
> Any ideas?
>
> Murali
>
-
Problems with AM and WebLogic 8.1 sp3
Hello,
The following are my environment. (both on Solaris 10)
- Sun AM
- WebLogic 8.1 sp3
I want to try an easy integration between AM and WebLogic. After I installed policy agent for WebLogic and properly configured. It seem to work at some basic level.
When I try to access protected resource on WebLogic. The agent can intercept and redirect to AM's login page where I enter username and password. After I enter correct username and password, it will be redirected back to my protected resource. However, this time I got error 403 forbidden.
I think this is because WebLogic doesn't know that I just already sign-in. There must be something needed to do to map AM's userid to WebLogic id.
But I don't know how.
Could someone give me some suggestion or point me to some documents? Thanks in advance.I meant creating a policy in the SAM web interface, where you can add the required rule (specifying resource) and the subjects to whom the policy is applicable.
Of course, if you are using J2EE_POLICY, the URL policy is of no consequence. The best practice is to use amFilter.mode = ALL, where the J2EE policies are enforced and verified by the application / app server, and the URL's are protected by SAM as well. In that case, the user has to be authorized by both SAM as well as J2EE to access the application.
This, of course, is subject to the "best of my knowledge" clause! -
Getting empty log files with log4j and WebLogic 10.0
Hi!
I get empty log files with log4j 1.2.13 and WebLogic 10.0. If I don't run the application in the application server, then the logging works fine.
The properties file is located in a jar in the LIB folder of the deployed project. If I change the name of the log file name in the properties file, it just creates a new empty file.
What could be wrong?
Thanks!I assume that when you change the name of the expected log file in the properties file, the new empty file is that name, correct?
That means you're at least getting that properties file loaded by log4j, which is a good sign.
As the file ends up empty, it appears that no logger statements are being executed at a debug level high enough for the current debug level. Can you throw in a logger.error() call at a point you're certain is executed?
Maybe you are looking for
-
ITunes not working w/ Windows 7
I have a brand new computer which uses Windows 7. Installed iTunes 9.02 (64-bit installer). Unable to log in to account or authorize computer. I get a message saying "unknown error occurred (-9808)". Any advice / ideas?
-
Flash content in a PDF question
Hi, I have embeded a SWF into a PDF using InDesign CS3 and Acrobat Pro 8.1.7. The SWF displays and plays fine, I was able to set the psoter image in Acrobat and I set the border opion to no border. The only problem is that when a user clicks on the s
-
An internal software error has occurred. Error code: 1003
Dear, I am working on a FPGA programming. When I use the VI: "High Throughput Add Function". Some error occur. Internal software error(s): Error code: 1003 (refer to details) Details: An internal software error has occurred. Please contact Nation
-
Exception when querying java.lang.InetAddress
Hi, When attempting to query an object based on its ipaddress, I ran into the following problem: [java] Exception in thread "main" <4|false|4.0.1> kodo.persistence.ArgumentException: The specified parameter of type "class java.net.Inet4Address" is no
-
A665-S5170 WiFi Not Working After Windows 7 32 Bit Install
I had to put a new hard drive in my A665-S5170. Since there were drivers listed for Windows 7 32 bit for this computer, I installed a copy of Windows 7 Ultimate 32 bit that I owned. After installing every driver listed, I have no wifi. Another forum