Weblogic 10.3 and OWSM
Hi
I am working with SOA Suite 11g
How can I install OWSM on weblogic 10.3 server?
Also, where can I find OWSM installation guide for installing OWSM on WebLogic 10.3?
Please post this in the SOA Suite forum as the readers aren't specialized to SOA Suite, simply WLS:
SOA Suite
Similar Messages
-
[OSB and OWSM] - External Web service stacks and frameworks
Hi everyone ! I'm starting to read about OSB and OWSM and I'm having some doubts. I've some developments of Web services with external Stacks like CXF, JBossWS, Metro and I'd like to ask some questions:
1- Will I be able to productively leverage all features of OSB and OWSM like creating a proxy service to add WS-* standards policies and features (WS-Security, for instance) even with these web services implemented in different stacks other than Weblogic's ?
2- If it is possible, do these web services need to be deployed at the Weblogic server to enable the OWSM and OSB to work effectively ?
3- Even if it is possible to use the OSB and OWSM nicely with webservices developed at external stacks and deployed at other application servers is there any reason to quit using these external web service stacks in favor of Weblogic's (like features only enabled on OSB/OWSM when the services use the Weblogic stack) ?
I suppose that if I ignore the JAX-WS stack from Weblogic and use an external framework (like CXF) I'll lose most of the application server administration capabilities since the Weblogic server won't be able to recognize the CXF stack as it does with its own.But, the main doubt I'm in is, since OSB and OWSM might be used with external providers I probably won't need to develop my web services using the Weblogic implementation (which my team does not yet know) since there will be no features of the OSB and OWSM which can only be used with the Weblogic's stack. I would like, please, to know your oppinions about these considerations. Sorry about the long post and possible errors (I just started learning).
Thank you!Hi Lupan,
I can speak mostly to OWSM as my experience with OSB is small thus far.
+1- Will I be able to productively leverage all features of OSB and OWSM like creating a proxy service to add WS-* standards policies and features (WS-Security, for instance) even with these web services implemented in different stacks other than Weblogic's ?+
OWSM (10gR3) has two types of policy enforcement point (PEP) -- Gateway and Agent. The Gateway acts as a remote proxy and is neutral to the service implementation technology as long as it adheres to SOAP 1.1. In this regard you can use OWSM freely with CXF, MS implementations, etc. Agents run in-process with the service and thus have far greater restrictions on what service implementation frameworks and containers that are supported. There is some certification for AXIS 1.x running in OAS and Tomcat; but practically speaking, my recommendation for Agents is to only use within OAS 10gR3 where it is built in (and using OC4J Web Services through JAX-RPC).
OWSM 11gR1 initially supports only agent-style (in process) PEP and is built-in to Fusion Middleware and WLS. It is only for Fusion and WLS Web Service implementations.
OWSM is quite full-featured for WS-*.
+2- If it is possible, do these web services need to be deployed at the Weblogic server to enable the OWSM and OSB to work effectively ?+
"No" if using OWSM Gateway PEP. A qualified "Yes" if using OWSM Agent PEP.
+3- Even if it is possible to use the OSB and OWSM nicely with webservices developed at external stacks and deployed at other application servers is there any reason to quit using these external web service stacks in favor of Weblogic's (like features only enabled on OSB/OWSM when the services use the Weblogic stack) ?+
There is the manageability that you mention, but also there is the identity propagation scenario and tight security integration. Both OAS and WLS hosted services in the native stacks (JAX-RPC and JAX-WS) allow sophisticated and secure passing of identity in the request -- for instance, via SAML Assertions in the WS-Sec header -- and built-in capabilities to map the passed identity into the running service's Subject (i.e. enabling JAAS security etc.).
In my experience this type of identity propagation functionality has either been absent or less complete in other typical implementation frameworks not closely aligned with the container security mechanisms.
Hope this helps,
Todd -
Hi,
I am using Weblogic 6.1 with Oracle 8.1.7. I configured a TXDataSource as I wanted
to use Container Managed Transaction through a Session Bean.
Connection Pool Settings: -------------------------
Name - myXAPool URL - jdbc:oracle:thin:@myServer:1521:myDb DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
TXDataSource Settings : -----------------------
Name - myXADS
JNDIName - myXADS
PoolName - myXAPool
Everything works fine but once in a while I get the following exception:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has occured
in the transaction branch start() failed on resource 'myXAPool' Unexpected error
during start for XAResource 'myXAPool': null
The connection pool size is 30 and the number connections high reached was 5,
which means there are enough connections in the pool available at all time.
It would be really great if you can help me out.
Thanks in Advance, Sudhir.
Hi Slava,
Sorry about that Oracle instance I am using is 8.1.7.
For the XA Driver I am using the one that comes with Weblogic in weblogic.jar.
And my Weblogic version 6.1 Sp3.
Thanks,
Sudhir.
"Slava Imeshev" <[email protected]> wrote:
Hi Sudhir,
Are you using an instance of 8.1.6 or 8.1.7? In the message header you
say
8.1.6.
Regards,
Slava Imeshev
"Sudhir Babu" <[email protected]> wrote in message
news:[email protected]..
Hi,
I am using Weblogic 6.1 with Oracle 8.1.7. I configured a TXDataSourceas
I wanted
to use Container Managed Transaction through a Session Bean.
Connection Pool Settings: -------------------------
Name - myXAPool URL - jdbc:oracle:thin:@myServer:1521:myDb
DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
TXDataSource Settings : -----------------------
Name - myXADS
JNDIName - myXADS
PoolName - myXAPool
Everything works fine but once in a while I get the following exception:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager errorhas
occured
in the transaction branch start() failed on resource 'myXAPool' Unexpectederror
during start for XAResource 'myXAPool': null
The connection pool size is 30 and the number connections high reachedwas
5,
which means there are enough connections in the pool available at alltime.
It would be really great if you can help me out.
Thanks in Advance, Sudhir. -
XA error: using Weblogic 6.1 and Oracle 8.1.6
Hi,
I am using Weblogic 6.1 with Oracle 8.1.7. I configured a TXDataSource as I wanted
to use Container Managed Transaction through a Session Bean.
Connection Pool Settings: -------------------------
Name - myXAPool URL - jdbc:oracle:thin:@myServer:1521:myDb
DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
TXDataSource Settings : -----------------------
Name - myXADS
JNDIName - myXADS
PoolName - myXAPool
Everything works fine but once in a while I get the following exception:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has occured
in the transaction branch start() failed on resource 'myXAPool' Unexpected error
during start for XAResource 'myXAPool': null
The connection pool size is 30 and the number connections high reached was 5,
which means there are enough connections in the pool available at all time.
It would be really great if you can help me out.
Thanks in Advance, Sudhir.Hi Slava,
Sorry about that Oracle instance I am using is 8.1.7.
For the XA Driver I am using the one that comes with Weblogic in weblogic.jar.
And my Weblogic version 6.1 Sp3.
Thanks,
Sudhir.
"Slava Imeshev" <[email protected]> wrote:
Hi Sudhir,
Are you using an instance of 8.1.6 or 8.1.7? In the message header you
say
8.1.6.
Regards,
Slava Imeshev
"Sudhir Babu" <[email protected]> wrote in message
news:[email protected]..
Hi,
I am using Weblogic 6.1 with Oracle 8.1.7. I configured a TXDataSourceas
I wanted
to use Container Managed Transaction through a Session Bean.
Connection Pool Settings: -------------------------
Name - myXAPool URL - jdbc:oracle:thin:@myServer:1521:myDb
DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
TXDataSource Settings : -----------------------
Name - myXADS
JNDIName - myXADS
PoolName - myXAPool
Everything works fine but once in a while I get the following exception:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager errorhas
occured
in the transaction branch start() failed on resource 'myXAPool' Unexpectederror
during start for XAResource 'myXAPool': null
The connection pool size is 30 and the number connections high reachedwas
5,
which means there are enough connections in the pool available at alltime.
It would be really great if you can help me out.
Thanks in Advance, Sudhir. -
Hi,
i am trying to configure JDBC with weblogic. Can any one tell me which deriver needs to be selected for weblogic 10.3 and Oracle DB 11g both on MS2008 separate server.
if i use BEA oracle Driver (Type 4) version 9.0.1, 9.2.0,10,11, i find error (see snap:2)
Connection test failed.
[BEA][Oracle JDBC Driver]Error establishing socket. Unknown host: hdyhtc137540d<br/>weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)<br/>weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.makeConnectionHelper(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.makeConnection(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.connectAndAuthenticate(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.open(Unknown Source)<br/>weblogic.jdbc.base.BaseConnection.connect(Unknown Source)<br/>weblogic.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)<br/>weblogic.jdbc.base.BaseConnection.open(Unknown Source)<br/>weblogic.jdbc.base.BaseDriver.connect(Unknown Source)<br/>com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:505)<br/>c om.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConn ectionConfiguration(CreateJDBCDataSource.java:369)<br/>sun.reflect.GeneratedMethodAccessor 826.invoke(Unknown Source)<br/>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl. java:25)<br/>java.lang.reflect.Method.invoke(Method.java:597)<br/>org.apache.beehive.netui .pageflow.FlowController.invokeActionMethod(FlowController.java:870)<br/>org.apache.beehiv e.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)<br/>org.ap ache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)<br/>or g.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java :306)<br/>org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336 )<br/>...
and
when i use oracle's driver (thin) version 9.0.1, 9.2.0,10,11, i find error
Connection test failed.
Io exception: The Network Adapter could not establish the connection<br/>oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:10 1)<br/>oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)<br/>oracle .jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)<br/>oracle.jdbc.drive r.DatabaseError.throwSqlException(DatabaseError.java:229)<br/>oracle.jdbc.driver.DatabaseE rror.throwSqlException(DatabaseError.java:458)<br/>oracle.jdbc.driver.T4CConnection.logon( T4CConnection.java:411)<br/>oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnectio n.java:490)<br/>oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)<br/>oracle .jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)<br/>oracle.jdbc. driver.OracleDriver.connect(OracleDriver.java:474)<br/>com.bea.console.utils.jdbc.JDBCUtil s.testConnection(JDBCUtils.java:505)<br/>com.bea.console.actions.jdbc.datasources.createjd bcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:36 9)<br/>sun.reflect.GeneratedMethodAccessor826.invoke(Unknown Source)<br/>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl. java:25)<br/>java.lang.reflect.Method.invoke(Method.java:597)<br/>org.apache.beehive.netui .pageflow.FlowController.invokeActionMethod(FlowController.java:870)<br/>org.apache.beehiv e.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)<br/>org.ap ache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)<br/>or g.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java :306)<br/>org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336 )<br/>...i am finding this error when i click on Test Configuration button to test the connection wth oracle DB
-
CF8 on Weblogic 10.0 and Apache
I am trying to configure CF8 as an EAR file on Weblogic 10.0
and configuring it with Apache webserver. The settings for Weblogic
are made as mentioned in the configuration document and CF8 is
working fine on Weblogic.
Now for Apache connectivity, a connector is configured for
Weblogic which handles *.cfm files requests as well.
- The CFM files are kept in webserver and when I try to open
a cfm file, the proxy is getting invoked but since Weblogic doesn't
find the file URI it returns 404.
- Please let me know how can the CFM files kept on Webserver
be rendered using CF8 deployed on Weblogic
Or there is a need for these files to be kept on the Weblogic
Appserver onlysam_cf09 wrote:
> Can the CFM files be a part of any WAR file deployed on
Weblgic and Cold
> fusion will take care of rendering them
Sure. If you want to put a file example.cfm in a WAR file,
put it in the
root of the WAR. Your folder structure will look something
like:
WAR/
WAR/example.cfm
WAR/WEB-INF
WAR/WEB-INF/web.xml
WAR/WEB-INF/*
WAR/WEB-INF/cfusion
WAR/WEB-INF/cfusion/lib/
etc.
Then if you have a context root "/test" in your
Application.xml you can
reach your template through the URL
http://server/test/example.cfm
The best way to get a WAR (or EAR) file for deployment is to
run the
installer. It has the option to generate a WAR or EAR for
you. Use that,
then later unjar it to see how it looks internally.
Jochem
Jochem van Dieten
Adobe Community Expert for ColdFusion -
WebLogic 8.1SP4 and IIS
Hi,
I want to configure weblogic with IIS and have found enough articles on how to proxy IIS to point to a single instance or a clustered environment but not on how to proxy IIS to multiple WebLogic servers
I have the application running on
http://<weblogic-server>:7201/elms
http://<weblogic-server>:7301/elms
http://<weblogic-server>:7401/elms
and I want to be able to access these via the IIS through these URLs:
http://<IIS_Server>/elms
http://<IIS_Server>/elms_sit
http://<IIS_Server>/elms_uat
Is this configuration possible? Any help would be highly appreciated.
Thanks
SandeepSince you are attempting to proxy by path you need to configure the iisforward.dll as stated in step #3 here:
http://e-docs.bea.com/wls/docs81/plugins/isapi.html#100382 -
Weblogic Bridge "failed and will reconnect later"
The enterprise architecture is as follows:
1 Physical machine where I have 2 VMs on this machine, and each VM I have 1 domain, 1 Cluster and 1 managed server, and the second VM I have the replicated what I have in first VM.
In first domain I have the OSB, in the second domain I have SOA.
What I need ? Send information of queues (topics) of First Domain (OSB) to second domain(SOA).
At first the only thing I did was:
In the first domain I created OSB JMS Server, JMS Module, Connection Factory and Queue Topic.
In the second domain SOA I replied the same thing but with different names.
Then I created the bridge with configuration default between the first domain and the second domain, the bridge and when active it generates me a message Weblogic Bridge "failed and will reconnect later"
I did a test on my local machine windows where I created two domains, and the same procedures you did above, but the point was funcinou been activated now for the enterprise environment I'm not managing to make it work, you could tell me what is wrong . in both cases restarted the weblogic server as the machine itself the question that ran on my machine and machine company no.
If you can give me a light thank.This is a bug (6973877, derby only) which has been fixed in 4.5 build14 and 4.4u2p1. Thanks for reporting. The problem is the missing "FOR BIT DATA" in LOG_RECORD column in derby table definition MQTMLRJMSBG41 in broker default.properties file
- LOG_RECORD VARCHAR(2048) NOT NULL,\
+ LOG_RECORD VARCHAR(2048) FOR BIT DATA NOT NULL,\ -
Preview Release of WebLogic Portal 9 and Workshop 9
I would like to get my hands on a developer preview release of WebLogic Portal 9 and Workshop 9. I can't seem to find it online so I'm hoping someone can point me in the right direction. We're currently evaluating portal products and I would hate to decide against BEA based on the lack of availability of the forthcoming version.
Anybody know where a developer release of either of these two products can be found?The Technology Preview for WLP 9.x and WLW 9.x will be available in early December. Please contact your BEA account team to let them know that you are interested.
At present the plan is to have a GroupSpace community site for use by all customers participating in the Technology Preview. A BEA technical field staff member (SE, PS, etc.) assigned to your account will use this site to send you an invitation, and when you join you will have access to the installation. Questions, discussions, etc. for the Technology Preview will all go through the GroupSpace site. If you don't know who your BEA technical account member(s) are, you should find out as they will be the key to obtaining the Technology Preview.
If you can't wait for the Technology Preview, please ask your BEA acount team to contact myself or others in Product Management. We'll be happy to go over the product features, show you demos from current builds, etc.
Thanks,
Skip Sauls
Senior Product Manager, WebLogic Portal -
Weblogic 8.1 and Novell LDAP SSL
Hi Everyone !
I'm having problems enabling SSL between Weblogic 8.1 and Novell LDAP. I have
the non-SSL working. All the BEA documentation I've found indicates that the SSL
Enabled checkbox needs to be checked and that's all. This can't be all because
I get the following errors.
Does anyone know how to solve this ?
Thanks,
Eddie
####<Oct 1, 2003 12:06:42 PM EDT> <Notice> <Security> <6X19DYSZH1ZV> <mytest>
<ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-090169>
<Loading trusted certificates from the jks keystore file C:\bea8.1\WEBLOG~1\server\lib\DemoTrust.jks.>
####<Oct 1, 2003 12:06:42 PM EDT> <Notice> <Security> <6X19DYSZH1ZV> <mytest>
<ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-090169>
<Loading trusted certificates from the jks keystore file C:\bea8.1\JDK141~1\jre\lib\security\cacerts.>
####<Oct 1, 2003 12:06:42 PM EDT> <Warning> <Security> <6X19DYSZH1ZV> <mytest>
<ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-090476>
<Invalid/unknown SSL header was received from peer NASTEA02 - 10.4.5.104 during
SSL handshake.>You need to configure the server SSL to trust the identity certificate it receives
from nastea02.bankofny.com If you want to use the default configuration you could
simply import the CA certificate that issued that identity certificate to the
DemoTrust.jks keystore.
Also, look at Using Host Name Verification here: http://edocs.bea.com/wls/docs81/secmanage/ssl.html#1187786
because this might be another reason why the certificate is rejected.
Pavel.
"Eddie Baue" <[email protected]> wrote:
>
Hi Everyone !
Please ignore the exceptions from my previous posting. I'm getting
a new exception,
which I've list below.
Thanks,
Eddie
####<Oct 1, 2003 2:47:20 PM EDT> <Warning> <Security> <6X19DYSZH1ZV>
<mytest>
<ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
<> <BEA-090477>
<Certificate chain received from nastea02.bankofny.com - 10.4.5.104 was
not trusted
causing SSL handshake failure.>
"Eddie Baue" <[email protected]> wrote:
Hi Everyone !
I'm having problems enabling SSL between Weblogic 8.1 and NovellLDAP.
I have
the non-SSL working. All the BEA documentation I've found indicatesthat
the SSL
Enabled checkbox needs to be checked and that's all. This can't beall
because
I get the following errors.
Does anyone know how to solve this ?
Thanks,
Eddie
####<Oct 1, 2003 12:06:42 PM EDT> <Notice> <Security> <6X19DYSZH1ZV>
<mytest>
<ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
<> <BEA-090169>
<Loading trusted certificates from the jks keystore file C:\bea8.1\WEBLOG~1\server\lib\DemoTrust.jks.>
####<Oct 1, 2003 12:06:42 PM EDT> <Notice> <Security> <6X19DYSZH1ZV>
<mytest>
<ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
<> <BEA-090169>
<Loading trusted certificates from the jks keystore file C:\bea8.1\JDK141~1\jre\lib\security\cacerts.>
####<Oct 1, 2003 12:06:42 PM EDT> <Warning> <Security> <6X19DYSZH1ZV>
<mytest>
<ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
<> <BEA-090476>
<Invalid/unknown SSL header was received from peer NASTEA02 - 10.4.5.104
during
SSL handshake.> -
How to run weblogic 8.1 and weblogic 9.2 simultaneously
I have data service platform installed on Weblogic 8.1 platform and Aqualogic service bus installed with Weblogic 9.2.And I want to start both the servers at the same time.
I have configured Weblogic server 8.1 domain to listen on 7771 port while weblogic 9.2 server domain is listening on 7001.However when I start both the server then one server starts and others server fail to start and in prompt following error message is displayed :
ERROR:Transport error 202:bind failed:Address already in use["transport.c",L41]
ERROR:JDWD Transport dt_socket failed to inintialized TRANSPORT_INIT<510>["debugInit.c",L500]
JDWD exit error JVMTI_ERROR_INTERNAL<113>:No transport inintialized
Message was edited by:
mihirkhanwalkarCan you show us the full error message? I don't know of anything in WLS that uses port 202 by default. It's a privileged port as well which makes it even more unusual.
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/ -
Performance of Weblogic 4.03 and Visual Age 2.0
Hello,
I am experiencing severe performance problems when running Weblogic 4.03 and
Visual Age 2.0. The server runs extremely slowly in this environment,
however, the 3.13 version did not suffer from this. Has anyone else noticed
this? Is there anything I can do about it?
-AndrewAndrew Sammons wrote:
I am experiencing severe performance problems when running Weblogic
4.03 and Visual Age 2.0. The server runs extremely slowly in this
environment, however, the 3.13 version did not suffer from this.
Has anyone else noticed this? Is there anything I can do about it?You can set the following undocumented property in weblogic.properties:
weblogic.system.gc.intervalSecs=5
There's some kind of bad interaction between Visual Age and WebLogic's
garbage collection control. Basically, there's a garbage collection
task that by default runs once a second, and in the Visual Age VM,
something it's doing takes more than a second.
The problem only seems to exist in WebLogic 4.0.3. It doesn't happen in
4.5.x. Also, according to one report I've had, you may need to set the
property value to more than 5 on slower machines.
Note that this property is unsupported, and is not guaranteed to even
exist in any other version of WebLogic.
-- Jim
Jim Edwards-Hewitt http://weblogic.beasys.com [email protected] -
Weblogic 4.5 and Visual Cafe 3.1
Hi,
I am having a problem integrating Visual Cafe with Weblogic.
Specifically, it involves getting the Weblogic classpath modified to support
setting up a connection pool to an Informix database. If I start the
Weblogic server manually, I can set the server classpath appropriately to
find the Informix JDBC driver and my pool is setup properly.
However with VC, it starts the Weblogic server from the IDE and I have
not been able to get the addition classpath entries to find the Informix
driver. Is there a way to add additional classpath entries so that when VC
starts Weblogic it will find my JDBC driver? Or do I have to start the
Weblogic server seperately and setup remote debugging manually?
Thanks
CarlYes, I am using the symantec debug VM. This is the batch file I use to start WL.
echo %CLASSPATH%
set
CLASSPATH=.;c:\VisualCafe\JAVA\LIB;c:\VisualCafe\JAVA\LIB\SYMCLASS.ZIP;c:\VisualCafe\JAVA\LIB\CLASSES.ZIP;c:\VisualCafe\bin\components\sfc.jar;c:\weblogic\license;%CLASSPATH%
set PATH=c:\winnt\system32;c:\winnt;c:\VisualCafe\Java\bin;c:\weblogic\bin
set
JAVACLASSPATH=%CLASSPATH%;.\classes\boot;.\eval\cloudscape\lib\cloudscape.jar
set
WEBLOGICCLASSPATH=.\classes;.\license;.\lib\weblogicaux.jar;c:\code\VisualCafe\Version1
rem java -ms32m -mx32m -classpath %JAVACLASSPATH%
-Dweblogic.class.path=%WEBLOGICCLASSPATH% -Djava.security.manager
-Djava.security.policy==weblogic.policy weblogic.Server
c:\VisualCafe\java\bin\debugvm -ms32m -mx32m -classpath %JAVACLASSPATH%
-Dweblogic.class.path=%WEBLOGICCLASSPATH% -Djava.security.manager
-Djava.security.policy==weblogic.policy weblogic.Server
If you don'y use the symantec debug VM, it stands to reason that the debug
environment will not see your process in the VM. I can't help you with why your
WL crashes when you connect using the debug VM. Perhaps you could post some more
information?
-- Jay
Tamilselvan Ramasamy wrote:
Hey,
help please
You said that you can attach from VC 3.1 to weblogic server 4.5.1 right. How
did you start the server ? Is it using the symantic debugvm.exe and symantic
settings? If I start the server with javasoft java.exe then VC is not seeing
the vm at all. And I tried starting weblogic server using symantic
debugvm.exe, as soon as a client trying to connect then the server crashes.
Please post the some instruction how did you do that?
Thanks
/selvan
Jay Baker <[email protected]> wrote in message
news:[email protected]...
The latter has been successful with me. I start the WL server manually viaa
command prompt and then 'attach to process'.
-- Jay
Carl Phillips wrote:
Hi,
I am having a problem integrating Visual Cafe with Weblogic.
Specifically, it involves getting the Weblogic classpath modified to
support
setting up a connection pool to an Informix database. If I start the
Weblogic server manually, I can set the server classpath appropriatelyto
find the Informix JDBC driver and my pool is setup properly.
However with VC, it starts the Weblogic server from the IDE and Ihave
not been able to get the addition classpath entries to find the Informix
driver. Is there a way to add additional classpath entries so that whenVC
starts Weblogic it will find my JDBC driver? Or do I have to start the
Weblogic server seperately and setup remote debugging manually?
Thanks
Carl -
Communicating between Weblogic 8.1 and Weblogic 10.3
Hi,
I have a requirement where in I need to access Queues in Weblogic 10.3 from Weblogic 8.1 and viceversa.
Weblogic 8.1 :
This has a proxy/web application that needs to put request to a Queue exposed in weblogic 10.3
And will again poll for a Response Queue in weblogic 10.3
Is it feasible, knowing the fact that jdk version in 8.1 is 1.4 & Jdk version is 1.6 in 8.1 ?
Can we lookup for Queue defined in 8.1 in Weblogic 10.3 ? Can we use JMS adapter in 10.3 for acheiving this.
Any help is greatly appreciated.
Thanks !!Avoid using Message Bridges to receive messages.
See the best practice: http://download.oracle.com/docs/cd/E15051_01/wls/docs103/jms/interop.html#wp1009272
Q. When should I avoid using a messaging bridge?
A. Other methods are preferred in the following situations:
* Receiving from a remote destination—use a message driven EJB or implement a client consumer directly.
* Sending messages to a local destination—send directly to the local destination.
* Environment with low tolerance for message latency. Messaging Bridges increase latency and may lower throughput. Messaging bridges increase latency for messages as they introduce an extra destination in the message path and may lower throughput because they forward messages using a single thread.
* Forward messages between WebLogic 9.0 domains—Use WebLogic Store-and-Forward. -
WebLogic 8.1 and Tomcat connection problem
I am using Tomcat 4.0.6 for my JSPs and WebLogic for my EJBs.
Everything worked fine under WebLogic 6.1 but I am trying
to upgrade to WebLogic 8.1 and it is not working.
I can also connect to WebLogic 8.1 from a standalone class
but not using Tomcat. What is wrong?
This is the basic code I am using to connect:
Hashtable ht = new Hashtable(4);
ht.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
ht.put(Context.PROVIDER_URL,"t3://localhost:7009");
InitialContext ic = new InitialContext(ht);
Object obj = ic.lookup("NsbInfoHome");
NsbInfoHome home = ( NsbInfoHome) PortableRemoteObject.
narrow(obj, NsbInfoHome.class);
NsbInfo nsbInfo = home.create();
NsbMemberPrimaryInfo info = nsbInfo.getMemberPrimaryInfo(1);
And this is the error
java.lang.NullPointerException
at weblogic.rmi.internal.StubGenerator.getStubOnClient(StubGenerator.java:694)
at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerator.java:666)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:712)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:699)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:76)
at weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:486)
at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:449)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:345)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:308)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:234)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250)
at javax.naming.InitialContext.init(InitialContext.java:226)
at javax.naming.InitialContext.<init>(InitialContext.java:202)
at org.apache.jsp.testWL2$jsp._jspService(testWL2$jsp.java:81)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:536)
--------------- nested within: ------------------
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to
generate class for weblogic.jndi.internal.ServerNamingNode_WLStub ] -
with nested exception:
[java.lang.NullPointerException]
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:716)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:699)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:76)
at weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:486)
at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:449)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:345)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:308)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:234)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250)
at javax.naming.InitialContext.init(InitialContext.java:226)
at javax.naming.InitialContext.<init>(InitialContext.java:202)
at org.apache.jsp.testWL2$jsp._jspService(testWL2$jsp.java:81)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:536)
Any ideas how to fix this?
Thanks,
DanHi,
I work under a sligthly different seeting like Dan used (Java Client instead of JSPs, but same context properties), but the problem is exactly the same: weblogic.rmi.internal.StubGenerator.getStubOnClient() results in a NullPointerException.
What does this method actually do? I provided the weblogic.jar in the client's runtime environment; is it possible that the method asks for something else on the client side that I have to provide (only guessing...)
PS: I found the error myself. Its the Eclipse 3.0 IDE that won't work together with the factory class of BEA for some obscure reason. Switching to another IDE solved the problem...
Message was edited by c_web at Dec 1, 2004 6:03 AM
Maybe you are looking for
-
CRM FUNCTIONAL interview questions and answers
Dear Friends, Good Afternoon..!!! can you tell me the CRM FUNCTIONAL interview questions with answers if avialable..... Regards, Dhananjaya
-
Indesign CS6 problems; export/save as .pdf
I get big sections of text no longer text but dashed lines as well as funny "missing font" problems of fonts that don't exist/I don't use. Any help would be appreciated, as I have never had this problem before with CS, CS2 or CS4. I am on a Mac, OSX1
-
How to lookup EJBs deployed in OC4J from a standalone client application
Hello all, I am trying to lookup an EJB deployed in OC4J 10.1.3 from a standalone client application using the following code: Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory
-
Dear, We have used oaf to build the online payslip and we believe that oaf inherits all security applying to oracle ebs. We are concerned about issues related to sniffing, phishing etc- may happen can some one share any document/note or any material
-
Light leaking, spots or any light thru the black border?
hi i need your help. today ive recieved my 5th replacement macbook pro. my problem is that this is the second macbook pro wich have spot where some light leaks. the spots are located on the left and on the right side of the macbook pro sign. take a l