Codeset conversion on WebLogic v6.0 sp1 (NT/Solaris)
Hi All,
I'm using WebLogic v6.0 sp1 on NT and Solaris.
What i trying to achieve is to convert codeset from unicod(java/jdbc, while
retrieve from Oracle) to big5(to be display on Chinese OS), and vice versa.
I read from WebLogic documentation/Advanced Oracle Features that i could weblogic.code
to whichever codeset desirable.
But it doesn't seem to work after i alter the settings on Connection Pools/Properties
on WebLogic console.
JDBC: v1.2 thin driver.
Database server: Oracle 8.1.6
Client: Win2000 (Chinese O/S)
JDK: 1.3.0
Really appreciate if anyone could enlighten if you hv encountered this problem
or hv the solution.
Many thanks,
Kevin
Hi,
Thanks. I'm currently using getBytes too to convert the char/varchar from Oracle
db to Big5. It's done on every getString() in the code.
Is there an alternative way that could do it on JDBC driver level? or on Weblogic
server level, so that it could reduce on substantial coding efforts.
I try that on thin driver properties, set weblogic.codeset=Big5, but doesn't seem
to make any difference.
Please advise.
thanks & regards
"Kevin L. Burns" <[email protected]> wrote:
This really all depends on how you are displaying the characters. If
this is via swing, you should read:
http://java.sun.com/j2se/1.3/docs/guide/intl/fontprop.html#multiple
If you're writing to a socket, you can get a byte array of the encoded
chars using String.getBytes and pass in the encoding you desire, e.g.
Big5 (you'll have to make sure you have i18n.jar since the Big5 encoder
isn't in rt.jar, see
http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.html).
If you just want to display the data to a webapp user you can either
use
a PrintWriter, which I have found to be very slow or you can write bytes
out to the ServletOutputStream using the conversion method I described
above.
Kevin Lu wrote:
Hi All,
I'm using WebLogic v6.0 sp1 on NT and Solaris.
What i trying to achieve is to convert codeset from unicod(java/jdbc,while
retrieve from Oracle) to big5(to be display on Chinese OS), and viceversa.
I read from WebLogic documentation/Advanced Oracle Features that icould weblogic.code
to whichever codeset desirable.
But it doesn't seem to work after i alter the settings on ConnectionPools/Properties
on WebLogic console.
JDBC: v1.2 thin driver.
Database server: Oracle 8.1.6
Client: Win2000 (Chinese O/S)
JDK: 1.3.0
Really appreciate if anyone could enlighten if you hv encountered thisproblem
or hv the solution.
Many thanks,
Kevin
Similar Messages
-
WebLogic 6.0 performance on Solaris vs NT
Has anybody tried comparing the performance of WebLogic 6.0 sp1 on Solaris (SunOS
5.8) with NT 4.0? Please post your experiences.
TIA,
-AnilThe Xprof output is misleading - this does not mean that 50% of
the CPU is spent on polling sockets. It simply means that 50% of the thread samples
were in a polling method (probably waiting, not running).
Yes, I believe that an 800MHz PIII would blow away an ES-250 which runs at less
that 300MHz. So you have 2CPU -> 600MHz. Then
(800-600)/800 = 25% which is what you get.
Mike
"Michael Girdley" <----> wrote:
Are you using the performance pack? If not, you should.
Michael Girdley
BEA Systems
Learning WebLogic? http://learnweblogic.com
"Anil Singhal" <[email protected]> wrote in message
news:3adc4f27$[email protected]..
We have a problem with SunOs 5.8, multi (2) CPU, 1GB memory Weblogic6.0
sp1 and
java 1.3.0.
While running some benchmarks we realized that the tests run much faster(25%-40%
faster) on a NT Pentium III 800 MHz desktop with 256MB RAM than onour Sun
Ultra-250
with the above configuration.
So, we decided to do some profiling by turning on hprof(-X:runhprof:cpu=samples,depth=12)
and realized that over 50% of the time is spent in polling the sockets(weblogic.socket.PosixSocketMuxer.poll).
On NT, only 0.23% time is spent on the same activity. I do not knowif on
NT WebLogic
uses a different IPC model (select vs. interrupt) but the time takenon
Solaris
doing polls is outrageous. I am wondering if anybody else out therehas
experienced
the same problem? Any insights you have to share on this will beappreciated.
TIA,
-Anil Singhal -
Weblogic 6.1 sp1 Application Server MDB does not consume messages
I have the following situation:
WebLogic Application Server 6.1 sp1. A deployed mdb does nothing - just sits idle
even when the JMS queue it points to has many messages waiting to be consumed.
When the application server is bounced (i.e., shutdown and restarted), the mdb
starts processing the messages. JMS server has a JDBC backing store.
Any ideas?
Thanks,
PrakashTobin is right, my apoplication is called "portal", I am not using WLPortal. Anyway,
I managed to resolve my problem,I had sax2 , xp and xt parsers placed in the WEB-INF\lib
directory of my application in addition to my own jar file. I removed the parsers
, and now my application is running fine.
It is strange though, since my application used to load and work flawlessly on
weblogic 6 as well as weblogic 6.1 sp1 with the parsers in the lib directory....
Anyhow, thanks a lot for the help.
Regards,
Lalitha
"Tobin Paterson" <[email protected]> wrote:
>
Having applied WLS 6.1 sp2 upgrade today I am seeing the same fault.
I am not using
WL Portal. Also I think the original poster's application just happens
to be called
"portal" and is not using WL Portal.
cheers,
Tobin.
"BEA Support" <[email protected]> wrote:
Hello,
Only WLCS and/or WLPS 3.5 sp 2 support WLS 6.1 sp 2
WL Portal 4.0 support only WLS 6.1 sp 1.
Regards,
Developer Relations Engineer
BEA Support
"Lalitha" <[email protected]> a écrit dans le message de news:
[email protected]..
Hi
For some reason, my application 'portal' does not run on weblogic
6.1
sp2,
It used to run fine on 6.1 sp1 .
I am attaching the weblogic.log file with this msg.
Thanks,
Regards,
Lalitha -
I have 2 questions and these are very urgent :-
1. Where the mapping can be defined between LDAP groups and WebLogic Roles. I have
2 groups in iPLanet :- Contarctors and employees and I have 2 security roles in weblogic:-
contractactors and employess. How do I map LDAP group contractors to weblogic security
Role contractors? Similarly for employees ?
2. I have not defined contarctors and employeees under People container in IPlanet.
e.g. The RDN for contractor is
uid=1234,ou=dir,dc=orams,dc=com
Can I still use the defualt security realm of weblogic (the WebLogic Security Realm
under People ) OR I have to write my own custom code ?
3. I am planning to use Roles insetad of groups to manage the logical grouping in
iPLant. Can I still use the groups in WebLogic security realm ( in the configuratin
parameters ?)
This is very urgent ....so if any of you can throw any hints that will be greatly
appreciated.
--SunitaHi Ariel,
The driver is bundled with the product in WLS 6.1sp1. you don't have to
download any additional driver. Use it as you normally would only thing to
remember is if you are trying to write standalone java code then you have to
have weblogic.jar in your classpath. For the rest of the info follow the wls
docs for 6.1
HTH
sree
"Ariel" <[email protected]> wrote in message
news:3bb4a643$[email protected]..
We want to connect our Weblogic 6.1 sp1 server to a SQLServer 2000 db. We
downloaded the JDriver from bea.com, but all the istructions that camewith
it are for WLserver 5.1.
What has to be done to do this with 6.1 sp1?
Thanks,
Ariel -
Multiple applications: weblogic 6.0 sp1 and apache 1.3.12 proxy
Hi,
We are testing the following setup:
Weblogic 6.0 SP1 running on Solaris 8 (SUN, ip: 192.168.0.1)
Apache 1.3.12 running on Linux (ip: 192.168.0.2)
We have two applications setup on weblogic in the following
directories:
$WL_HOME/config/mydomain/applications/app1 and
$WL_HOME/config/mydomain/applications/app2
The idea is to set up virtual hosts on the apache server and
depending on the url, redirect the client to a specific
application. So for the application app1 we have the following
setup in httpd.conf:
<Files ~ "*.jsp>
SetHandler weblogic-handler
PathPrepend /app1
</Files>
<IfModule mod_weblogic.c>
WebLogicHost 192.168.0.1
WebLogicPort 7001
DebugConfigInfo ON
Debug ALL
</IfModule>
This seems to work fine, e.g. if the client requests a page
http://app1.url.com/index.jsp this gets correctly passed to
weblogic as http://192.168.0.1:7001/app1/index.jsp.
BUT when a jsp page does a response.sendRedirect
(redirectpage.jsp), weblogic tells the client to redirect to
http://app1.url.com/app1/redirectpage.jsp. *Apache* immediately
comes back with an error 404. Is there a way of stripping
the /app1 path from the redirect page that gets sent
to the client?
OR is there a better way of hosting multiple applications on a
server?
This is only a problem when we use sendRedirect.
Any ideas
Thanks
RichardBob:
Fixed in SP 4. Out very, very soon.
mbg
In article <3969eabe$[email protected]>, [email protected] says...
Hello;
Can someone tell me how I might make this configuration work? I'm trying to
run multiple Weblogic Process on one box and 1 Apache Process on another
box. I would like to utilize the "VirtualHosting by name" via the HTTP1.1
protocol and use the weblogic plugin.
SNIP
When I try to call the website:
http://1stVirtual.host.com/weblogic/ I get this:
Failure of WebLogic APACHE bridge:
Neither WebLogicCluster nor WebLogicHost parameter was specified in
httpd.conf. Cannot continue.
Anyhelp would be greatly appreciated.
-Bob--
==================================================
NewsGroup Rant
==================================================
Rant 1.
The less info you provide about your problem means
the less we can help you. Try to look at the
problem from an external perspective and provide
all the data necessary to put your problem in
perspective. -
Access to Weblogic 7.0 SP1 datasource throws Oracle Exception
Hi,
I am trying to access a DataSource & Connection Pool set up in a Weblogic 7.0
SP1 instance, from a client app running in a different JVM than the app server
itself. The code I used is given below,
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
ctx = new InitialContext(ht);
if (ctx != null) ds = (DataSource) ctx.lookup("sample.SQLServer2KDS");
Connection conn = ds.getConnection("system", "password");
The connection pool points to a SQL Server 2000 database. But the getConnection
throws an Oracle exception, given below. We don't have any reference to oracle
drivers anywhere and we don't have any installations of Oracle. When I put the
Oracle JDBC driver in the classpath of my client application, this problem went
away.
Does anyone else encounter this ? Does anyone know if this is fixed by BEA ?
Thanks,
-Arun
weblogic.rjvm.PeerGoneException: ; nested exception is:
weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested exception:
[java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]
at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
at weblogic.jdbc.common.internal.RmiDataSource_WLStub.getConnection(Unknown Source)
at sample.DBClient.getConnection(DBClient.java:37)
at sample.DBClient.main(DBClient.java:57)
Caused by: weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested
exception:
[java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]
at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:592)
at weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:896)
at weblogic.rjvm.t3.T3JVMConnection.hasException(T3JVMConnection.java:632)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:399)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
--------------- nested within: ------------------
weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested
exception:
[weblogic.rjvm.PeerGoneException: ; nested exception is:
weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested exception:
[java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]]
at weblogic.jdbc.common.internal.RmiDataSource_WLStub.getConnection(Unknown Source)
at sample.DBClient.getConnection(DBClient.java:37)
at sample.DBClient.main(DBClient.java:57)You need to have classes12.zip in your CLASSPATH, even though you are not using Oracle
as your database.
This problem will be fixed in the WLS release coming out in spring, 2003.
"Arun Panicker" <[email protected]> wrote in message news:[email protected]...
>
Hi,
I am trying to access a DataSource & Connection Pool set up in a Weblogic 7.0
SP1 instance, from a client app running in a different JVM than the app server
itself. The code I used is given below,
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
ctx = new InitialContext(ht);
if (ctx != null) ds = (DataSource) ctx.lookup("sample.SQLServer2KDS");
Connection conn = ds.getConnection("system", "password");
The connection pool points to a SQL Server 2000 database. But the getConnection
throws an Oracle exception, given below. We don't have any reference to oracle
drivers anywhere and we don't have any installations of Oracle. When I put the
Oracle JDBC driver in the classpath of my client application, this problem went
away.
Does anyone else encounter this ? Does anyone know if this is fixed by BEA ?
Thanks,
-Arun
weblogic.rjvm.PeerGoneException: ; nested exception is:
weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested exception:
[java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]
at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
at weblogic.jdbc.common.internal.RmiDataSource_WLStub.getConnection(Unknown Source)
at sample.DBClient.getConnection(DBClient.java:37)
at sample.DBClient.main(DBClient.java:57)
Caused by: weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested
exception:
[java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]
at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:592)
at weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:896)
at weblogic.rjvm.t3.T3JVMConnection.hasException(T3JVMConnection.java:632)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:399)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
--------------- nested within: ------------------
weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested
exception:
[weblogic.rjvm.PeerGoneException: ; nested exception is:
weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested exception:
[java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]]
at weblogic.jdbc.common.internal.RmiDataSource_WLStub.getConnection(Unknown Source)
at sample.DBClient.getConnection(DBClient.java:37)
at sample.DBClient.main(DBClient.java:57) -
Running the J2EE CA implementation on Solaris (weblogic 6.0 sp1)
Hi! I am trying to run the J2EE CA Beta 2 implementation on weblogic 6.0 sp1. Everytimg
I run the server I get the following exception:
java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.getEntry(ZipFile.java:141)
at java.util.jar.JarFile.getEntry(JarFile.java:181)
at weblogic.utils.jars.VirtualJarFile.getEntry(VirtualJarFile.java:115)
Seems like the RevisedBlackBoxNoTx.rar is causing this problem. Could someone
please tell me how I should fix this problem.
Regards,
Nehal.
Edit the registry.xml file and change "6.0 Beta" to "6.0"
-Greg
On 12 Mar 2001 10:02:19 -0800, "Raman Trikkur" <[email protected]>
wrote:
>
Hello Kumar,
Here is my registry.xml.
<?xml version="1.0" encoding="UTF-8"?>
<bea-product-information>
<host name="ramantrik2pc">
<product name="WebLogic Server" format="1.0">
<release level="6.0 Beta" Status="installed" InstallDir="D:\bea\wlserver6.0"
InstallTime="Mar 1, 2001 5:18:57 PM" InstallSet="Server">
<component name="Program" />
<component name="Samples" />
</release>
</product>
</host>
</bea-product-information>
Thanks for helping me figure this out. If this doesn't work,
I'll just try installing the whole package (WLS 6.0 with SP1
applied) as Xiang suggested.
Regards,
Raman
Kumar Allamraju <[email protected]> wrote:
could you post your registry.xml ?
Raman Trikkur wrote:
Hi,
I'm trying to get the service pack SP1 ((wls60sp1_upgrade_win.exe)
) installed on my NT box. I have wls 6.0 installed andworking.
After unpacking and choosing my bea home directory (D:\bea),I
get an error that says "Weblogic Server Service Pack1 Installation
failed. You do not seem to have Weblogic server 6.0installed for
BEAHOME D:\bea".
But that is untrue. I DO have it installed in D:\bea,and I have
the environment shell up by running setEnv.cmd and Iinvoked the
service pack installer from within that shell.
Is there anything I'm missing? Has anyone else encounteredthis
problem? Any help with this would be much appreciated.
Regards,
Raman -
WebLogic 6.0 SP1 Duplicates JSP Request
I have run into a problem where WebLogic seems to be duplicating
page requests, which causes my web application to enter duplicate data items.
Essentially I have one JSP page,
ItemMaster.jsp, that includes a couple of pages that do
supplemental processing depending on which tab is chosen by the user. The error
only seems to occur when adding records, as processing the other requests twice
in succession doesn't duplicate database data. I have placed debug statements
at the
beginning and ending of the main page, ItemMaster.jsp. Once the
app server hits "End Item Master JSP", there should be no processing left, as
it is the last line in the JSP. The first set of trace statements executes correctly
if I wait at least one minute from the end of processing the last request. Otherwise
at the bottom set of trace statements, you see that it
processes the same page twice, duplicating data.
One other note, the browser window the JSP is processing in is
another spawned window to create a dialog like look-and-feel. So there are two
physical browser windows open at the same time. Coincidence? I don't know.
I'm using WebLogic 6.0 SP1.
Any help you can provide would be greatly appreciated.
Regards,
Matt Parker
===============================================================
Debug Trace during correct processing after waiting at least one minute from the
prior request
================================================================
<--- Begin Item Master JSP --->
ItemMasterBean.checkCommand: 0
Tab: Item Master Cycle Steps Tab
<--- Adding New Task... --->
MIProfileTask.add 24_1143578264_1148909342
MIProfileTaskId 1143578264_1148909342
ItemMasterBean.checkCommand: 5
SQL: SELECT fdMIProfileId, 'Default' AS fdSupplierDesc FROM
tblItemMaster WHERE
fdBUCode=? AND fdItemCode=? UNION SELECT fdMIProfileId, fdSupplierDesc FROM
tblItemSupplier, tblSupplier WHERE tblItemSupplier.fdSupplierCode =
tblSupplier.fdSupplierCode AND tblItemSupplier.fdItemCode=? AND
tblItemSupplier.fdBUCode=? ORDER BY fdSupplierDesc
BUCode: GAS
ItemCode: 0111B829
PROFILE: 24
Calling Item Master Cycle Steps JSP
ItemMasterCycleSteps.jsp
Parent Key 24_1143578049_1145772805
Item Profile 24 ItemMasterBean profile 24
After 1
<---- ItemMasterCycleSteps.jsp END ---->
Finished calling Item Master Cycle Steps JSP
<--- End Item Master JSP --->
Here is what happens when I tried to add another tasks after
updating the last task. The browser had completely stopped processing.
Debug trace during failure:
===========================================================
<--- Begin Item Master JSP --->
ItemMasterBean.checkCommand: 0
Tab: Item Master Cycle Steps Tab
<--- Adding New Task... --->
MIProfileTask.add 24_1143578276_1149056729
MIProfileTaskId 1143578276_1149056729
ItemMasterBean.checkCommand: 5
SQL: SELECT fdMIProfileId, 'Default' AS fdSupplierDesc FROM
tblItemMaster WHERE
fdBUCode=? AND fdItemCode=? UNION SELECT fdMIProfileId, fdSupplierDesc FROM
tblItemSupplier, tblSupplier WHERE
tblItemSupplier.fdSupplierCode =
tblSupplier.fdSupplierCode AND tblItemSupplier.fdItemCode=? AND
tblItemSupplier.fdBUCode=? ORDER BY fdSupplierDesc
BUCode: GAS
ItemCode: 0111B829
PROFILE: 24
Calling Item Master Cycle Steps JSP
ItemMasterCycleSteps.jsp
Parent Key 24_1143578049_1145772805
Item Profile 24 ItemMasterBean profile 24
After 1
<---- ItemMasterCycleSteps.jsp END ---->
Finished calling Item Master Cycle Steps JSP
<--- End Item Master JSP --->
<--- Begin Item Master JSP --->
ItemMasterBean.checkCommand: 0
Tab: Item Master Cycle Steps Tab
<--- Adding New Task... --->
MIProfileTask.add 24_1143578277_1149059577
MIProfileTaskId 1143578277_1149059577
ItemMasterBean.checkCommand: 5
SQL: SELECT fdMIProfileId, 'Default' AS fdSupplierDesc FROM tblItemMaster WHERE
fdBUCode=? AND fdItemCode=? UNION SELECT fdMIProfileId, fdSupplierDesc FROM
tblItemSupplier, tblSupplier WHERE
tblItemSupplier.fdSupplierCode =
tblSupplier.fdSupplierCode AND tblItemSupplier.fdItemCode=? AND
tblItemSupplier.fdBUCode=? ORDER BY fdSupplierDesc
BUCode: GAS
ItemCode: 0111B829
PROFILE: 24
Calling Item Master Cycle Steps JSP
ItemMasterCycleSteps.jsp
Parent Key 24_1143578049_1145772805
Item Profile 24 ItemMasterBean profile 24
After 1
<---- ItemMasterCycleSteps.jsp END ---->
Finished calling Item Master Cycle Steps JSP
<--- End Item Master JSP --->
This happens in WebLogic 6.1 SP2 as well when using IE5.5 + and Netscape
6.0. It also seems to slow things down since the response waits for this
second request. I'm curious if anyone can expand on why this is happening
and what is meant by "add logic that prevents multiple updates in your
page". If you try out the BEA demo apps, you might notice that this happens
with their pages as well. At least it does with Stockportal...
"Matt Parker" <[email protected]> wrote in message
news:[email protected]...
>
> Bob,
>
> Thanks for the insight. I've been racking my brain for the last couple of
days.
> I was using IE 5.5, and found IE 6.0 to have the same problem. I'm getting
Netscape
> to test this as well.
>
> Thanks,
>
> M.
>
>
>
> "Bob Lee" <[email protected]> wrote:
> >I'v run into this, too. The issue ended up being with Internet Explorer
> >5.5.
> >You can either add logic that prevents multiple updates in your page,
> >or you
> >can play around and try a different method for redirecting to that page.
> >
> >If the data is mission critical, go with the first because this could
> >be a
> >potential security hole (i.e. users could corrupt data).
> >
> >If it's logging or something like that (it was in my case), use the
latter
> >solution.
> >
> >Bob
> >
> >
> >"Matt Parker" <[email protected]> wrote in message
> >news:[email protected]...
> >>
> >> I have run into a problem where WebLogic seems to be duplicating
> >> page requests, which causes my web application to enter duplicate data
> >items.
> >> Essentially I have one JSP page,
> >> ItemMaster.jsp, that includes a couple of pages that do
> >> supplemental processing depending on which tab is chosen by the user.
> >The
> >error
> >> only seems to occur when adding records, as processing the other
requests
> >twice
> >> in succession doesn't duplicate database data. I have placed debug
> >statements
> >> at the
> >> beginning and ending of the main page, ItemMaster.jsp. Once the
> >> app server hits "End Item Master JSP", there should be no processing
> >left,
> >as
> >> it is the last line in the JSP. The first set of trace statements
executes
> >correctly
> >> if I wait at least one minute from the end of processing the last
request.
> >Otherwise
> >> at the bottom set of trace statements, you see that it
> >> processes the same page twice, duplicating data.
> >>
> >> One other note, the browser window the JSP is processing in is
> >> another spawned window to create a dialog like look-and-feel. So there
> >are
> >two
> >> physical browser windows open at the same time. Coincidence? I don't
> >know.
> >>
> >> I'm using WebLogic 6.0 SP1.
> >>
> >> Any help you can provide would be greatly appreciated.
> >>
> >> Regards,
> >>
> >> Matt Parker
> >>
> >> ===============================================================
> >>
> >>
> >> Debug Trace during correct processing after waiting at least one minute
> >from the
> >> prior request
> >>
> >> ================================================================
> >>
> >>
> >> <--- Begin Item Master JSP --->
> >> ItemMasterBean.checkCommand: 0
> >> Tab: Item Master Cycle Steps Tab
> >> <--- Adding New Task... --->
> >> MIProfileTask.add 24_1143578264_1148909342
> >> MIProfileTaskId 1143578264_1148909342
> >> ItemMasterBean.checkCommand: 5
> >> SQL: SELECT fdMIProfileId, 'Default' AS fdSupplierDesc FROM
> >> tblItemMaster WHERE
> >> fdBUCode=? AND fdItemCode=? UNION SELECT fdMIProfileId, fdSupplierDesc
> >FROM
> >> tblItemSupplier, tblSupplier WHERE tblItemSupplier.fdSupplierCode =
> >> tblSupplier.fdSupplierCode AND tblItemSupplier.fdItemCode=? AND
> >> tblItemSupplier.fdBUCode=? ORDER BY fdSupplierDesc
> >> BUCode: GAS
> >> ItemCode: 0111B829
> >> PROFILE: 24
> >> Calling Item Master Cycle Steps JSP
> >>
> >> ItemMasterCycleSteps.jsp
> >> Parent Key 24_1143578049_1145772805
> >> Item Profile 24 ItemMasterBean profile 24
> >> After 1
> >> <---- ItemMasterCycleSteps.jsp END ---->
> >> Finished calling Item Master Cycle Steps JSP
> >> <--- End Item Master JSP --->
> >>
> >>
> >>
> >>
> >> Here is what happens when I tried to add another tasks after
> >> updating the last task. The browser had completely stopped processing.
> >>
> >> Debug trace during failure:
> >> ===========================================================
> >>
> >> <--- Begin Item Master JSP --->
> >> ItemMasterBean.checkCommand: 0
> >> Tab: Item Master Cycle Steps Tab
> >> <--- Adding New Task... --->
> >> MIProfileTask.add 24_1143578276_1149056729
> >> MIProfileTaskId 1143578276_1149056729
> >> ItemMasterBean.checkCommand: 5
> >> SQL: SELECT fdMIProfileId, 'Default' AS fdSupplierDesc FROM
> >> tblItemMaster WHERE
> >> fdBUCode=? AND fdItemCode=? UNION SELECT fdMIProfileId, fdSupplierDesc
> >FROM
> >> tblItemSupplier, tblSupplier WHERE
> >> tblItemSupplier.fdSupplierCode =
> >> tblSupplier.fdSupplierCode AND tblItemSupplier.fdItemCode=? AND
> >> tblItemSupplier.fdBUCode=? ORDER BY fdSupplierDesc
> >> BUCode: GAS
> >> ItemCode: 0111B829
> >> PROFILE: 24
> >> Calling Item Master Cycle Steps JSP
> >> ItemMasterCycleSteps.jsp
> >> Parent Key 24_1143578049_1145772805
> >> Item Profile 24 ItemMasterBean profile 24
> >> After 1
> >> <---- ItemMasterCycleSteps.jsp END ---->
> >> Finished calling Item Master Cycle Steps JSP
> >> <--- End Item Master JSP --->
> >> <--- Begin Item Master JSP --->
> >> ItemMasterBean.checkCommand: 0
> >> Tab: Item Master Cycle Steps Tab
> >> <--- Adding New Task... --->
> >> MIProfileTask.add 24_1143578277_1149059577
> >> MIProfileTaskId 1143578277_1149059577
> >> ItemMasterBean.checkCommand: 5
> >> SQL: SELECT fdMIProfileId, 'Default' AS fdSupplierDesc FROM
tblItemMaster
> >WHERE
> >>
> >> fdBUCode=? AND fdItemCode=? UNION SELECT fdMIProfileId, fdSupplierDesc
> >FROM
> >> tblItemSupplier, tblSupplier WHERE
> >> tblItemSupplier.fdSupplierCode =
> >> tblSupplier.fdSupplierCode AND tblItemSupplier.fdItemCode=? AND
> >> tblItemSupplier.fdBUCode=? ORDER BY fdSupplierDesc
> >> BUCode: GAS
> >> ItemCode: 0111B829
> >> PROFILE: 24
> >> Calling Item Master Cycle Steps JSP
> >> ItemMasterCycleSteps.jsp
> >> Parent Key 24_1143578049_1145772805
> >> Item Profile 24 ItemMasterBean profile 24
> >> After 1
> >> <---- ItemMasterCycleSteps.jsp END ---->
> >> Finished calling Item Master Cycle Steps JSP
> >> <--- End Item Master JSP --->
> >>
> >
> >
>
-
Weblogic 6.0 sp1 crashes on Red Hat Linux 6.2
When we test our application consisting of JSP, servlets(No EJB) on Weblogic 6.0
sp1 , Red Hat Linux 6.2 with more than 25 users It gives following errors and
stops servicing requests.
<Aug 28, 2001 7:25:17 PM GMT-07:00> <Error> <Posix Performance Pack> <Uncaught
T hrowable in processSockets java.io.IOException: unexpected result from poll:
-1
at weblogic.socket.PosixSocketMuxer.poll(Native Method) at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java
:371) at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
23) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>I don't think you need change that parameters and make.
there is a post not far from here says you can set those parameters in /etc/sysctrl.conf, then reboot.
I didn't set any parameters, I checked them, they are different
names from those in ICG, and for those with same names, they are much higher in my system. So, I just go with them, and OK. -
Installing Commerce server with Weblogic 6.0 SP1
Hi
I am trying to start Weblogic commerce server after its successful
installation on my NT4.0 desktop
Before I have installed Weblogic 6.0 SP1.
Would commerce server work with this? (Since in documentation it
says "platform required: Weblogic 5.1 SP6"
I am getting the error "No class found" Looks like its a compatibility
issue.
Please confirm
thanxHi Santosh,
The BEA WebLogic Commerce Server (WLCS) 3.2 does not work with the
BEA WebLogic Server (WLS) 6.0. It only works with WLS 5.1 with the
appropriate service pack. The next version of WLCS, 3.5, is due in
late April and is based on WLS 6.0 SP1.
Thanks,
Skip
"Santosh" <[email protected]> wrote in message
news:3ab164d1$[email protected]..
>
Hi
I am trying to start Weblogic commerce server after its successful
installation on my NT4.0 desktop
Before I have installed Weblogic 6.0 SP1.
Would commerce server work with this? (Since in documentation it
says "platform required: Weblogic 5.1 SP6"
I am getting the error "No class found" Looks like its a compatibility
issue.
Please confirm
thanx -
Weblogic 8.1 SP1 + Apache 2.0.46/44 Plugin Problem
Hi,
Im using apache 2.0.44/46 HTTP Server to proxy request
to my Weblogic 8.1 SP1 server. The HTTP server and
Weblogic server are running on two different machines
in a non clustered environment. I have copied
mod_wl_20.so available in /root/bea/weblogic81/server/lib/linux/i686/
into my apache_home/modules directory. The HTTP Server and the weblogic
server are installed in a linux system. The details of the machines are
as
follows:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 1
model name : Intel(R) Pentium(R) 4 CPU 1.60GHz
stepping : 2
cpu MHz : 1614.399
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8
apic sep mtrr pge mca cmov pat pse36 clflush dts acpi
mmx fxsr sse sse2 ss ht tm
bogomips : 3224.37
My httpd.conf look something like this:
<VirtualHost *>
ServerAdmin [email protected]
ServerName 11.1.14.17
<IfModule mod_weblogic.c>
WebLogicHost WebLogicHost
WebLogicPort 7001
WLLocalIP 11.1.14.18
StatPath true
HungServerRecoverSecs 300
ConnectTimeoutSecs 5
WLLogFile log/weblogic.log
<Location />
DefaultFileName /xyz
WebLogicHost 11.1.14.18
WebLogicPort 7001
SetHandler weblogic-handler
</Location>
<Location /xyz
WebLogicHost 11.1.14.18
WebLogicPort 7001
SetHandler weblogic-handler
</Location>
</IfModule>
</VirtualHost>
After setting this up.. i have restarted the weblogic
server too.
When i try to access the url http://11.1.14.17 i get
the following error in the apache log
[Wed Feb 11 23:49:25 2004] [error] NO_RESOURCES: [os
error=99, line 1440 of ../nsapi/URL.cpp]: bind()
system call failed
The error message shown in the browser is as follows:
Failure of server APACHE bridge:
No backend server available for connection: timed out
after 15 seconds.
Please let me know how to get around this problem. Is
this a problem with the setup.
When i place the apache server in the same system
where my weblogic server is running, it works
perfectly fine.
One more question.. whats the difference between the mod_wl_20.so
available in the server/lib/linux directory and the one available in
the
bin directory?
thanks
-AjayHello
Have you got any solutions to your problem yet? We are getting same kind of problems
with WLS 8.1 SP1 and Apache 2.0.48. If you have any ideas please contact me at
[email protected]
Regards
Tommy Larsen
"Ajay" <[email protected]> wrote:
>
Hi,
Im using apache 2.0.44/46 HTTP Server to proxy request
to my Weblogic 8.1 SP1 server. The HTTP server and
Weblogic server are running on two different machines
in a non clustered environment. I have copied
mod_wl_20.so available in /root/bea/weblogic81/server/lib/linux/i686/
into my apache_home/modules directory. The HTTP Server and the weblogic
server are installed in a linux system. The details of the machines are
as
follows:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 1
model name : Intel(R) Pentium(R) 4 CPU 1.60GHz
stepping : 2
cpu MHz : 1614.399
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8
apic sep mtrr pge mca cmov pat pse36 clflush dts acpi
mmx fxsr sse sse2 ss ht tm
bogomips : 3224.37
My httpd.conf look something like this:
<VirtualHost *>
ServerAdmin [email protected]
ServerName 11.1.14.17
<IfModule mod_weblogic.c>
WebLogicHost WebLogicHost
WebLogicPort 7001
WLLocalIP 11.1.14.18
StatPath true
HungServerRecoverSecs 300
ConnectTimeoutSecs 5
WLLogFile log/weblogic.log
<Location />
DefaultFileName /xyz
WebLogicHost 11.1.14.18
WebLogicPort 7001
SetHandler weblogic-handler
</Location>
<Location /xyz
WebLogicHost 11.1.14.18
WebLogicPort 7001
SetHandler weblogic-handler
</Location>
</IfModule>
</VirtualHost>
After setting this up.. i have restarted the weblogic
server too.
When i try to access the url http://11.1.14.17 i get
the following error in the apache log
[Wed Feb 11 23:49:25 2004] [error] NO_RESOURCES: [os
error=99, line 1440 of ../nsapi/URL.cpp]: bind()
system call failed
The error message shown in the browser is as follows:
Failure of server APACHE bridge:
No backend server available for connection: timed out
after 15 seconds.
Please let me know how to get around this problem. Is
this a problem with the setup.
When i place the apache server in the same system
where my weblogic server is running, it works
perfectly fine.
One more question.. whats the difference between the mod_wl_20.so
available in the server/lib/linux directory and the one available in
the
bin directory?
thanks
-Ajay -
Solaris Server VM under Weblogic 7.0 sp1
I have noticed that bea has dropped platform support
for the Sun SPARC Solaris Server VM (java 1.3 -server option)
and only allows the use of the client VM (-hotspot)
I was under the impression that -server mode was much more scalable than -hotspot
mode, which is now the only option
on solaris.
Has anyone tried using -server mode under with weblogic 7
with any success or greater performance?
MattI heard for corporate customers there is a patch for weblogic 7 with that you can
use jdk141.
Am i right?
Rahul
"Deyan D. Bektchiev" <[email protected]> wrote:
7.0 is not supported with 1.4.x .
If you need 1.4 then you should upgrade to 8.1
--dejan
Riku Henriksson wrote:
Hello
I have a problem with Weblogic 7.0 SP1. I run three ejb beans on Tru64platform
(V5.1 1885 alpha). I recently tried to upgrade java from 1.31 to 1.40and run
into this problem. When I try to start Weblogic I get following error:
<Jul 21, 2003 3:30:35 PM EEST> <Info> <Security> <090065> <Getting bootidentity
from user.>
Enter username to boot WebLogic server:system
Enter password to boot WebLogic server:
Starting WebLogic Server...
<Jul 21, 2003 3:30:47 PM EEST> <Notice> <Management> <140005> <Loadingconfiguration
/home/voucher/weblogic701/bea/user_projects/mydomain/./config.xml>
<Jul 21, 2003 3:31:23 PM EEST> <Notice> <Security> <090082> <Securityinitializing
using realm myrealm.>
<Jul 21, 2003 3:31:25 PM EEST> <Notice> <WebLogicServer> <000327> <StartingWebLogic
Admin Server "myserver" for domain "mydomain">
exception system: exiting due to multiple internal errors:
exception dispatch or unwind stuck in infinite loop
exception dispatch or unwind stuck in infinite loop
exception system: exiting due to multiple internal errors:
exception dispatch or unwind stuck in infinite loop
exception dispatch or unwind stuck in infinite loop
/startWebLogic.sh: 72637 Abort - core dumped
Everything worked fine when I used 1.31 java, or earlier. Does anybodyknow
what's going on here? How do I fix this. It would be crucial to getit working
with 1.41 java because there's another problem with TimeZones that supposedly
is fixed in 1.41... -
Weblogic 6.1 sp1 and SQLServer 2000
We want to connect our Weblogic 6.1 sp1 server to a SQLServer 2000 db. We
downloaded the JDriver from bea.com, but all the istructions that came with
it are for WLserver 5.1.
What has to be done to do this with 6.1 sp1?
Thanks,
ArielHi Ariel,
The driver is bundled with the product in WLS 6.1sp1. you don't have to
download any additional driver. Use it as you normally would only thing to
remember is if you are trying to write standalone java code then you have to
have weblogic.jar in your classpath. For the rest of the info follow the wls
docs for 6.1
HTH
sree
"Ariel" <[email protected]> wrote in message
news:3bb4a643$[email protected]..
We want to connect our Weblogic 6.1 sp1 server to a SQLServer 2000 db. We
downloaded the JDriver from bea.com, but all the istructions that camewith
it are for WLserver 5.1.
What has to be done to do this with 6.1 sp1?
Thanks,
Ariel -
GuestDisabled property = false... Weblogic 6.1 sp1 Windows 2000
GuestDisabled property = false... Weblogic 6.1 sp1 Windows 2000.
But I still can connect without principal and credentials (as guest :) ) to
Weblogic. Could someone check if it is true or not?
Thanks in advance,
AntonSays the official doc (the last sentence will answer your question).
The guest User is automatically provided by WebLogic Server. When
authorization is not required, WebLogic Server assigns the guest identity to
a client, thus giving the client access to any resources that are available
to the guest user. A client can log in as the guest User by entering guest
as the username and guest as the password when prompted by a Web browser or
by supplying the guest username and password in a Java client. By default,
the guest account is enabled.
For a more secure deployment, BEA recommends running WebLogic Server with
the guest account disabled. To disable the guest account, select the Guest
Disabled attribute on the General tab of the Security Configuration window.
Disabling the guest account just disables the ability to log in into the
account guest; it does not disable the ability for unauthenticated users to
access a WebLogic Server deployment.
http://e-docs.bea.com/wls/docs61//////adminguide/cnfgsec.html
Weird, I agree.
"Anton Chistiakov" <[email protected]> wrote in message
news:[email protected]..
GuestDisabled property = false... Weblogic 6.1 sp1 Windows 2000.
But I still can connect without principal and credentials (as guest :) )to
Weblogic. Could someone check if it is true or not?
Thanks in advance,
Anton -
Migrating from WebSphere 5.1 OR WebLogic 5.1 SP1 To SunOne App server 7
Hi all,
I have an application which is compatable with WebSphere 5.1 or WebLogic 5.1 SP1 and i want to move it to SunOne Application Server 7.
the migration tool don't support these Versions, so can anyone tell me how to migrate or When the updated version of the Migrator Tool will be available?The migration too supports migration from SunOne Application Server 7 to weblogic 5.1 (http://wwws.sun.com/software/download/products/3f577172.html). Please check.
Maybe you are looking for
-
Unable to get the Transaction iview from the r/3
Hi, I am trying to display a tranaction iview onto the Portal. I have created a System and configured the Connector,UserMgmnt settings and System alias. I have cross checked the backend system connection from the System's (Right click)- Open- Connect
-
I didn't get my renewl in time for Icloud is it to late or can I renew and still have my pictures?
-
Is there a way to shut off the screen of an imac, while leaving a power point running?
I have a slide show set to run on a connected monitor, but don't want to leave the screen of the mac on while it is running. I've tried **** control eject with no luck. On my pc I was able to just turn the screen off and it would still show, but ther
-
IPhone 4S Honeymoon photos lost?!
Camera Roll shows 160+ pics, Import only finds 92, Image Capture doesn't work either. Some thumbnails are blacked out. Sync can't locate any photos after the black out (thumbnails show for some). Apple store told me to restore the phone, but I'll
-
setup: Mac Pro 10.5.6 Active Directory - accounts Open Directory - group settings Problem: When I boot up my machine it takes a while before all netowrk accounts are available. It sits with a yellow ball stating "Some network accounts available" for