Weblogic 5.1 jsp vs. weblogic 6.1 ejb
Hello,
Can weblogic 5.1 jsp talk to weblogic 6.1 ejb? And can weblogic 5.1 jsp talk to
a web service published on weblogic 6.1 via GLUE 2.3?
Thanks.
Hello Shane,
See http://e-docs.bea.com/wls/docs61///////interop/interop.html
Regards
Stephane
Shane Yan wrote:
> Hello,
>
> Can weblogic 5.1 jsp talk to weblogic 6.1 ejb? And can weblogic 5.1 jsp talk to
> a web service published on weblogic 6.1 via GLUE 2.3?
>
> Thanks.
Similar Messages
-
How to write to weblogic.log from JSP ?
It is possible to write some messages to weblogic.log from JSP?
Use weblogic.logging.LogOutputStream class to log messages into
weblogic.log file.
javap on weblogic.logging.LogOutputStream
for e.g
<%@ page import="weblogic.logging.*" %>
<%
LogOutputStream los = new LogOutputStream("TEST");
los.error("Writing into Log file");
%>
Hope this helps.
--kumar allamraju
Mikhail Ershov wrote:
> It is possible to write some messages to weblogic.log from JSP?
-
Error while precompiling the JSP using weblogic 7.0
Hi
I am trying to precompile jsp file which is there in a war.Main jsp file code includes one more jsp which is there in other folder under defaultweb directory.
While deploying the war i am getting the following error.Can any bosy help me in this regard
<Nov 23, 2002 5:01:28 PM IST> <Error> <HTTP> <101045> <[ServletContext(id=464413
3,name=ArkinTestWeb,context-path=/ArkinTestWeb-3)] translation of /Admin/account
_access.jsp failed: weblogic.utils.ParsingException: nested TokenStreamException
: antlr.TokenStreamException: Could not include ./../includes/sessionStatusPage.
jsp>
<Nov 23, 2002 5:01:28 PM IST> <Error> <Deployer> <149201> <The Slave Deployer fa
iled to complete the deployment task with id 1 for the application ArkinTestWeb.
weblogic.management.ApplicationException: Prepare failed. Task Id = 5
Module Name: ArkinTestWeb, Error: Could not load ArkinTestWeb: weblogic.utils.Ne
stedException: ArkinTestWeb:ArkinTestWeb Failure while Precompiling JSPs: weblog
ic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamExcepti
on: Could not include ./../includes/sessionStatusPage.jsp - with nested exceptio
n:
[weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStream
Exception: Could not include ./../includes/sessionStatusPage.jsp]
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:657)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:548)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:1026)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:700)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
>
Regards
Anand MohanHi
All jsp pages are under one web application only.Can you help more on this.
Regards
Anand -
Error for running jsp in Weblogic 5.1
I am using weblogic 5.1 on Solaris 8 (intel) for testing
I try to test the jsp page through the browser
The following error message prompt and the server shutdown
The java.library.path is
/usr/java/bin/../jre/bin/../lib/i386:/opt/weblogic/lib/solaris/oci815_8:/opt/weblogic/lib/solaris:/usr/lib
and i am using JSK 1.2.2_07a
Please help!
Fannie
SIGSEGV 11 segmentation violation
si_signo [11]: SEGV
si_errno [0]:
si_code [1]: SEGV_MAPERR [addr: 0x2]
stackpointer=D639E440
"SSLListenThread" (TID:0x91a7d28, sys_thread_t:0x91a7c70, state:R, thread_t:
t@30, threadID:0xd5f50d74, stack_bottom:0xd5f51000, stack_size:0x20000)
prio=5
[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:413)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:241)
[4] java.net.ServerSocket.accept(ServerSocket.java:223)
[5]y.SSL.SSLServerSocket.acceptNoHandshake(SSLServerSocket.java:121)
[6] weblogic.security.SSL.SSLServerSocket.accept(SSLServerSocket.java:112)
[7] weblogic.t3.srvr.ListenThread.run(ListenThread.java:226)
"ListenThread" (TID:0x9171528, sys_thread_t:0x9171470, state:R, thread_t:
t@29, threadID:0xd5f80d74, stack_bottom:0xd5f81000, stack_size:0x20000)
prio=5
[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:413)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:241)
[4] java.net.ServerSocket.accept(ServerSocket.java:223)
[5] weblogic.t3.srvr.ListenThread.run(ListenThread.java:226)
"ExecuteThread-14" (TID:0x867b8e8, sys_thread_t:0x867b830, state:CW,
thread_t: t@24, threadID:0xd6320d74, stack_bottom:0xd6321000,
stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-13" (TID:0x86810e8, sys_thread_t:0x8681030, state:CW,
thread_t: t@23, threadID:0xd6370d74, stack_bottom:0xd6371000,
stack_size:0x20000) prio=5
[1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
[2] weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:177)
[3] weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
[4] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-12" (TID:0x872cd20, sys_thread_t:0x872cc68, state:R,
thread_t: t@22, threadID:0xd63a0d74, stack_bottom:0xd63a1000,
stack_size:0x20000) prio=5 current thread
[1] weblogic.servlet.jsp.JspLexer.mPAGE_DIRECTIVE(JspLexer.java:3344)
[2] weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3174)
[3] weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1636)
[4] weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1477)
[5] weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1356)
[6] weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:786)
[7] weblogic.servlet.jsp.JspParser.doit(JspParser.java:57)
[8] weblogic.servlet.jsp.JspParser.parse(JspParser.java:109)
[9] weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
[10] weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:235)
[11] weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:198)
[12] weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:174)
[13]weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:164)
[14]weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:99)
[15]weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:123)
[16]weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
[17]weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
[18]
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
[19]weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
[20] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
[21] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-11" (TID:0x86c80e8, sys_thread_t:0x86c8030, state:CW,
thread_t: t@21, threadID:0xd63f0d74, stack_bottom:0xd63f1000,
stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-10" (TID:0x8745218, sys_thread_t:0x8745160, state:CW,
thread_t: t@20, threadID:0xd6fb0d74, stack_bottom:0xd6fb1000,
stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-9" (TID:0x867bce8, sys_thread_t:0x867bc30, state:CW,
thread_t: t@19, threadID:0xd6ff0d74, stack_bottom:0xd6ff1000,stack_size:0x20000) prio=5
[1] java.lang.Object.wait Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-8" (TID:0x8742098, sys_thread_t:0x8741fe0, state:CW,
thread_t: t@18, threadID:0xd7920d74, stack_bottom:0xd7921000, stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-7" (TID:0x8740ed8, sys_thread_t:0x8740e20, state:CW,
thread_t: t@17, threadID:0xd7970d74, stack_bottom:0xd7971000,
stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-6" (TID:0x86f40e8, sys_thread_t:0x86f4030, state:CW,
thread_t: t@16, threadID:0xd79a0d74, stack_bottom:0xd79a1000, stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-5" (TID:0x873dd58, sys_thread_t:0x873dca0, state:CW,
thread_t: t@15, threadID:0xd79e0d74, stack_bottom:0xd79e1000, stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-4" (TID:0x86ff4e8, sys_thread_t:0x86ff430, state:CW,
thread_t: t@14, threadID:0xd86b0d74, stack_bottom:0xd86b1000,stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-3" (TID:0x86ffce8, sys_thread_t:0x86ffc30, state:CW,
thread_t: t@13, threadID:0xd8700d74, stack_bottom:0xd8701000,stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-2" (TID:0x87134e8, sys_thread_t:0x8713430, state:CW,
thread_t: t@12, threadID:0xd8730d74, stack_bottom:0xd8731000,stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-1" (TID:0x8739c70, sys_thread_t:0x8739bb8, state:CW,
thread_t: t@11, threadID:0xd8760d74, stack_bottom:0xd8761000,
stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-0" (TID:0x8739a68, sys_thread_t:0x87399b0, state:CW,
thread_t: t@10, threadID:0xd8790d74, stack_bottom:0xd8791000,stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"TimeEventGenerator" (TID:0x869a220, sys_thread_t:0x869a168, state:CW,
thread_t: t@9, threadID:0xd87c0d74, stack_bottom:0xd87c1000,
stack_size:0x20000) prio=5
[1] weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:249)
[2] weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:131)
[3] java.lang.Thread.run(Thread.java:479)
"SpinnerRandomSource" (TID:0x86e8218, sys_thread_t:0x86e8160, state:CW,
thread_t: t@8, threadID:0xd87f0d74, stack_bottom:0xd87f1000,stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.security.SpinnerThread.stopSpinning(SpinnerRandomBitsSource.java:102)
[3] weblogic.security.SpinnerThread.run(SpinnerRandomBitsSource.java:116)
Exiting Thread (sys_thread_t:0xdfb7c29c) : no stack
"Finalizer" (TID:0x81e3940, sys_thread_t:0x81e3888, state:CW, thread_t: t@6,
threadID:0xdf4e0d74, stack_bottom:0xdf4e1000, stack_size:0x20000) prio=8
[1] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:146)
[2] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:168)
[3]
java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:124)
"Reference Handler" (TID:0x81da690, sys_thread_t:0x81da5d8, state:CW,
thread_t: t@5, threadID:0xdf510d74, stack_bottom:0xdf511000,stack_size:0x20000) prio=10
[1] java.lang.Object.wait(Object.java:424)
[2] java.lang.ref.Reference$ReferenceHandler.run(Reference.java:130)
"Signal dispatcher" (TID:0x81a0ea8, sys_thread_t:0x81a0df0, state:MW,
thread_t: t@4, threadID:0xdf670d74, stack_bottom:0xdf671000,stack_size:0x20000) prio=10
"main" (TID:0x8061728, sys_thread_t:0x8061670, state:CW, thread_t: t@1,
threadID:0x804c178, stack_bottom:0x8048000, stack_size:0x848000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:1784)
[3] java.lang.reflect.Method.invoke(Native Method)
[4] weblogic.Server.startServerDynamically(Server.java:148)
[5] weblogic.Server.main(Server.java:66)
[6] weblogic.Server.main(Server.java:58)how is the weblogic.properties configured?
how do you run the BWLS ? memory (M)?
is the documentroot and the WEBLOGIC JSP PROPERTIES right ? -
Display Chinese characters on JSP under WebLogic 6.1
We've recently migrated from WebLogic 5.1 to 6.1 and we found that all those
Chinese JSP pages cannot display properly under Solaris, but it works on
some Windows 2000 machines (but everything work under 5.1).
However we haven't made any special changes to any configuration in all
these machines. Why some of them work and some of them doesn't ? Those W2K
machines work are running English version of Windows 2000, but with Chinese
character sets installed.
Our Chinese JSP pages use big5 character encoding instead of unicode.
I've read a number of messages in this newsgroup but I'm still very
confusing on how to fix the problem ...Hi,
I have the same problem here. I am using weblogic 6.1 on W2k server. I save
prpblem from those static contents in the jsp file, but those data in chinese
from oracle database is working fine. I create a simple jsp file just with a simple
text "hello world" in chinese, I save one as a html and one as a jsp. When I run
this two under weblogic 6.1, the html file display correctly but the jsp is not.
I try "UTF-8", "GB2312" and other charsets but all not working with jsp files.
Please help.... Thank you.
yanglin
"Nohmenn BABAI" <[email protected]> wrote:
>
>
Dear Ricky,
Could you please check the following :
If you are on Sun Solaris systems please check the LC values of your
=
environment as shown in example below.
This is the cause of many troubles due to the fact that the JVM =
considers these parameters to encode.
(example given for Italian display, so I guess for you this will be =
Big5)
On Solaris 7 the right settings are=20
LC_COLLATE=3Dit.ISO8859-15
LC_CTYPE=3Dit.ISO8859-15
LC_MESSAGES=3Dit
LC_MONETARY=3Dit.ISO8859-15
LC_NUMERIC=3Dit.ISO8859-15
LC_TIME=3Dit.ISO8859-15=20
on Solaris 8=20
LC_COLLATE=3Dit_IT.ISO8859-1
LC_CTYPE=3Dit_IT.ISO8859-1
LC_MESSAGES=3Dit
LC_MOLC_COLLATE=3Dit.ISO8859-15
LC_NUMERIC=3Dit_IT.ISO8859-1
LC_TIME=3Dit_IT.ISO8859-1
Also another point to check is=20
In All Weblogic Releases :
You can add the flag -Dfile.encoding=3DUTF8 in the startup line to force
=
default encoding in the JVM
In your Webloigc 5.1 property file
# WEBLOGIC CHARACTERS PROPERTIES
weblogic.httpd.inputCharset./russian/*=3DISO-8859-5
weblogic.httpd.inputCharset./utf/*=3DUTF-8
weblogic.httpd.inputCharset./french/*=3DISO-8859-1
weblogic.httpd.inputCharset./japan*=3DShift_JIS
# FOR ENCODING THE WHOLE SITE IN UTF-8, UNCOMMENT THE FOLLOWING LINE
#weblogic.httpd.inputCharset./*=3DUTF-8
In your weblogic.xml's Weblogic 6.1 and later :
<weblogic-web-app>=20
<charset-params>=20
<input-charset>=20
<resource-path>/japan*</resource-path>=20
<java-charset-name>Shift_JIS</java-charset-name>=20
</input-charset>=20
</charset-params>
=20
<charset-params>=20
<input-charset>=20
<resource-path>/russian*</resource-path>=20
<java-charset-name>ISO-8859-5</java-charset-name>=20
</input-charset>=20
</charset-params>=20
<charset-params>=20
<input-charset>=20
<resource-path>/french*</resource-path>=20
<java-charset-name>ISO-8859-1</java-charset-name>=20
</input-charset>=20
</charset-params>
<charset-params>=20
<input-charset>=20
<resource-path>/UTF-8*</resource-path>=20
<java-charset-name>UTF-8</java-charset-name>=20
</input-charset>=20
</charset-params> =20
</weblogic-web-app>
As you may have noted, the ressouce-path is starting from root, and =
after you insert the directory where you want to define de encoding.
This will influence the JVM when performing a compilation (please clean
=
the temp directories from any compiled jsps before re-starting your =
WLS).
Please reply in the forum is you still face the problem after all these
=
modifications.
Best regards
Nohmenn BABAI
BEA EMEA Technical Support Engineer
"Ricky Wong" <[email protected]> a =E9crit dans le message de news:
=
[email protected]...
We've recently migrated from WebLogic 5.1 to 6.1 and we found thatall =
those
Chinese JSP pages cannot display properly under Solaris, but it works=
on
some Windows 2000 machines (but everything work under 5.1).
=20
However we haven't made any special changes to any configuration in=
all
these machines. Why some of them work and some of them doesn't ? Those=
W2K
machines work are running English version of Windows 2000, but with=
Chinese
character sets installed.
=20
Our Chinese JSP pages use big5 character encoding instead of unicode.
=20
I've read a number of messages in this newsgroup but I'm still very
confusing on how to fix the problem ...
=20
=20<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Dear Ricky,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Could you please check the following
=
:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>If you are on Sun Solaris systems =
please check the=20
<STRONG>LC</STRONG> values of your environment as shown in example=20
below.<BR>This is the cause of many troubles due to the fact that the
=
JVM=20
considers these parameters to encode.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>(example given for Italian display,
so =
I guess for=20
you this will be <STRONG>Big5</STRONG>)</FONT></DIV>
<DIV><BR><FONT face=3DArial size=3D2><FONT color=3D#ff0000><STRONG>On
=
Solaris 7 the=20
right settings are</STRONG>=20
<BR></FONT>LC_COLLATE=3Dit.ISO8859-15<BR>LC_CTYPE=3Dit.ISO8859-15<BR>LC_M=
ESSAGES=3Dit<BR>LC_MONETARY=3Dit.ISO8859-15<BR>LC_NUMERIC=3Dit.ISO8859-15=
<BR>LC_TIME=3Dit.ISO8859-15=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><FONT color=3D#ff0000><STRONG>on =
Solaris 8</STRONG>=20
<BR></FONT>LC_COLLATE=3Dit_IT.ISO8859-1<BR>LC_CTYPE=3Dit_IT.ISO8859-1<BR>=
LC_MESSAGES=3Dit<BR>LC_MOLC_COLLATE=3Dit.ISO8859-15<BR>LC_NUMERIC=3Dit_IT=
..ISO8859-1<BR>LC_TIME=3Dit_IT.ISO8859-1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>Also another point to check
=
is</STRONG>=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>In All Weblogic Releases :<BR>You can
=
add the flag=20
-Dfile.encoding=3DUTF8 in the startup line to force default encoding
in =
the=20
JVM</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>In your Webloigc 5.1 property=20
file</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2># # # # # # # # # # # # # # # # # #
# # =
# # # # # #=20
# # # # # # # #<BR># WEBLOGIC CHARACTERS PROPERTIES<BR>#=20
------------------------------------------------<BR>weblogic.httpd.inputC=
harset./russian/*=3DISO-8859-5<BR>weblogic.httpd.inputCharset./utf/*=3DUT=
F-8<BR>weblogic.httpd.inputCharset./french/*=3DISO-8859-1<BR>weblogic.htt=
pd.inputCharset./japan*=3DShift_JIS<BR>#=20
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #<BR>#
=
FOR=20
ENCODING THE WHOLE SITE IN UTF-8, UNCOMMENT THE FOLLOWING LINE<BR>#=20
------------------------------------------------<BR>#weblogic.httpd.input=
Charset./*=3DUTF-8</FONT></DIV>
<DIV><BR><FONT face=3DArial size=3D2><STRONG>In your weblogic.xml's =
Weblogic 6.1 and=20
later :</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><weblogic-web-app> </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><charset-params> =
<BR><input-charset>=20
<BR><resource-path>/japan*</resource-path>=20
<BR><java-charset-name>Shift_JIS</java-charset-name>=20
<BR></input-charset>=20
<BR></charset-params><BR> <BR><charset-params>=20
<BR><input-charset>=20
<BR><resource-path>/russian*</resource-path>=20
<BR><java-charset-name>ISO-8859-5</java-charset-name>=20
<BR></input-charset> <BR></charset-params> </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><charset-params> =
<BR><input-charset>=20
<BR><resource-path>/french*</resource-path>=20
<BR><java-charset-name>ISO-8859-1</java-charset-name>=20
<BR></input-charset> <BR></charset-params></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><charset-params> =
<BR><input-charset>=20
<BR><resource-path>/UTF-8*</resource-path>=20
<BR><java-charset-name>UTF-8</java-charset-name>=20
<BR></input-charset> <BR></charset-params> =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></weblogic-web-app></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><EM>As you may have noted, the =
ressouce-path is=20
starting from root, and after you insert the directory where you want
to =
define=20
de encoding.</EM></FONT></DIV>
<DIV><EM><FONT face=3DArial size=3D2></FONT></EM> </DIV>
<DIV><EM><FONT face=3DArial size=3D2></FONT></EM> </DIV>
<DIV><FONT face=3DArial size=3D2>This will influence the JVM when =
performing a=20
compilation (please clean the temp directories from any compiled jsps
=
before=20
re-starting your WLS).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Please reply in the forum is you still
=
face the=20
problem after all these modifications.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Best regards</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Nohmenn BABAI</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>BEA EMEA Technical Support =
Engineer</FONT></DIV>
<DIV><FONT face=3DArial><BR><FONT size=3D2></FONT></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>"Ricky Wong" <</FONT><A=20
href=3D"mailto:[email protected]"><FONT face=3DArial=20
size=3D2>[email protected]</FONT></A><FONT face=3DArial =
size=3D2>> a =E9crit dans=20
le message de news: </FONT><A =
href=3D"mailto:[email protected]"><FONT=20
face=3DArial size=3D2>[email protected]</FONT></A><FONT =
face=3DArial=20
size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>> We've recently
=
migrated from=20
WebLogic 5.1 to 6.1 and we found that all those<BR>> Chinese JSP =
pages cannot=20
display properly under Solaris, but it works on<BR>> some Windows
=
2000=20
machines (but everything work under 5.1).<BR>> <BR>> However we
=
haven't=20
made any special changes to any configuration in all<BR>> these =
machines. Why=20
some of them work and some of them doesn't ? Those W2K<BR>> machines
=
work are=20
running English version of Windows 2000, but with Chinese<BR>> =
character sets=20
installed.<BR>> <BR>> Our Chinese JSP pages use big5 character
=
encoding=20
instead of unicode.<BR>> <BR>> I've read a number of messages in
=
this=20
newsgroup but I'm still very<BR>> confusing on how to fix the problem
=
....<BR>> <BR>> </FONT></BODY></HTML> -
Step by step details to deploy jsp in weblogic
Hi,
can any one give me a step by step details to deploy jsp in weblogic 7..
i am abs new to EJBs and weblogic...
thnx
sai.sai krishna wrote:
Hi,
can any one give me a step by step details to deploy jsp in weblogic 7..
i am abs new to EJBs and weblogic...
thnx
sai.Sai if you are completely new to this on WLS I would recommend reading:
http://edocs.bea.com/wls/docs70/programming/index.html
Then Possibly:
http://edocs.bea.com/wls/docs70/webapp/index.html &&
http://edocs.bea.com/wls/docs70/jsp/index.html
You can also find more programming information here:
http://edocs.bea.com/wls/docs70/programming.html
HTH
~Ryan -
How to deploy jsp in Weblogic 7.0
Hi,
I would appreciate, if anyone can help me out.
I'm new to weblogic.
I have installed Weblogic in my system.[vers.7.0]
i want to deploy my jsp file and run the jsp file.
can anyone tell me where to deploy the jsp file and how to run it.
do i need to create a war file to deploy jsp?
can anyone tell the procedure in doing so...........................
regds
venkatraman.Puse your console to create a web-app from the directory with the web-inf and your jsp. Hit deploy and it should work.
War files are not necesary, for fast jsp development its even better to not use wars. -
Urgent. Unable to set up JSP in Weblogic server
Hi,
I wish to enable JSPs in the weblogic server. i went thru the bea documentation and
added the following lines in hte weblogic.properties file :
weblogic.httpd.documentRoot=XXX (The root directory for the jsps.
weblogic.httpd.register.*.jsp=\ weblogic.servlet.JSPServlet
weblogic.httpd.initArgs.*.jsp=\ pageCheckSeconds=1,\
compileCommand=/opt/java1.2/bin/javac,\
workingDir=XXX,\
verbose =true
After this, i started the weblogic. But apparently, it says that all the above properties are undeclared.
I am not able to go further on this. Could anyone help me out on this.
I am working on a HP machine.
thanks in advance. prashant
Hi,
It is really hard to tell exactly what is going on without more information. If all you are using are JSPs, try
removing the servlet classpath altogether. Put any helper classes into the weblogic classpath.
Can you get one of the example JSPs working in your environment? This would be a good place to start just to verify
that your environment is set up correctly.
Can you post your JSP file that is not working?
Hope this helps,
Robert
prashant wrote:
> Good Morning.
>
> I just changed the path as you had said. now it stands as :
>
> weblogic.httpd.documentRoot=/sclNewArch/weblogic/pgupta/jsp
>
> workingDir=/sclNewArch/weblogic/pgupta/jspworkingdir
>
> weblogic.httpd.servlet.classpath=/sclNewArch/weblogic/pgupta/jspclass
>
> But still it gives the same error : javax.servlet.ServletException: Servlet class: could not be loaded - the reques
> ted class wasn't found in the classpath
>
> Pleae help.
>
> Prashant
>
> Robert Patrick <[email protected]> wrote:
> >1.) Do not make the working directory the same as the document root (or a subdirectory of the document root
> >hierarchy).
> >2.) Do not put the working directory in the servlet classpath.
> >
> >prashant wrote:
> >
> >> Hi,
> >> Sorry, that was an error on my part while writing to this forum. i had actually done it correctly.
> >> To tell you in more details, among other things, i have set the following parameters :
> >>
> >> weblogic.httpd.documentRoot=/sclNewArch/weblogic/pgupta/jsp
> >>
> >> workingDir=/sclNewArch/weblogic/pgupta/jsp
> >>
> >> weblogic.httpd.servlet.classpath=/sclNewArch/weblogic/pgupta/jsp
> >>
> >> Now, a small jsp that i made is in the same directory. When i try to run the directory with the following :
> >> http://localhost:8013/a.jsp, it gives the error as given below. I am not able to understand what is the
> >> problem, since my jsp is in the same directory where the class file is to be made.
> >>
> >> Please help.
> >>
> >> Thanks,prashant
> >>
> >> Fri Jan 05 17:31:45 CST 2001:<E> <ServletContext-General> Servlet failed with Ex
> >> ception
> >> javax.servlet.ServletException: Servlet class: could not be loaded - the reques
> >> ted class wasn't found in the classpath
> >> /sclNewArch/weblogic/pgupta/jsp
> >> at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
> >> mpl.java:299)
> >> at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
> >> java:164)
> >> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> >> pl.java:99)
> >> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
> >> textImpl.java:742)
> >> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
> >> textImpl.java:686)
> >> at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
> >> ContextManager.java:247)
> >> at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
> >> a:361)
> >> at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
> >>
> >>
> >> "Tamilselvan Ramasamy" <[email protected]> wrote:
> >> >"\" means that property continue in the next line.
> >> >
> >> >so your changes as follows
> >> >
> >> >weblogic.httpd.documentRoot = /opt/app1/jspdir
> >> >
> >> >weblogic.httpd.register.*.jsp=\
> >> > weblogic.servlet.JSPServlet
> >> >weblogic.httpd.initArgs.*.jsp=pageCheckSeconds=1,\
> >> >compileCommand=/opt/java1.2/bin/javac,\
> >> > workingDir=XXX,\
> >> > verbose =true
> >> >
> >> >/selvan
> >> >Captura Software Inc
> >> >
> >> >"prashant" <[email protected]> wrote in message
> >> >news:[email protected]...
> >> >>
> >> >> Hi,
> >> >>
> >> >> I wish to enable JSPs in the weblogic server. i went thru the bea
> >> >documentation and
> >> >> added the following lines in hte weblogic.properties file :
> >> >>
> >> >> weblogic.httpd.documentRoot=XXX (The root directory for the jsps.
> >> >>
> >> >> weblogic.httpd.register.*.jsp=\ weblogic.servlet.JSPServlet
> >> >> weblogic.httpd.initArgs.*.jsp=\ pageCheckSeconds=1,\
> >> >> compileCommand=/opt/java1.2/bin/javac,\
> >> >> workingDir=XXX,\
> >> >> verbose =true
> >> >> After this, i started the weblogic. But apparently, it says that all the
> >> >above properties are undeclared.
> >> >>
> >> >> I am not able to go further on this. Could anyone help me out on this.
> >> >>
> >> >> I am working on a HP machine.
> >> >>
> >> >> thanks in advance. prashant
> >> >
> >> >
> >
-
How to modify JSP on Weblogic without restarting a server
Hello,
Could someone explain how to modify JSP on Weblogic without restarting a server?
We use WL 10.2.
I search and modify required jsp on a server, but nothing happens on a Web Browser. I run in Development mode.
Please advice,
Thanks,
YuriHi Yuri,
As you are in Development mode you have one options to use the Auto Deploy folder which can be found in the following path (domain_name/autodeploy).
More information on Auto Deployment check the below link:
http://download.oracle.com/docs/cd/E11035_01/wls100/deployment/autodeploy.html#wp1021626
Other option is to use the following parameter "*page-check-seconds*" in your weblogic.xml file
For more information check out the below link
Topic: jsp-descriptor
http://download.oracle.com/docs/cd/E13222_01/wls/docs103/webapp/weblogic_xml.html#wp1038491
Hope this helps you.
Regards,
Ravish Mody
http://middlewaremagic.com/weblogic/
Middleware Magic | Come, Join Us and Experience The Magic… -
Problems configuring jsp and weblogic.
Hi,
can anyone tell me what all things i need to configure if i have to test jsp
on weblogic. what things i need to include in web.xml and weblogic.xml. Also
do i need to create weblogic.properties. I m using weblogic 6.0. I do have
a jar file which is deployed on weblogic.
Any help will be appreciated.
Thanks
-Shree
Hi,
I m trying to test a html page on weblogic 6.0. when i type the url
http://localhost:7001/mytest.html i get following errors. I m not able to
test any of my jsp pages. I m getting the following error....
<Jul 23, 2001 5:04:04 PM EDT> <Error> <HTTP> <HttpServer(6962399,null
default ct
x,localhost) found no context for "GET /mytest.html HTTP/1.0". This should
not h
appen unless the default context failed to deploy.>
can any one tell me what are the steps / things i should consider for
testing a jsp (web.xml, weblogic.xml...etc...)using weblogic 6.0 i do not
want to deploy it i want to test using exploded directory format. My Jsps
are in turn retrieving information from EJB's.
I did read quickstart guide in e-docs.bea.com.
Any help in this matter is appreciated.
Thanks
-Shree
"Shree Unde" <[email protected]> wrote in message
news:[email protected]...
> Thanks.
> -Shree
> "Kumar Allamraju" <[email protected]> wrote in message
> news:[email protected]...
> > http://e-docs.bea.com/wls/docs60/quickstart/quick_start.html
> >
> > Shree Unde wrote:
> >
> > > Hi,
> > > can anyone tell me what all things i need to configure if i have to
test
> jsp
> > > on weblogic. what things i need to include in web.xml and
weblogic.xml.
> Also
> > > do i need to create weblogic.properties. I m using weblogic 6.0. I do
> have
> > > a jar file which is deployed on weblogic.
> > >
> > > Any help will be appreciated.
> > >
> > > Thanks
> > > -Shree
> >
>
>
-
Calling property file inside jsp in weblogic.
In JSP file, sometimes, we use the following code in the jspInit()
<%!
ResourceBundle resouce =null;
public void jspInit() {
resource = ResourceBundle.getBundle("resources");
%>
The resources.properties is the file to have the name value pair, which is
easy to get a list of something.
Can I still use properties file in my JSP in weblogic? where should I put
properties? is it weblogic\myserver\under public_html ?
Thank you for any help.
li
Can I still use properties file in my JSP in weblogic? where should I put
> > properties? is it weblogic\myserver\under public_html ?
>
> yes, put the properties file in your java classpath.
I mean to say, put properties file in a directory, which is in Java class
path.
thanks,
-ramu
"Ramu" <[email protected]> wrote in message
news:3a6623c0$[email protected]..
> "li" <[email protected]> wrote in message
> news:3a661a8c$[email protected]..
> > In JSP file, sometimes, we use the following code in the jspInit()
> > <%!
> > ResourceBundle resouce =null;
> > public void jspInit() {
> > resource = ResourceBundle.getBundle("resources");
> > }
> > %>
> > The resources.properties is the file to have the name value pair, which
is
> > easy to get a list of something.
> >
> > Can I still use properties file in my JSP in weblogic? where should I
put
> > properties? is it weblogic\myserver\under public_html ?
>
> yes, put the properties file in your java classpath.
>
> -ramu
>
>
>
> >
> >
> > Thank you for any help.
> >
> > li
> >
> >
> >
> >
>
>
-
Does Weblogic Express support JSPs
Does Weblogic Express support JSPs?
Yep!!
Kumar
Bryan Boyer wrote:
>
> Does Weblogic Express support JSPs?
-
ITS BACK! weblogic.developer.interest.jsp
Note:
Depending on your news reader you may have problems subscribing to
weblogic.developer.interest.jsp
due to caching issues.
I use Netscape 4.5. Here is what I did.
First I tried to subscribe (you have to refresh the list), however I could
see not messages.
So I unsubscribed.
Shutdown Netscape.
Manually deleted cache files
pushd "c:\Program Files\Netscape\Users\default\cache"
del /q *.*
cd ..
rm netscape.hst
Restarted Netscape.
Re-subscribed and I could then retrieve messages.
Cheers
Mark G
Mark Griffith wrote:
> Mea Culpa for the removal previously.
> Sorry for the confusion. :)
>
> Back by popular demand.
> In favor of more choices not less.
>
> We are happy to reinstantiate weblogic.developer.interest.jsp.
>
> All the "old" messages will stay on weblogic.developer.interest.servlet
>
> Cheers
> Mark G
>
> --
> =====================================================
> Reply to the newsgroup. Don't reply to this mail
> alias. This is used only for answering posts on
> WebLogic Newsgroups.
> =====================================================
=====================================================
Reply to the newsgroup. Don't reply to this mail
alias. This is used only for answering posts on
WebLogic Newsgroups.
=====================================================
-
Upgrading Weblogic 8.1, SP2 to Weblogic 8.1, SP6
wanna to the code changes that are required in web application while upgrading Weblogic 8.1, SP2 to Weblogic 8.1, SP6.
I am currently conducting the same type of upgrade. We have Platform 8.1 SP2 installed. We would like to upgrade to SP3, but I was not sure if any patches were required before the upgrade. After several dicussions with BEA Technical Support, here is what I learned.
To upgrade 8.1 SP2 to SP3, you must first install the following patch...
http://dev2dev.bea.com/products/wlplatform81/patch/wlplat81sp2_patch.jsp
...then use SmartUpdate to upgrade the SP3.
If you choose to fully install 8.1 SP3, then you do not need to install the patch because 8.1 SP3 includes the pacthes. Installing the patches would make no difference anyway since the SP2 installation would be deleted to make room for the SP3 installation. This option is not an upgrade, it is a full installation.
Hope it helps!
Raffi -
Migrate source from weblogic 8.1.5 to weblogic 9.2
Hi,
I have to migrate an application running on weblogic 8.1.5 to weblogic 9.2
I have read multiple documents on how to upgrade the domain with wizard and with the database.
But i dont know how to convert the .jpf pageflows to .java pageflows.
Can anybody point to what wizard/tool i have to useOpen the workshot, create any workspace.
then go to import->Other->Select workshop 8.1 application. This will upgrade your code and import you 8.1 app in to 9.2 app.
Make sure that all page flow JSPs has been upgraded correctly. There should not be any and BEA taglib used for netui tags. They are all changed to Beehieves.
If you still see that JSPs are using bea tag libs, then select the project, right click on it and select upgrade.
I hope this helps.
Maybe you are looking for
-
------Load Dataset into Temp table--------------- SELECT z.SYSTEMNAME --,Case when ZXC.[Subsystem Name] <> 'NULL' Then zxc.[SubSystem Name] --else NULL --End AS SubSystemName , CASE WHEN z.PROV_TAX_ID IN (SELECT DISTINCT zxc.TIN FROM dbo.SQS_Provider
-
Retrive Business Partners related to the filters of an Attribute set
Hi SAP Gurus, I hv a requirement to get Business Partners related to the filters of an Attribute set. I hv used a FM 'CRM_MKTTG_SAL_SEARCH_DB' to get the GUID of the attribute list. If the GUID is passed to another FM 'CRM_MKTTG_SAL_READ' we can get
-
Okay, so we are running into a little problem on my program. I will do my best to explain how it is all put together without being too confusing. We are designing a WebService for WLS 9.2 that will be used to start JPDs on WLI. These JPDs will be mod
-
Instrument Control HP 5062A Via GPIB
Hi , Im having problem with markers , when i set it on signal , its ok , but when i query the Yaxis of markers , a query interrupt the other . I tried delay with serveral values , but didnt work . PS : When i read only 1 mark , its work , bu
-
Could scenario 161 of SAP best practice help to generate aut. posting?
Dear All, We need to generate automatic postings for Sales costs, admin costs in FI. This sums we have on our cost centers groups accordingly. Could scenario 161 of SAP best practice help us? Best regards, Kamila