[q] WLI2.0 on WL6.1
hI,
Can I run WLI2.0 on WL6.1, If Yes, How ?
Thanxs,
Ronen Yaari
Ronen
NO a release is due out shortly that addresses the 6.1 release.
Tony
"Ronen Yaari" <[email protected]> wrote in message
news:[email protected]..
>
hI,
Can I run WLI2.0 on WL6.1, If Yes, How ?
Thanxs,
Ronen Yaari
Similar Messages
-
Issues with sessionId and persistent cookie in WL6.1
I am using WL6.1 and I discovered the following from a brief experiment using a
JSP which sets persistent cookies. The results are the same when I use IE browser
or the HDML emulator.
The name of the weblogic session cookie (weblogic.xml) is "_ses".
Steps below. The server logs are included:
1. Delete the persistent cookies relevant to the server.
2. Access the jsp. SessionId is generated, say 12345.
3. Close browser. My_Cookie1=blah is saved on client.
4. Access server again. The cookie My_Cookie1=blah sent
5. The server sets the SessionId to Cookie1=blah. The sessionId is set from the
persistent cookie. Also, the String after the first underscore is the sessionId.
When I change the name of the weblogic session cookie (weblogic.xml) to something
without an underscore, such as "JSESSIONID" or "someCookieName", and repeat the
steps, the sessionId is not attempted to be read from the persistent cookie.
Why is this so?
Thanks,
Niranjan
LOG AFTER HITTING FIRST TIME (STEP 2)
================================
test.jsp: Hit
session id (O8tS4HMN3KSYK!1003180768699)
ctr: null
--------- HTTP REQUEST HEADERS BEGIN -------------
DEVSNIFF-header(1): Accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, app
lication/msword, */*
DEVSNIFF-header(2): Accept-Language=en-us
DEVSNIFF-header(3): Accept-Encoding=gzip, deflate
DEVSNIFF-header(4): User-Agent=Mozilla/4.0 (compatible; MSIE 5.01; Windows NT
5.0)
DEVSNIFF-header(5): Host=nk
DEVSNIFF-header(6): Connection=Keep-Alive
--------- HTTP REQUEST HEADERS END -------------
LOG AFTER HITTING SECOND TIME (STEP 5)
===================================
test.jsp: Hit
session id (Cookie1=59631091!1003180798903)
ctr: null
--------- HTTP REQUEST HEADERS BEGIN -------------
DEVSNIFF-header(1): Accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, app
lication/msword, */*
DEVSNIFF-header(2): Accept-Language=en-us
DEVSNIFF-header(3): Accept-Encoding=gzip, deflate
DEVSNIFF-header(4): User-Agent=Mozilla/4.0 (compatible; MSIE 5.01; Windows NT
5.0)
DEVSNIFF-header(5): Host=nk
DEVSNIFF-header(6): Connection=Keep-Alive
DEVSNIFF-header(7): Cookie=My_Cookie1=59631091
--------- HTTP REQUEST HEADERS END -------------
CHANGED _ses TO JSESSIONID (RESULT: CORRECT SESSION ID GENERATED)
==========================
test.jsp: Hit
session id (O8tZKVgE4LuPo!1003182377496)
ctr: null
--------- HTTP REQUEST HEADERS BEGIN -------------
DEVSNIFF-header(1): Accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, app
lication/msword, */*
DEVSNIFF-header(2): Accept-Language=en-us
DEVSNIFF-header(3): Accept-Encoding=gzip, deflate
DEVSNIFF-header(4): User-Agent=Mozilla/4.0 (compatible; MSIE 5.01; Windows NT
5.0)
DEVSNIFF-header(5): Host=nk
DEVSNIFF-header(6): Connection=Keep-Alive
--------- HTTP REQUEST HEADERS END -------------
test.jsp: Hit
session id (O8tZRy1Wq3o9T!1003182407901)
ctr: null
--------- HTTP REQUEST HEADERS BEGIN -------------
DEVSNIFF-header(1): Accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, app
lication/msword, */*
DEVSNIFF-header(2): Accept-Language=en-us
DEVSNIFF-header(3): Accept-Encoding=gzip, deflate
DEVSNIFF-header(4): User-Agent=Mozilla/4.0 (compatible; MSIE 5.01; Windows NT
5.0)
DEVSNIFF-header(5): Host=nk
DEVSNIFF-header(6): Connection=Keep-Alive
DEVSNIFF-header(7): Cookie=My_Cookie1=88575204
--------- HTTP REQUEST HEADERS END -------------
[test.jsp]
Issue 1 is a know "feature" with Macs using an optical output.
Issue 2 is still unresolved. Why can't Front Row act as a video jukebox just as well as it can for audio.
Issue 3 is still unresolved. If I select a libray that has both audio and video files, Front Row will only play the audio and not the video. Seems like it should be smart enough to "switch" to play that video.
Issue 4 seems to be resolved. I run visualizer all the time now and my TV does not switch out of 1080i any more.
Issue 5 seems to be resolved. I think the trick is that the TV show name has to be filled in for the system to recognize it as a TV show. Guess Apple didn't orginally figure people would add TV shows not purchsed through the iTunes store.
Issue 6 was realted to using files that are copy protected. But why iTunes XML file can't just keep the name that I want in it's directory rather than the name that is embedded in the file is still a mystery to me. -
Installation problem of WL6.0SP1 on solaris
When I install WL6.0SP1 on Sun Solaris, it gives such message:
weblogic600sp1_sol.bin Preparing to install...
Error: failed /tmp/install.dir.16036/Solaris/resource/jre/jre/lib/sparc/client/libjvm.so,
because ld.so.1: /tmp/install.dir.16036/Solaris/resource/jre/jre/bin/../bin/sparc/native_threads/java:
fatal: libCrun.so.1: open failed: No such file or directory
>
My classpath is set as:
/usr/java1.2/lib:/oracle/product/8.1.6/jdbc/lib/classes12.zip:/usr/local/j2sdkee1.2.1/lib/j2ee.jar:
Does any one know what is wrong with it?
Thanks.You probably need Solaris patches. I had this problem to installing on Solaris
7. GO to Sun's web site to look for pathces relating to C runtime libs.
"Yingwei" <[email protected]> wrote:
>
When I install WL6.0SP1 on Sun Solaris, it gives such message:
weblogic600sp1_sol.bin Preparing to install...
Error: failed /tmp/install.dir.16036/Solaris/resource/jre/jre/lib/sparc/client/libjvm.so,
because ld.so.1: /tmp/install.dir.16036/Solaris/resource/jre/jre/bin/../bin/sparc/native_threads/java:
fatal: libCrun.so.1: open failed: No such file or directory
>
My classpath is set as:
/usr/java1.2/lib:/oracle/product/8.1.6/jdbc/lib/classes12.zip:/usr/local/j2sdkee1.2.1/lib/j2ee.jar:
Does any one know what is wrong with it?
Thanks. -
I'm running IIS + WL 6.1 and in my servlet code, when I use request.getInputStream(),
it has nothing in the input stream
for e.x.
InputStream istream = request.getInputStream();
BufferedInputStream buf = new BufferedInputStream(istream);
byte[] b = new byte[1024];
while(buf.available()>0){
buf.read(b);
System.out.println("printing:"+b);
buf.available is not greater than zero.
But when I tried with just WL6.1, everything is fine.
I'm using forward path to forward my request.
Please help.
thanks
VijayToo much code to review in depth.
Couple of things that jumped out at me
1 - request.sendRedirect sent at the end. You should do any request forward/redirects as soon as possible in the jsp - before your response gets committed. It is illegal to forward/redirect after a response has been committed. That might explain the errors.
2 - As a suggestion, view source on the page, and save the file as html. Or use the functionality to "save a webpage" to your local computer. Try loading that HTML page in all the browsers. That should help you diagnose is it the HTML code, or is it the JSP side of things that is broken.
hope this helps,
evnafets -
Error while migrating from wl 5.1 to wl6.1
I have an application running on WL5.1. When I convert this application to run on
WL6.1 sp2, I get the
following error when I try to access an entity bean from an servlet.
<Apr 30, 2002 4:47:44 PM PDT> <Error> <HTTP> <[WebAppServletContext(6184715,myapp,/myapp)]
Error loading servlet: 'process'
java.lang.NoClassDefFoundError: com/engr/app/approval/ApprovalHome
a class upon which this class depends wasn't found
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:600)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:368)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
The code works fine on WL 5.1
Does anyone know why this happens. The console shows that EJBs are deployed
Thanks
JaiJust deploy your web component and ejb's in a single ear.
Jai Vas <[email protected]> wrote:
I have an application running on WL5.1. When I convert this application to run on
WL6.1 sp2, I get the
following error when I try to access an entity bean from an servlet.
<Apr 30, 2002 4:47:44 PM PDT> <Error> <HTTP> <[WebAppServletContext(6184715,myapp,/myapp)]
Error loading servlet: 'process'
java.lang.NoClassDefFoundError: com/engr/app/approval/ApprovalHome
a class upon which this class depends wasn't found
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:600)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:368)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
The code works fine on WL 5.1
Does anyone know why this happens. The console shows that EJBs are deployed
Thanks
Jai--
Dimitri -
Migration from WLI2.0 to WLI2.1 - problems and solutions
We have experienced a number of issues when migrating from WLI2.0 (no service packs)
to WLI2.1 - We are only using the WLPI (BPM) part of WLI. We decided to publish
these issues in case they can be of help to others.
Problems:
1. The documentation (http://edocs.bea.com/wlintegration/v2_1/migrate/4zubemig.htm#998197)
says the migration process works from WLPI 1.2.1 and from WLI 2.0 (SP2, 3, 4).
What about WLI2.0 with no service packs - I don't see why BEA should have left
out migration from that platform. We decided to follow the process and see what
happened.
2. There is no indication in the documentation of how to run the GUI based migration
tools on Unix, only for Windows so we had to follow the manual route.
3. The Manual process refers (http://edocs.bea.com/wlintegration/v2_1/migrate/4zubemig.htm#999969)
to the DB variable setting scripts. It then says to run "migratedb.sh". None of
these files have extensions ".sh" - the files that were installed have no extension.
Obviously that did not stop us running them but the documentation needs correcting.
4. The migratedb scripts calls "WLI_HOME/setenv.sh" - it is confusing that there
is a second copy of this file in the bin folder called "setenv". Why are there
2 copies. Also I note that the one in bin is executable and the other is not.
All very confusing!!
5. The migratedb script fails to run because we have not previously run setDomain.
This is not documented.
6. Running setDomain on a domain moved from a WLI2.0 installaion fails since it
does not contain the expected folders. That basically means you cannot migrate
such a domain. We carried on with the process using the bpmdomain so that we could
at least migrate our database automatically.
7. Having run setDomain, we tried migratedb again but it failed because we had
not run switchdb. Again, this is not documented. We ran switchdb successfully.
8. Now running migratedb creates a file called "migrate.sh". Unfortunately the
script migratedb then attempts to run a file called "migrate". This is evidence
that no-one has ever tested this script at BEA and we are very disconcerted by
this fact!! We renamed the script and ran migratedb again - this time it ran the
migrate script.
9. This still fails with the following errors (when calling migrateCommonRep)
-v (No such file or directory)
null
java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at com.bea.eci.migration.Migrate.getConnection(Migrate.java:207)
at com.bea.eci.migration.Migrate.main(Migrate.java:73)
java.lang.NullPointerException
at com.bea.eci.migration.Migrate.main(Migrate.java:192)
10. It also fails because it cannot find "sqlplus" - a fatal problem - we do not
have sqlplus installed on the same machine as WLI and yet again this requirement
is not documented. At this point we gave up trying to run the migrate script as
there seemed to be no route forward.
The process we took to move from WLI2.0 (WLPI only) was as follows:
a. Since we had done no changes to filerealm.properties we simply copied the one
fron bpmdomain into our own domain.
b. We have been unable to run the step to migrate the common repository (see note
9). If this is referring to the XML repository then that should not be a problem
to us as we have not used it.
c. We moved the "migrate/BPM_20SP3-21.sql" script to an NT machine and ran that
script on our database. This seems to have successfully updated the database.
Lastly, having completed the migration process we tried to run the server but
it fails. This is because the startWeblogic script fails to call checkdomain properly.
We modified the line to become:
". $WLI_HOME/bin/checkdomain" # the '.' was missing
Does anyone else have any experiences with this that would help us all?
PetePete,
Please post this to the weblogic.integration.interest and weblogic.integration.developer newsgroups?
Pete Edwards wrote:
We have experienced a number of issues when migrating from WLI2.0 (no service packs)
to WLI2.1 - We are only using the WLPI (BPM) part of WLI. We decided to publish
these issues in case they can be of help to others.
Problems:
1. The documentation (http://edocs.bea.com/wlintegration/v2_1/migrate/4zubemig.htm#998197)
says the migration process works from WLPI 1.2.1 and from WLI 2.0 (SP2, 3, 4).
What about WLI2.0 with no service packs - I don't see why BEA should have left
out migration from that platform. We decided to follow the process and see what
happened.
2. There is no indication in the documentation of how to run the GUI based migration
tools on Unix, only for Windows so we had to follow the manual route.
3. The Manual process refers (http://edocs.bea.com/wlintegration/v2_1/migrate/4zubemig.htm#999969)
to the DB variable setting scripts. It then says to run "migratedb.sh". None of
these files have extensions ".sh" - the files that were installed have no extension.
Obviously that did not stop us running them but the documentation needs correcting.
4. The migratedb scripts calls "WLI_HOME/setenv.sh" - it is confusing that there
is a second copy of this file in the bin folder called "setenv". Why are there
2 copies. Also I note that the one in bin is executable and the other is not.
All very confusing!!
5. The migratedb script fails to run because we have not previously run setDomain.
This is not documented.
6. Running setDomain on a domain moved from a WLI2.0 installaion fails since it
does not contain the expected folders. That basically means you cannot migrate
such a domain. We carried on with the process using the bpmdomain so that we could
at least migrate our database automatically.
7. Having run setDomain, we tried migratedb again but it failed because we had
not run switchdb. Again, this is not documented. We ran switchdb successfully.
8. Now running migratedb creates a file called "migrate.sh". Unfortunately the
script migratedb then attempts to run a file called "migrate". This is evidence
that no-one has ever tested this script at BEA and we are very disconcerted by
this fact!! We renamed the script and ran migratedb again - this time it ran the
migrate script.
9. This still fails with the following errors (when calling migrateCommonRep)
-v (No such file or directory)
null
java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at com.bea.eci.migration.Migrate.getConnection(Migrate.java:207)
at com.bea.eci.migration.Migrate.main(Migrate.java:73)
java.lang.NullPointerException
at com.bea.eci.migration.Migrate.main(Migrate.java:192)
10. It also fails because it cannot find "sqlplus" - a fatal problem - we do not
have sqlplus installed on the same machine as WLI and yet again this requirement
is not documented. At this point we gave up trying to run the migrate script as
there seemed to be no route forward.
The process we took to move from WLI2.0 (WLPI only) was as follows:
a. Since we had done no changes to filerealm.properties we simply copied the one
fron bpmdomain into our own domain.
b. We have been unable to run the step to migrate the common repository (see note
9). If this is referring to the XML repository then that should not be a problem
to us as we have not used it.
c. We moved the "migrate/BPM_20SP3-21.sql" script to an NT machine and ran that
script on our database. This seems to have successfully updated the database.
Lastly, having completed the migration process we tried to run the server but
it fails. This is because the startWeblogic script fails to call checkdomain properly.
We modified the line to become:
". $WLI_HOME/bin/checkdomain" # the '.' was missing
Does anyone else have any experiences with this that would help us all?
Pete--
Developer Relations Engineer
BEA Support -
Best Practice for SSL in Apache/WL6.0SP1 configuration?
What is the best practice for eanbling SSL in an Apache/WL6.0SP1
configuration?
Is it:
Browser to Apache: HTTPS
Apache to WL: HTTP
or
Browser to Apache: HTTPS
Apache to WL: HTTPS
The first approach seems more efficient (assuming that Apache and WL are
both in a secure datacenter), but in that case, how does WL know that the
browser requested HTTPS to begin with?
Thanks
AlainA getScheme should return HTTPS if the client is using HTTPS or HTTP if it
is using HTTP.
The option for the plug-in to use HTTP or HTTPS when connecting to Weblogic
is up to you but regardless the scheme of the client will be passed to
WebLogic.
Eric
"Alain" <[email protected]> wrote in message
news:[email protected]..
How should we have the plug-in tell wls the client is using https?
Should we have the plugin talk to wls in HTTP or HTTPS?
Thanks
Alain
"Jong Lee" <[email protected]> wrote in message
news:3b673bab$[email protected]..
The apache plugin tells wls the client is using https and also pass on
the
client
cert if any.
"Alain" <[email protected]> wrote:
What is the best practice for eanbling SSL in an Apache/WL6.0SP1
configuration?
Is it:
Browser to Apache: HTTPS
Apache to WL: HTTP
or
Browser to Apache: HTTPS
Apache to WL: HTTPS
The first approach seems more efficient (assuming that Apache and WL
are
both in a secure datacenter), but in that case, how does WL know that
the
browser requested HTTPS to begin with?
Thanks
Alain -
Problems starting Managed Server on WL6.0 Solaris
Hi,
I installed a WL6.0 on Solaris 8. Everythings works fine.
I careated a Domain and an additional Server wich is located at a
different machine. As is start this managed server on the other machine
it complains with the following error message:
<Aug 30, 2001 12:41:18 PM CEST> <Info> <Security> <Getting boot password
from user.>
Enter password to boot WebLogic server:weblogic
Starting WebLogic Server ....
Connecting to http://sol23:7001...
The WebLogic Server did not start up properly.
Exception raised:
weblogic.management.configuration.ConfigurationException: paros not
found
weblogic.management.configuration.ConfigurationException: paros not
found
at
weblogic.management.Admin.getBootstrapLocalServer(Admin.java:927)
at weblogic.management.Admin.initialize(Admin.java:287)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
In the access-Log of the Admin-Server the following line appears
my IP - - [30/Aug/2001:12:41:13 +0200] "GET
/wl_management_internal2/Bootstrap HTTP/1.0" 404 0
So my question: Where does this "wl_management_internal2" Application
come from?
Do I have to install some special things when I start an Admin-Server?
thanks
Falko Zurell . Webmaster
Pixelpark AG . http://www.pixelpark.com
Rotherstrasse 8 . 10245 Berlin . Germany
phone: + 49 30 5058 - 1963 . fax: -1600Hi Falko,
This is not a problem. when you want to add a new managed server to the
admin server, you need to use weblogic console to create that server in the
admin server first, then start the managed server with that name to connect
to the admin server. That is like you have to let the admin server know
there is such a server, then let it join to the Admin server. you can do
that by using the admin console, from left panel, click on Servers -->
"Create a new server" and name it to be "paros", specify the port and IP.
and hit "create". then start the managed server.
Thanks
Yu
"Falko Zurell" <[email protected]> wrote in message
news:[email protected]...
Hi,
I installed a WL6.0 on Solaris 8. Everythings works fine.
I careated a Domain and an additional Server wich is located at a
different machine. As is start this managed server on the other machine
it complains with the following error message:
<Aug 30, 2001 12:41:18 PM CEST> <Info> <Security> <Getting boot password
from user.>
Enter password to boot WebLogic server:weblogic
Starting WebLogic Server ....
Connecting to http://sol23:7001...
The WebLogic Server did not start up properly.
Exception raised:
weblogic.management.configuration.ConfigurationException: paros not
found
weblogic.management.configuration.ConfigurationException: paros not
found
at
weblogic.management.Admin.getBootstrapLocalServer(Admin.java:927)
at weblogic.management.Admin.initialize(Admin.java:287)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
>
In the access-Log of the Admin-Server the following line appears
my IP - - [30/Aug/2001:12:41:13 +0200] "GET
/wl_management_internal2/Bootstrap HTTP/1.0" 404 0
So my question: Where does this "wl_management_internal2" Application
come from?
Do I have to install some special things when I start an Admin-Server?
thanks
Falko Zurell . Webmaster
Pixelpark AG . http://www.pixelpark.com
Rotherstrasse 8 . 10245 Berlin . Germany
phone: + 49 30 5058 - 1963 . fax: -1600 -
WL6.1 SP3 and JNDINameReplicated
What happened to the promised JNDINameReplicated feature for WebLogic 6.1 SP3?
When I manually enter it into config.xml I get this error on starting up
the cluster Admin Server:
Exception raised:
weblogic.management.configuration.ConfigurationException: Unknown attribute JNDI
NameReplicated for FailedMessagesQueue, type JMSQueue
I see the attribute WL7.0 dtd for config.xml si I'm pretty sure I'm using it
right, but here is the snippet of relevant config.xml
<JMSServer Name="JIRJMSCluster01" Store="JIRJDBCStore01" Targets="jircluster
01">
<JMSQueue JNDIName="/jir/queues/hub/failedmessages" Name="FailedM
essagesQueue" JNDINameReplicated="false"/>
<JMSQueue ErrorDestination="FailedMessagesQueue"
JNDIName="/jir/queues/brokers/default"
Name="DefaultBrokerQueue" RedeliveryLimit="2" JNDINameReplicated="fa
lse"/>
<JMSQueue ErrorDestination="FailedMessagesQueue"
JNDIName="/jir/queues/hub/billingnotify"
Name="BillingNotification" RedeliveryLimit="4" JNDINameReplicated="f
alse"/>
<JMSTopic JNDIName="/jir/queues/hub/notify" Name="NotificationTop
ic"/>
</JMSServer>
I am on a Sun Solaris 8. I used the patch to upgrade WL6.1 SP2 to WL6.1 SP3
Jirawat
There is a CSR patch available on 6.1 sp2 for this if you dont already have it.
It works great.
Mike
"Stephen Felts" <[email protected]> wrote:
>This feature is available in 7.0 but was not back ported to 6.1.
>
>"Jirawat Uttayaya" <[email protected]> wrote in message
>news:[email protected]...
>> What happened to the promised JNDINameReplicated feature for WebLogic
>6.1
>SP3?
>> When I manually enter it into config.xml I get this error on starting
>up
>> the cluster Admin Server:
>>
>> Exception raised:
>> weblogic.management.configuration.ConfigurationException: Unknown
>attribute JNDI
>> NameReplicated for FailedMessagesQueue, type JMSQueue
>>
>> I see the attribute WL7.0 dtd for config.xml si I'm pretty sure I'm using
>it
>> right, but here is the snippet of relevant config.xml
>>
>> <JMSServer Name="JIRJMSCluster01" Store="JIRJDBCStore01"
>Targets="jircluster
>> 01">
>> <JMSQueue JNDIName="/jir/queues/hub/failedmessages" Name="FailedM
>> essagesQueue" JNDINameReplicated="false"/>
>> <JMSQueue ErrorDestination="FailedMessagesQueue"
>> JNDIName="/jir/queues/brokers/default"
>> Name="DefaultBrokerQueue" RedeliveryLimit="2"
>JNDINameReplicated="fa
>> lse"/>
>> <JMSQueue ErrorDestination="FailedMessagesQueue"
>> JNDIName="/jir/queues/hub/billingnotify"
>> Name="BillingNotification" RedeliveryLimit="4"
>JNDINameReplicated="f
>> alse"/>
>> <JMSTopic JNDIName="/jir/queues/hub/notify" Name="NotificationTop
>> ic"/>
>> </JMSServer>
>>
>>
>> I am on a Sun Solaris 8. I used the patch to upgrade WL6.1 SP2 to WL6.1
>SP3
>>
>> Jirawat
>
>
-
Problem when migrate from WLI2.1 to WLI7
I met this problem when migrating my program from WLI2.1 to WLI7.
It report the following exception in WLI7:
<2002-10-21 下午05时05分15秒> <Error> <HTTP> <101019>
<[ServletContext(id=5904188,name=dkh
,context-path=/dkh)] Servlet failed with IOException
java.rmi.AccessException: Security Violation: User: 'admin' has insufficient permission
to
access EJB: type=<ejb>, application=WebLogic Integration, module=WLI-BPM Server,
ejb=WLPI
Principal, method=getRolesForUser, methodInterface=Remote, signature={java.lang.String,jav
a.lang.String,boolean}.
But it's fine in WLI2.1? Who can tell me why and how to solve it?
Thanks####<13 oct. 2004 17 h 05 CEST> <Info> <JMS> <ucwwe2> ><ucwls81> <WrapperSimpleAppMain> <<WLS Kernel>> <> <BEA->040114> <JMSServer "JMSServer", Finished scan of file >store "persistence" in directory "c:\bin\bea\jmsstore". >Found 2 025 records totalling 21 205 248 bytes.>
>####<13 oct. 2004 17 h 05 CEST> <Info> <JMS> <ucwwe2> ><ucwls81> <WrapperSimpleAppMain> <<WLS Kernel>> <> <BEA->?040056> <JMSServer "JMSServer". Deleting 2025 messages(s) with no matching destination.>
My JMS experience on WLS 8.1 ain't great, purley from these error messages it looks like the destination of these messages is the problem. Can you double check the destination exists and is configured correctly.
Hoos
www.orbism.com -
Accessing a file residing on WL6.1 via the web app using URL
I am trying to retrieve an xml file from within a java controller bean which has been
instantiated within a session bean. Under wl5.1 I just created a URL with the path
to the file, but in wl6.1 it doesn't find file. I have created a resource-ref in
the web.xml and a reference-descriptor in the weblogic.xml. I still can't find the
file. Can anybody provide an example on the deployment descriptor elements needed
to accomplish this.
ThanksThe program looks into my System32 direcetory for the files.This suggests that you are using a filepath relative to the current working directory, and that you are assuming you know what that directory is. Look into the getRealPath() method of ServletContext.
-
Ejb wl5.1 client talking to ejb wl6.1 server?
I have a session ejb running in wl 5.1 that must act as a client of a wl6.1
ejb (wl 6.1 running on another host). Since the RMI layer is incompatible
between 5.1 and 6.1 I must jump through some hoops to get this to work. I've
considered packaging the wl6.1 classes together with the 6.1 client classes
in a separate jar, along with a helper class to use a separate classloader
to load classes from that jar (in the hopes of keeping the common rmi
classes in a separate namespace). Does this sound like the best approach?
Has anyone else faced this problem? What other solutions are there?
Thanks. - MilesYou can use direct socket communication (custom impl) or URLs to do
web-service style integration.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Miles Krivoshia" <[email protected]> wrote in message
news:[email protected]..
I have a session ejb running in wl 5.1 that must act as a client of awl6.1
ejb (wl 6.1 running on another host). Since the RMI layer is incompatible
between 5.1 and 6.1 I must jump through some hoops to get this to work.I've
considered packaging the wl6.1 classes together with the 6.1 clientclasses
in a separate jar, along with a helper class to use a separate classloader
to load classes from that jar (in the hopes of keeping the common rmi
classes in a separate namespace). Does this sound like the best approach?
Has anyone else faced this problem? What other solutions are there?
Thanks. - Miles -
WL6.1 RDBMSrealm not working
Platform: Windows & HPUX
Weblogic: WL6.1 sp1
JDK 1.3.x
When we upgraded from WL6.0 to WL6.1sp1, the security does not work like
it did with WL6.0.
I have implement a RDBMSrealm where authorization / ACLs are retrived and
Authentication is done through LDAP.
Symptoms:
Any user who successfully authenticates and authorized to use any page, in
our case the inital page, are able to view and access any other page(JSPs)
ignoring other security contraints specified in the Web XML.
<security-constraint>
<web-resource-collection>
<web-resource-name>public</web-resource-name>
<url-pattern>index.jsp</url-pattern>
<url-pattern>login.jsp</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>ADMIN</role-name>
<role-name>ALL_USERS</role-name>
</auth-constraint>
</security-constraint>
<security-constraint>
<web-resource-collection>
<web-resource-name>product_instance</web-resource-name>
<url-pattern>Product.jsp</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>PRICING_ADMIN</role-name>
<role-name>PRICING</role-name>
<role-name>ADMIN</role-name>
</auth-constraint>
</security-constraint>
In the example above, ALL_USERS and ADMIN are authorized to load index.jsp
and login.jsp, they should not however be able to load Product.jsp but are
able to. The second security constraint is ignored or is it looking
somewhere else for the ACL other than the custom RDBMSrealm that I
created.
This all worked flawlessly in WL6.0 and still does.
Jerrie Pineda
[att1.html]Hello Jerrie,
1. Try adding the following tags in your web.xml file :
<!-- Declare all the roles used in <auth-constraint> above -->
<security-role>
<role-name>ALL_USERS</role-name>
<role-name>ADMIN</role-name>
<role-name>PRICING</role-name>
<role-name>PRICING_ADMIN</role-name>
</security-role>
2. Check that your mapping is right in the weblogic.xml file as :
<security-role-assignment>
<role-name>ADMIN</role-name>
<principal-name>admin</principal-name>
</security-role-assignment>
I hope this helps.
Ludovic.
Developer Relations Engineer
BEA Support
<[email protected]> a écrit dans le message news: [email protected]...
Platform: Windows & HPUX
Weblogic: WL6.1 sp1
JDK 1.3.x
When we upgraded from WL6.0 to WL6.1sp1, the security does not work like it did with WL6.0.
I have implement a RDBMSrealm where authorization / ACLs are retrived and Authentication is done through LDAP.
Symptoms:
Any user who successfully authenticates and authorized to use any page, in our case the inital page, are able to view and access any other page(JSPs) ignoring other security contraints specified in the Web XML.
<security-constraint>
<web-resource-collection>
<web-resource-name>public</web-resource-name>
<url-pattern>index.jsp</url-pattern>
<url-pattern>login.jsp</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>ADMIN</role-name>
<role-name>ALL_USERS</role-name>
</auth-constraint>
</security-constraint>
<security-constraint>
<web-resource-collection>
<web-resource-name>product_instance</web-resource-name>
<url-pattern>Product.jsp</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>PRICING_ADMIN</role-name>
<role-name>PRICING</role-name>
<role-name>ADMIN</role-name>
</auth-constraint>
</security-constraint>
In the example above, ALL_USERS and ADMIN are authorized to load index.jsp and login.jsp, they should not however be able to load Product.jsp but are able to. The second security constraint is ignored or is it looking somewhere else for the ACL other than the custom RDBMSrealm that I created.
This all worked flawlessly in WL6.0 and still does.
Jerrie Pineda
[att1.html] -
SecurityException starting WL6
I changed the password for user 'system' via the console, shut down the
server and now when I restart the server, I get a:
Exception raised: java.lang.SecurityException: Authentication for user
system denied in realm weblogic
Subsequently, the server will not start. How can I get my server running
again?
Thanks
Robthis is a known issue with beasvc.exe
you may want to contact support and ask for latest beasvc.exe to
get rid of this problem.
Kumar
Roman Heinz wrote:
Hi.
WL6.0SP2
W2kSP2
JRockit 3.1.5
Our systems runs fine with JRockit when run from command line.
It fails to start with beasvc.exe with the famous:
The WL_cms service is starting.
The WL_cms service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.
Interestingly, the cmdLine from the registry works, if I start it in
directory '[....]\wlserver6.0\'
Any clues?
Roman -
How can I get the directory.xml file for WL6.0?
I have installed the ALBPM Enterprise WL6.01 and started it in my server.But I get the error message when I login.
directory configuration runtime fails to initilize with
resource:/Aqualogic/j2eewl/tomcate/webapps/../../webapps/webconsole/WEB-INF/directory.xml
How can I get the XML file?aaa, ok i misunderstood your first post, i thought you are talking about unable to use the directory.xml from your application.
Ok, well the directory.xml file that ALBPM uses is allways in /albpm6.0/j2eewl/conf/directory.xml if we are not talking about Standalone. And when you start your albpm server it picks up the directory.xml file from there. But it picks him up only when you start it...so if you made any changes to it, you have to restart the server.
You should check the instalation folder of your ALBPM.
If you want to change the user/pass in the directory.xml change it in that folder and restart ALBPM.
If you don't know how to enter new password you have to use this sintax:
<encrypt>newPassword</encrypt>
Because if you open the xml file you have only <encrypted> tags, and you can't change those.
I don't know what the xml file is doing in that tomcat folder though...maybe it get's copied to that location when you start the albpm WL
Hope this helps
Edited by Lex_ at 12/13/2007 10:27 PM
Maybe you are looking for
-
Only an unfinished idea (formulated as question in a may be wrong forum): One of the big strength of generics is, that explicit cast may be avoided in many cases. From day one Java inserted cast by itself where possible and clear. Using + in print()
-
HT201317 when I back up my iphone i lost all the photos in photo stream, where are they?
while I was backing up my phone, i lost all my photos in Photo Stream, can't find them anywhere, where have they gone?
-
Which event handler is called first when navigating from a page? Say I am passing parameters from page 1 to page 2. In page 2, will the onCreate get called first or onRequest get called first? In onRequest, I have calmoyr = request->get_form_field( '
-
URGENT : LDAP Ports ( Good Reward )
Dear Portal Experts, How to find which port to use for LDAP. Say I have 2 LDAPs to connect to which ports should be used. for each. Also pls let me know how to find if any particular port is already used or blocked ? Thanks. Harsha.
-
What hard drive will work in my on a h81420t
what are the harddrives that works in my h81420t