TagExtraInfo example in weblogic 5.1 doesn't work!!!!!
Hi
i was trying example given in weblogic 5.1 i.e. session list. that uses tagextrainfo
class to set the attributes in JSP. but it doesn't work.
Please respond to this error.
i am attaching error docs error.txt
On Browser
Compilation of 'E:\weblogic\myserver\classfiles\jsp_servlet\_sessionlist.java'
failed:
E:\weblogic\myserver\classfiles\jsp_servlet\_sessionlist.java:93: cannot resolve
symbol
probably occurred due to an error in /SessionList.jsp line 49:
<td><%= name %></td>
E:\weblogic\myserver\classfiles\jsp_servlet\_sessionlist.java:95: cannot resolve
symbol
probably occurred due to an error in /SessionList.jsp line 50:
<td><%= value %></td>
E:\weblogic\myserver\classfiles\jsp_servlet\_sessionlist.java:99: cannot resolve
symbol
probably occurred due to an error in /SessionList.jsp line 51:
<td><a href="<%=request.getRequestURI()%>?action=delete&delName=<%=name%>">
On Server Console
Mon Oct 08 18:26:06 GMT+05:30 2001:<I> <ServletContext-General> looking for taglib
uri session.tld a
s resource /WEB-INF/session.tld in Web Application root:
Mon Oct 08 18:26:10 GMT+05:30 2001:<I> <ServletContext-General> Generated java
file: E:\weblogic\mys
erver\classfiles\jsp_servlet\_sessionlist.java
Mon Oct 08 18:26:29 GMT+05:30 2001:<E> <ServletContext-General> Compilation of
E:\weblogic\myserver\
classfiles\jsp_servlet\_sessionlist.java failed:
E:\weblogic\myserver\classfiles\jsp_servlet\_sessionlist.java:93: cannot resolve
symbol
symbol : variable name
location: class jsp_servlet._sessionlist
out.print(weblogic.utils.StringUtils.valueOf( name )); //[ /SessionList.jsp;
Line: 49]
^
E:\weblogic\myserver\classfiles\jsp_servlet\_sessionlist.java:95: cannot resolve
symbol
symbol : variable value
location: class jsp_servlet._sessionlist
out.print(weblogic.utils.StringUtils.valueOf( value )); //[ /SessionList.jsp;
Line: 50]
^
E:\weblogic\myserver\classfiles\jsp_servlet\_sessionlist.java:99: cannot resolve
symbol
symbol : variable name
location: class jsp_servlet._sessionlist
out.print(weblogic.utils.StringUtils.valueOf(name)); //[ /SessionList.jsp;
Line: 51]
^
3 errors
java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[d:/jdk1.3/bin/javac.exe,
-c
lasspath, d:\jdk1.3\jre\lib\rt.jar;d:\jdk1.3\jre\lib\i18n.jar;d:\jdk1.3\jre\lib\sunrsasign.jar;d:\jd
k1.3\jre\classes;.\lib\weblogic510sp10boot.jar;.\classes\boot;.\eval\cloudscape\lib\cloudscape.jar;d
:\jdk1.3\lib\tools.jar;;.\license;.\lib\weblogic510sp10.jar;.\classes;.\lib\weblogicaux.jar;.\myserv
er\serverclasses;E:\weblogic\myserver\servletclasses;E:\weblogic\myserver\public_html;E:\weblogic\my
server\classfiles;null, -d, E:\weblogic\myserver\classfiles, E:\weblogic\myserver\classfiles\jsp_ser
vlet\_sessionlist.java])
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:459)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:249)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:366)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:115)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:138)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:922)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:886)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:
269)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
Mon Oct 08 18:26:31 GMT+05:30 2001:<E> <ServletContext-General> Servlet failed
with Exception
java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[d:/jdk1.3/bin/javac.exe,
-c
lasspath, d:\jdk1.3\jre\lib\rt.jar;d:\jdk1.3\jre\lib\i18n.jar;d:\jdk1.3\jre\lib\sunrsasign.jar;d:\jd
k1.3\jre\classes;.\lib\weblogic510sp10boot.jar;.\classes\boot;.\eval\cloudscape\lib\cloudscape.jar;d
:\jdk1.3\lib\tools.jar;;.\license;.\lib\weblogic510sp10.jar;.\classes;.\lib\weblogicaux.jar;.\myserv
er\serverclasses;E:\weblogic\myserver\servletclasses;E:\weblogic\myserver\public_html;E:\weblogic\my
server\classfiles;null, -d, E:\weblogic\myserver\classfiles, E:\weblogic\myserver\classfiles\jsp_ser
vlet\_sessionlist.java])
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:459)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:249)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:366)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:115)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:138)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:922)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:886)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:
269)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
waitng for answer.
Regards
Abhi
</a>
Hi
i was trying example given in weblogic 5.1 i.e. session list. that uses tagextrainfo
class to set the attributes in JSP. but it doesn't work.
Please respond to this error.
i am attaching error docs error.txt
On Browser
Compilation of 'E:\weblogic\myserver\classfiles\jsp_servlet\_sessionlist.java'
failed:
E:\weblogic\myserver\classfiles\jsp_servlet\_sessionlist.java:93: cannot resolve
symbol
probably occurred due to an error in /SessionList.jsp line 49:
<td><%= name %></td>
E:\weblogic\myserver\classfiles\jsp_servlet\_sessionlist.java:95: cannot resolve
symbol
probably occurred due to an error in /SessionList.jsp line 50:
<td><%= value %></td>
E:\weblogic\myserver\classfiles\jsp_servlet\_sessionlist.java:99: cannot resolve
symbol
probably occurred due to an error in /SessionList.jsp line 51:
<td><a href="<%=request.getRequestURI()%>?action=delete&delName=<%=name%>">
On Server Console
Mon Oct 08 18:26:06 GMT+05:30 2001:<I> <ServletContext-General> looking for taglib
uri session.tld a
s resource /WEB-INF/session.tld in Web Application root:
Mon Oct 08 18:26:10 GMT+05:30 2001:<I> <ServletContext-General> Generated java
file: E:\weblogic\mys
erver\classfiles\jsp_servlet\_sessionlist.java
Mon Oct 08 18:26:29 GMT+05:30 2001:<E> <ServletContext-General> Compilation of
E:\weblogic\myserver\
classfiles\jsp_servlet\_sessionlist.java failed:
E:\weblogic\myserver\classfiles\jsp_servlet\_sessionlist.java:93: cannot resolve
symbol
symbol : variable name
location: class jsp_servlet._sessionlist
out.print(weblogic.utils.StringUtils.valueOf( name )); //[ /SessionList.jsp;
Line: 49]
^
E:\weblogic\myserver\classfiles\jsp_servlet\_sessionlist.java:95: cannot resolve
symbol
symbol : variable value
location: class jsp_servlet._sessionlist
out.print(weblogic.utils.StringUtils.valueOf( value )); //[ /SessionList.jsp;
Line: 50]
^
E:\weblogic\myserver\classfiles\jsp_servlet\_sessionlist.java:99: cannot resolve
symbol
symbol : variable name
location: class jsp_servlet._sessionlist
out.print(weblogic.utils.StringUtils.valueOf(name)); //[ /SessionList.jsp;
Line: 51]
^
3 errors
java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[d:/jdk1.3/bin/javac.exe,
-c
lasspath, d:\jdk1.3\jre\lib\rt.jar;d:\jdk1.3\jre\lib\i18n.jar;d:\jdk1.3\jre\lib\sunrsasign.jar;d:\jd
k1.3\jre\classes;.\lib\weblogic510sp10boot.jar;.\classes\boot;.\eval\cloudscape\lib\cloudscape.jar;d
:\jdk1.3\lib\tools.jar;;.\license;.\lib\weblogic510sp10.jar;.\classes;.\lib\weblogicaux.jar;.\myserv
er\serverclasses;E:\weblogic\myserver\servletclasses;E:\weblogic\myserver\public_html;E:\weblogic\my
server\classfiles;null, -d, E:\weblogic\myserver\classfiles, E:\weblogic\myserver\classfiles\jsp_ser
vlet\_sessionlist.java])
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:459)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:249)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:366)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:115)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:138)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:922)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:886)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:
269)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
Mon Oct 08 18:26:31 GMT+05:30 2001:<E> <ServletContext-General> Servlet failed
with Exception
java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[d:/jdk1.3/bin/javac.exe,
-c
lasspath, d:\jdk1.3\jre\lib\rt.jar;d:\jdk1.3\jre\lib\i18n.jar;d:\jdk1.3\jre\lib\sunrsasign.jar;d:\jd
k1.3\jre\classes;.\lib\weblogic510sp10boot.jar;.\classes\boot;.\eval\cloudscape\lib\cloudscape.jar;d
:\jdk1.3\lib\tools.jar;;.\license;.\lib\weblogic510sp10.jar;.\classes;.\lib\weblogicaux.jar;.\myserv
er\serverclasses;E:\weblogic\myserver\servletclasses;E:\weblogic\myserver\public_html;E:\weblogic\my
server\classfiles;null, -d, E:\weblogic\myserver\classfiles, E:\weblogic\myserver\classfiles\jsp_ser
vlet\_sessionlist.java])
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:459)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:249)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:366)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:115)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:138)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:922)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:886)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:
269)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
waitng for answer.
Regards
Abhi
</a>
Similar Messages
-
WebLogic 8.1 doesn't work on SunOS 5.8
Hello,
I install WebLogic 8.1 on SunOS 5.8, start it.
Looks like it doesn't work.
It doesn't accept requests, doesn't create log file on startup.
Just running as process.
Do you have any suggestions?
We are BEA castomers and going to migrate from version 6.1 to 8.1.
Thanks.
Oleg.Hello Wayne,
1) As test, to see if first instance really listening on that port.
I run same version of WL8 on same machine on same port
Usually second instance can't start.
But now second instance runs without complains.
It means that port is free and first instance doesn't listening any port.
After startup, first and second instances display same message:
'started as the administration server (without port number).
2)
$ java -version
java version "1.2.2"
Before startup, I set
JAVA_HOME="/export/home/bea/jdk141_02".
3)
echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
4)
WL output after startup:
$ ./startWebLogic.sh
CLASSPATH=/export/home/bea/jdk141_02/lib/tools.jar:/export/home/bea/weblogic81/server/lib/weblogic_sp.jar:/export/home/bea/weblogic81/server/lib/weblogic.jar:/export/home/bea/weblogic81/server/lib/ojdbc14.jar::/export/home/bea/weblogic81/common/eval/pointbase/lib/pbserver44.jar:/export/home/bea/weblogic81/common/eval/pointbase/lib/pbclient44.jar:/export/home/bea/jdk141_02/jre/lib/rt.jar:/export/home/bea/weblogic81/server/lib/webservices.jar:
PATH=/export/home/bea/weblogic81/server/bin:/export/home/bea/jdk141_02/jre/bin:/export/home/bea/jdk141_02/bin:/export/home/bea/weblogic81/server/bin:/export/home/bea/jdk141_02/jre/bin:/export/home/bea/jdk141_02/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
ServerName=admin
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://<hostname>:<port>/console *
<May 22, 2003 11:15:31 AM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting
WebLogic Server with Java HotSpot(TM) Client VM Version 1.4.1_02-ea-b01 from Sun
Microsystems Inc.>
<May 22, 2003 11:15:31 AM EDT> <Info> <Configuration Management> <BEA-150016>
<This server is being started as the administration server.>
<May 22, 2003 11:15:31 AM EDT> <Info> <Management> <BEA-141107> <Version: WebLogic
Server 8.1 Thu Mar 20 23:06:05 PST 2003 246620
WebLogic XMLX Module 8.1 Thu Mar 20 23:06:05 PST 2003 246620 >
4)
startup script:
# set up WL_HOME, the root directory of your WebLogic installation
WL_HOME="/export/home/bea/weblogic81"
# Set JAVA_HOME to java virtual machine you want to run on server side.
JAVA_HOME="/export/home/bea/jdk141_02"
# set up common environment
. "${WL_HOME}/common/bin/commEnv.sh"
./setEnv.sh
# Set Production Mode. When this is set to true, the server starts up in
# production mode. When set to false, the server starts up in development
# mode. If it is not set, it will default to false.
PRODUCTION_MODE=""
# Set JAVA_VENDOR to java virtual machine you want to run on server side.
JAVA_VENDOR="Sun"
set USE_CURRENT_JAVA_HOME "$@"
. "${WL_HOME}/common/bin/commEnv.sh"
shift 1
# Set SERVER_NAME to the name of the server you wish to start up.
SERVER_NAME=admin
# Set WLS_USER equal to your system username and WLS_PW equal
# to your system password for no username and password prompt
# during server startup. Both are required to bypass the startup
# prompt.
WLS_USER=
WLS_PW=
# Set JAVA_VM to java virtual machine you want to run on server side.
# JAVA_VM=""
# Set JAVA_OPTIONS to the java flags you want to pass to the vm. If there
# are more than one, include quotes around them. For instance:
# JAVA_OPTIONS="-Dweblogic.attribute=value -Djava.attribute=value"
# Reset number of open file descriptors in the current process
# This function is defined in commEnv.sh
resetFd
# Start WebLogic server
CLASSPATH="${WEBLOGIC_CLASSPATH}${CLASSPATHSEP}${POINTBASE_CLASSPATH}${CLASSPATHSEP}${JAVA_HOME}/jre/lib/rt.jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.jar${CLASSPATHSEP}${CLASSPATH}"
export CLASSPATH
# Start WebLogic server
echo CLASSPATH="${CLASSPATH}"
echo
echo PATH="${PATH}"
echo
echo ServerName="${SERVER_NAME}"
echo
echo "***************************************************"
echo "* To start WebLogic Server, use a username and *"
echo "* password assigned to an admin-level user. For *"
echo "* server administration, use the WebLogic Server *"
echo "* console at http://<hostname>:<port>/console *"
echo "***************************************************"
"$JAVA_HOME/bin/java" ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME}
-Dweblogic.management.username=${WLS_USER} -Dweblogic.management.password=${WLS_PW}
-Dweblogic.ProductionModeEnabled=${PRODUCTION_MODE} -Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy"
weblogic.Server
5)
config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Domain
Name="MyDomain"
ConfigurationVersion="8.1.0.0"
>
<Server
Name="admin"
ListenPort="7001"
ConsoleInputEnabled="false"
JavaCompiler="javac"
SocketReaderTimeoutMaxMillis="10"
>
<SSL
Name="admin"
ListenPort="7002"
Enabled="true"
/>
</Server></Domain>
Thank you,
Oleg.
"Wayne W. Scott" <[email protected]> wrote:
Oleg:
I have your installation log file. Please send the weblogic start script
you run.
I run another instance of WL on same port and it runs without complains.
Usually second instance stops with "Requested shutdown ..." if startedon busy
port.Are you running 2 instances at the same time on the same port? What version
of WLS?
I asked you on 5/16/2003 to show me ...
===============
What do you get from the following commands:
$ java -version
$ which java
===============
I have not seen that. I will not do any more on this without that data.
I also want to see output from
$ echo $PATH
Thanks,
Wayne
Oleg wrote:
I installed WL using SSH (PutTY tool) - as only way to communicatewith Unix.
I am using only console mode. No any X-Windows emulators.
I followed to all console instructions and WL was installed successful.
I run examples, it runs, but doesn't receive request.
It echoes right PATH and CLASSPATH.
I don't see any message about reading config.xml, as usually was done.
I run another instance of WL on same port and it runs without complains.
Usually second instance stops with "Requested shutdown ..." if startedon busy
port.
Looks like WL doesn't read or can't find config.xml and doesn't throwexceptions.
Thank you.
Oleg. -
IWeb "open new page in browser" doesn't work?
On websites I have created in iWeb, the hyperlinks to a web page will not open in a new window even though I have checked that setting in the Inspector. Previously when creating websites with html I would simply add the "blank target" code but in iWeb there is no way to edit html directly. I have tried this with Safari and with Firefox, it doesn't work!
Message was edited by: Ironic BlissThanks for those helpful suggestions, though I have batted around different ways of trying to get iWeb to register the "open in new window" when checked, to no avail so far, and it doesn't work with any link, whether in text or combined with an image. Taking all these points:
I have now managed to open the html using TextWrangler but I must admit it is a little beyond me to even find the string of code in question as iWeb uses so many files. It would be better if I could just get iWeb to do the work for me as it's meant to.
Strangely, when I open the website in iWeb the first time, all the pages to the left are marked in red before I've done anything! So I cannot use that as a simple check to see if a change has been made. Also I have already tried making other changes after checking the "open in new window" box before saving.
I always publish to a folder on my HD, as I am uploading to a server that is not me.com or mac.com. (Could that be the trouble? iWeb seems to generally be very unfriendly to publishing on other servers than Apple and I have had to jump through a lot of hoops with various things.)
Could it be the weird folder hierarchy created by iWeb, where there is an index.html page outside of the main folder where all the stuff is kept? So far, I have just uploaded it to the server "as is", so the contents of the main folder (which has another index.html rather strangely placed outside it) are not at the root level on the server. The folder containing them is at the root level and so is the "external" index.html. Would it work if I uploaded only the contents of the folder to the root directory on the server, and not in the folder that iWeb creates or with its "dummy" index.html outside it?
(I think in the past this has caused trouble with Google search sitemaps, and is the reason why in the end I uploaded the whole thing and not just the contents of the main folder.)
So to be clear (not that easy here), the files on the server are:
Directory > index.html plus the folder containing all the website files. So the actual website files are at a second level in a folder, not at the root level.
The easiest example where the blank target doesn't work is on the home page of one of my websites. Scroll down and there is an image of a book which has a link to a bookstore. This should open a new page in the browser, but never does. (Annoyingly, in FireFox it even kills the back button, Safari works slightly better in that respect.)
http://www.ordoastri.org/OA/Ordo_Astri.html -
Page naviagation doesn't work after deploy ADF application to Weblogic
After deploy my ADF application (ear) to Weblogic Server, the page navigation doesn't work. When running the ear on weblogic, I got following warnings:
<2010-11-5 下午05时06分01秒 CST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application HwtOrder is not versioned.>
<2010-11-5 下午05时06分38秒 CST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DHwtOrder%2CType%3DAppDeployment%22%29.>
<2010-11-5 下午05时07分33秒 CST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=DiagnosticsViewDomainLogTablePage&DiagnosticsViewDomainLogTablePortlethandle=com.bea.console.handles.LogDispatchHandle%28%22DefaultServer%3BDomainLog%22%29.>
I can run the application correctly in jdeveloper 11g environment. I think there is something wrong with deployment. Can anyone help me?When you target url with .jspx, you are running the page itself, not in the task flow context, so navigation doesn't work.
In the task flow, your page has 'Activity ID' (which is, for example, 'mainPage' for mainPage.jspx) and the navigation is defined for activity IDs, not pages.
Pedja -
Parsing in Weblogic/jsp doesn't work; application-mode (command-line) works
Hello-
Parsing my XML file in Weblogic/jsp doesn't work, whereas it works
in application-mode... (albeit on two different machines)
Here are the parameters:
server1:
weblogic 6.0
win2k server
jre1.3
my personal machine:
***no weblogic***
win2k server
jre1.3
When I run my code as an application (command-line style) on my machine,
parsing in my xml file works fine, and I can do a root.toString() and it
dumps out the entire xml file, as desired.
However, running my code inside weblogic (on server1) in JSP, parsing in
my file and doing a root.toString() results in the following: [dmui: null]
(where dmui is my root)
(even though i'm running it on two different machines, i'm positive its the
same code (the servers share a mapped drive)...
So, I think its probably because I'm using a different parser, as
specified by weblogic? There are no exceptions being thrown. Here's my
(abbreviated) code, which is called either command line style or in a JSP:
// Imports
import org.w3c.dom.*;
import org.w3c.dom.Document;
import javax.xml.parsers.*;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
DocumentBuilderFactory docBuilderFactory =
DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
mDocument = docBuilder.parse (inFile);
myRoot.toString()
-END
Doing a System.getProperty("javax.xml.parsers.DocumentBuilderFactory")
results in:
server1 (weblogic/jsp):
"weblogic.apache.xerces.jaxp.DocumentBuilderFactoryImpl"
my machine (application-mode):
null
Does anyone have any ideas about how to get this work? Do I try to set it
up so that they both use the same parser? Do I change the Weblogic parser?
If so, to what? And how?
Am I even close?
Any help would be appreciated..
Thanks, Clint
"[email protected]" <[email protected]> wrote in message
news:[email protected]...
No problem, glad you got it worked out :)
~Ryan U.
Jennifer wrote in message <[email protected]>...
I completely missed setting the property(:-o), foolish mistake. That wasit. Thanks.
"j.upton" <[email protected]> wrote:
Jennifer,
Personally I would get rid of import com.sun.xml.parser.* and use xerces
which comes with WLS 6.0 now, unless like I said earlier you have a need
to
use the sun parser :) Try something like this with your code --I've put
things to watch for as comments in the code.
import javax.xml.parsers.*;
import org.xml.sax.SAXException;
import org.w3c.dom.*;
import java.io.FileInputStream;
public class BasicDOM {
public BasicDOM (String xmlFile) {
try{
FileInputStream inStream;
Document document;
/*You must specify a parser for jaxp. You can in a simple view
think
of this as being analogous to a driver used by JDBC or JNDI. If you are
using this in the context of a servlet or JSP and have set an XML
registry
with the console this happens automatically. You can also invoke it in
the
context of an application on the command line using the -D switch. */
System.setProperty("javax.xml.parsers.DocumentBuilderFactory",
>>>
"weblogic.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
// create a document factory
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
// specify validating or non-validating parser
dbf.setValidating(true);
// obtain a factory
DocumentBuilder db = dbf.newDocumentBuilder();
// create a document from the factory
inStream = new FileInputStream(xmlFile);
document = db.parse(inStream);
}//try
catch (Exception e)
System.out.println("Unexpected exception reading document!"
+e);
System.exit (0);
}//catch
}//BasicDom
// Main Method
public static void main (String[] args) {
if (args.length < 1)
System.exit(1); file://or you can be more verbose
new BasicDOM(args[0]);
}//class
=============================================
That will give you a basic DOM you can manipulate and parse it fromthere.
BTW this code
compiled and ran on WLS 6.0 under Windows 2000.
Let me know if this helped or you still are having trouble.
~Ryan U.
"Jennifer" <[email protected]> wrote in message
news:[email protected]...
Actually I included com.sun.xml.parser.* as one last febble attempt toget
it working.
And as for source code, I included the code. If I just put that oneline
of code
in, including the imports, it fails giving me an error listed above inthe
subject
line. Here is the code again:
package examples.xml.http;
import javax.xml.parsers.*;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
import org.w3c.dom.*;
import java.util.*;
import java.net.*;
import org.xml.sax.*;
import java.io.*;
public class BasicDOM {
static Document document;
public BasicDOM (String xmlFile) {
try {
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
} catch (FactoryConfigurationError e){
System.err.println(e.getException());
e.printStackTrace();
// Main Method
public static void main (String[] args) {
BasicDOM basicDOM = new BasicDOM (args[0]);Hi, Rob
Does it work in WL9.2?
It seems I do it exactly as the explained at http://edocs.bea.com/wls/docs81/programming/classloading.html - and it fails :o(.
I try to run my app.ear with WL9.2 There are 2 components in it: webapp and mdb. The webapp/WEB-INF contains weblogic.xml:
<weblogic-web-app>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
Mdb is expected to run in the same mode, i.e. to prefer the webapp/WEB-INF/*.jar over the parent Weblogic classloader. To do so I add the weblogic-application.xml to the app.ear!/META-INF:
<weblogic-application>
<classloader-structure>
<module-ref>
<!-- reminder: this webapp contains
prefer-web-inf-classes -->
<module-uri>webapp</module-uri>
</module-ref>
<classloader-structure>
<module-ref>
<module-uri>mdb.jar</module-uri>
</module-ref>
</classloader-structure>
</classloader-structure>
</weblogic-application>
Now, when classloader-structure specified, both webabb and mdb prefer the weblogic root loader as if prefer-web-inf-classes not defined at all. -
I just downlouded the latest version of the Muse CC and it doesn't work well, it freezes all the time, in particular with the tools. Example the selection tool doesn't wor at all. Is there any solution for this problem?
Hi!
I restarted the computer, but the same issue happens again. When I move my mouse over some object or tool, it doesn’t come active at all (only some of the tools works) When I try to change “site properties”, I can’t choose tablet or phone mode or even I can’t select the checkboxes, only thing what I can do is change the numbers (high and width) . After all the main problem is that I can’t select some of the items or functions by mouse, but only by the keyboard. -
Hi everyone, how must I configurate weblogic server with jdeveloper 11.1.1.2.0 on Windows 7 x86 ?
I installed jdeveloper 11.1.1.2.0 with weblogic server 10.3.2 that comes in jdevstudio 11.1.1.2.0.
JDeveloper works but when I am going to test any web application weblogic doesn´t work and the
service never starts up.
I have the next message:
the system cannnot found the specified path
Process Exited
I have to set up any environment varialbes or I need any plugging.Hi,
is there any more information than this ? Which path is it that the system cannot find ? Can you try installing JDeveloper into a directory that does not contain blanks ?
Frank -
Hi,
We have WL 6 running on NT 4, and the server installed as a NT service.
We have some servlets sitting in the DefaultWebApp directory, but when we
start the WebLogic NT service we get an ERROR 400:
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 400 Bad Request
The request could not be understood by the server due to malformed syntax.
The client SHOULD NOT repeat the request without modifications.
The log states that the default context did not load properly. Maybe about
10% of the time, everything works fine
and we can access our servlets. When the error happens, we can't even
access the console, it still gives the same error 400. Interestingly, when
I start weblogic through DOS, it works 100% of the time with no error 400!
I installed SP1 and I still get the same behavior. I tried resetting the
config.xml....but sometimes I get the reverse behavior..where the service
works all the time and the DOS method doesn't work. Could there be
something with the servlets (they're pretty straight)? Some other parameter
or setting that I'm missing? Or is this just a bug?
Thanks for any help,
VenThis is a known bug in the Windows native convenience programs.
If you start the server with the startWebLogic.cmd script or
from your own Java command line you'll get farther.
WebLogic Server 5.1.0 isn't certified yet on the 1.3 JDK because
1.3 had not been released in production form at the time of
the WebLogic Server 5.1.0 release. Our experience is that it
works well enough to do development work. Certification (and
support for deployment) is targeted for an upcoming service pack.
Chuck Karish
Tsung-Wen Tsai wrote:
>
Does WLS 5.1 works with jdk or jre 1.3?
I looked at jdk and jre 1.3 directory and I can't find javai.dll file,
although javai DO come with jdk 1.1.6.
I got this error when starting WLS. I changed the JAVA_HOME through
wlconfig.
-Tsung
=============================
c:\weblogic>bin\wlserver
Java dll not found. Bad value for JAVA_HOME.
The system cannot find the path specified.
Java dll not found. Bad value for JAVA_HOME.
The system cannot find the path specified.
loadIt: Java DLL not found.
The Windows registry is misconfigured
for the WebLogic Server
JAVA dll not found: c:\progra~1\javasoft\jre\bin\javai.dll:
The Windows registry is misconfigured
for the WebLogic Server
Can't start WebLogic Server: (Can't start Java VM) err=0x2000001--
Chuck Karish BEA Systems
[email protected] San Francisco, CA
(415) 317-0182 (cell) (415) 364-4692 -
Java.lang.StackOverflowError Running BASIC JSF 2 example on Weblogic 12c
*I followed the very basic tutorial found here example and cannot seem to get past the following error:*
Error 500--Internal Server Error
java.lang.StackOverflowError
at weblogic.servlet.internal.ServletResponseImpl.addHeader(ServletResponseImpl.java:567)
at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200)
at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200)
at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200)
at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200)
Pressing shift + F5 a couple times I can generate a slightly different stacktrace as follows:
Error 500--Internal Server Error
java.lang.StackOverflowError
at com.sun.faces.application.ViewHandlerResponseWrapper.setStatus(ViewHandlerResponseWrapper.java:88)
at javax.servlet.http.HttpServletResponseWrapper.setStatus(HttpServletResponseWrapper.java:224)
at com.sun.faces.application.ViewHandlerResponseWrapper.setStatus(ViewHandlerResponseWrapper.java:88)
at javax.servlet.http.HttpServletResponseWrapper.setStatus(HttpServletResponseWrapper.java:224)
Here is my web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<display-name>JavaServerFaces</display-name>
<!-- JSF mapping -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Map these files with JSF -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.xhtml</url-pattern>
</servlet-mapping>
</web-app>
Here is the pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>JavaServerFaces</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>JavaServerFaces Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.1.7</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>2.1.7</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.1</version>
</dependency>
</dependencies>
<build>
<finalName>JavaServerFaces</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
I have exhausted several hours searching the web and constructing new projects with no luck. I understand that the StackOverflowError is produced from bad recursion calls and infinite loops, however I can't see this as the case here.
My current dev stack is eclipse juno (oepe-12.1.1.2.1-juno-distro-win32-x86_64.zip), m2e-wtp, weblogic 12c, Java EE 6 using JSF 2.1
*If I export the war file using eclipse (Right click the project -> Export -> WAR file) then manually deploy it via the weblogic admin counsel the app works as expected. As soon as I add the project to the server inside eclipse and start the server I can no longer view the page. I noticed that in the autogenerated_ear_ folder per my domain that each project project folder is actually empty.*
Any help would me MUCH appreciated!!
UPDATE - Solved the problem! After adding JSF 2.1 in the pom.xml the JSF 2.1 checkbox was checked in project facets, however it did not add the faces-config.xml to the project. I simple created a new xml file named faces-config.xml under the webapp folder and added the following xml:
<?xml version='1.0' encoding='UTF-8'?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd" version="2.1">
<application></application>
</faces-config>
I hope this helps others!
Edited by: 1006228 on May 15, 2013 8:21 PM
Edited by: 1006228 on May 16, 2013 6:39 PMHi.
Try this http://oracleradio.blogspot.com/2012/01/error-durante-el-deployment-de-un.html
It is in spanish, but the important part is that u may correct the issue, installing 11.1.1.5 with the Feature Pack.
It seems to be happening with processes that have loop formed with boundary event inside a gateway circuit.
Hope this helps.
best -
Weblogic Pool Driver doesn't support XA driver
I am trying to set up a JDBC Strore for a JMS Server. The JDBC Store uses the Oracle
XA driver (oracle.jdbc.xa.client.OracleXADataSource). However whaen the JMS server
starts it gives me the following exception: Weblogic Pool Driver doesn't support
XA driver. Any idea what I am doing wrong? I am using WL 8.1 SP2. THe full error
trace is shown below:
<Jan 15, 2004 3:05:09 PM EST> <Alert> <JMS> <BEA-040052> <JMSServer "jmsTestJmsServer1"
store failed to open java.io.IOException: JMS JDBC store, connection pool = <jmsTestJdbcConnectionPool>,
prefix = <JMS1>: cannot determine DBMS type
<java.sql.SQLException: Pool connect failed : java.lang.Exception: Weblogic Pool
Driver doesn't support XA driver, Please change your config to use a Non-XA driver
< at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:160)
< at weblogic.jdbc.pool.Driver.connect(Driver.java:156)
< at weblogic.jms.store.JDBCIOStream.checkDbmsType(JDBCIOStream.java:1490)
< at weblogic.jms.store.JDBCIOStream.open(JDBCIOStream.java:420)
< at weblogic.jms.store.JMSStore.open(JMSStore.java:224)
< at weblogic.jms.backend.BEStore.open(BEStore.java:262)
< at weblogic.jms.backend.BEStore.start(BEStore.java:151)
< at weblogic.jms.backend.BackEnd.openStores(BackEnd.java:1171)
< at weblogic.jms.backend.BackEnd.resume(BackEnd.java:1290)
< at weblogic.jms.JMSService.addJMSServer(JMSService.java:2241)
< at weblogic.jms.JMSService.addDeployment(JMSService.java:2012)
< at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:330)
< at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:590)
< at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:568)
< at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:240)
< at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
< at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
< at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
< at java.lang.reflect.Method.invoke(Method.java:324)
< at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
< at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
< at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:476)
< at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
< at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
< at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
< at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
< at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
< at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
< at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7271)
< at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1210)
< at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:362)
< at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
< at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
< at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
< at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
< at weblogic.Server.main(Server.java:32)
It appears that WebLogic 8.1 does not have the "user transactions enabled" flag
for a connection factory. I see references to this flag in earlier versions of
WebLogic. The closest thing in WL 8.1 seems to be the "XA Connection Factory Enabled"
flag.
Tom Barnes <[email protected]> wrote:
>Actually, all you normally need to check is "user transactions enabled".
>The XA versions of the javax.jms interfaces (which are generated
>via XA connection factories) are not required - except
>that I think that MDBs make a check for this.
>
>Naresh Bhatia wrote:
>> So I assume that the XA capability is enabled by checking the "XA Connection
>Factory
>> Enabled" checkbox for the JMS connection factory.
>>
>> Thanks.
>> Naresh
>>
>> Tom Barnes <[email protected]> wrote:
>>
>>>Just use a non-XA driver and non-XA pool for JMS JDBC stores.
>>>WL JMS' XA capability does not come from its JDBC driver.
>>>
>>>Naresh Bhatia wrote:
>>>
>>>
>>>>I am trying to set up a JDBC Strore for a JMS Server. The JDBC Store
>>>
>>>uses the Oracle
>>>
>>>>XA driver (oracle.jdbc.xa.client.OracleXADataSource). However whaen
>>>
>>>the JMS server
>>>
>>>>starts it gives me the following exception: Weblogic Pool Driver doesn't
>>>
>>>support
>>>
>>>>XA driver. Any idea what I am doing wrong? I am using WL 8.1 SP2.
>THe
>>>
>>>full error
>>>
>>>>trace is shown below:
>>>>
>>>><Jan 15, 2004 3:05:09 PM EST> <Alert> <JMS> <BEA-040052> <JMSServer
>>>
>>>"jmsTestJmsServer1"
>>>
>>>>store failed to open java.io.IOException: JMS JDBC store, connection
>>>
>>>pool = <jmsTestJdbcConnectionPool>,
>>>
>>>>prefix = <JMS1>: cannot determine DBMS type
>>>><java.sql.SQLException: Pool connect failed : java.lang.Exception:
>>>
>>>Weblogic Pool
>>>
>>>>Driver doesn't support XA driver, Please change your config to use
>>>
>>>a Non-XA driver
>>>
>>>>< at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:160)
>>>>< at weblogic.jdbc.pool.Driver.connect(Driver.java:156)
>>>>< at weblogic.jms.store.JDBCIOStream.checkDbmsType(JDBCIOStream.java:1490)
>>>>< at weblogic.jms.store.JDBCIOStream.open(JDBCIOStream.java:420)
>>>>< at weblogic.jms.store.JMSStore.open(JMSStore.java:224)
>>>>< at weblogic.jms.backend.BEStore.open(BEStore.java:262)
>>>>< at weblogic.jms.backend.BEStore.start(BEStore.java:151)
>>>>< at weblogic.jms.backend.BackEnd.openStores(BackEnd.java:1171)
>>>>< at weblogic.jms.backend.BackEnd.resume(BackEnd.java:1290)
>>>>< at weblogic.jms.JMSService.addJMSServer(JMSService.java:2241)
>>>>< at weblogic.jms.JMSService.addDeployment(JMSService.java:2012)
>>>>< at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:330)
>>>>< at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:590)
>>>>< at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:568)
>>>>< at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:240)
>>>>< at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>< at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>< at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>< at java.lang.reflect.Method.invoke(Method.java:324)
>>>>< at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
>>>>< at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
>>>>< at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:476)
>>>>< at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
>>>>< at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
>>>>< at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
>>>>< at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
>>>>< at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
>>>>< at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
>>>>< at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7271)
>>>>< at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1210)
>>>>< at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:362)
>>>>< at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
>>>>< at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
>>>>< at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
>>>>< at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
>>>>< at weblogic.Server.main(Server.java:32)
>>>>
>>>
>>
>
-
Cache doesn't work with Apace-WebLogic bridge
Hi.We noticed a problem with the download performance of our Java applet with Netscape. It's a tiny applet of 300K that takes only 2 seconds to load using IE, because it is already cached, and with Netscape it is always reloaded and the cache doesn't work.The applet is located on a WebLogic server, and we access it through an Apache server that redirects all requests to the WebLogic server. We noticed that when we access the WebLogic server directly, Netscape cache works fine. However when using the bridge, Netscape ignores the cache, while in IE the cache still works.The Apache server is installed on RedHat Linux 7.1. The bridge is a WebLogic module developed by BEA (the makers of WebLogic) that extends the Apache functionality and enables it to act as a proxy and leave the client (browser) totally unaware of the redirection. The requests are sent to the Apache server and the responses appear to be coming back from it as well.We need to understand why the cache doesn't work when using the bridge. Can you please tell us if you know of this problem or not, and if not -- point us in some direction to check for the problem.Thanks.
You have to modify the password manually in OEM's target.xml.
-
Oracle standard example doesn't work
Hi All,
I am surprsied to see that following standard example from Oracle doesn't work as expected. http://www.oracle.com/technology/products/integration/esb/files/stringtoxml.zip
Did any one face same error with it?
Regards,
VigniHi,
The xml string is not valid, you need to place the following part at the beginning of the string:
<?xml version="1.0" encoding="UTF-8"?>
So the first line needs to read:
String in = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<parameters xmlns=\"http://www.tcs.com/WSIF/insurance/IdentifyPolicy/1.0\">\n" +
You also must change the indexOf parts to >=0 instead of >0. the parseString method should be:
public static NodeList parseString1(String inputXML) throws XMLParseException,
SAXException,
IOException {
System.out.println(inputXML);
StringBuffer s4= new StringBuffer(inputXML);
int index = 0;
while(s4.indexOf(">") > 0 || s4.indexOf("<") >= 0){
index = s4.indexOf(">");
if (index>=0)
s4.replace(index,index+4,">");
index = s4.indexOf("<");
if (index >=0)
s4.replace(index,index+4,"<");
System.out.println(s4.toString());
DOMParser parser1 = new DOMParser();
ByteArrayInputStream Bis1 = new ByteArrayInputStream(s4.toString().getBytes());
parser1.parse(Bis1);
XMLDocument xd1= parser1.getDocument();
return (xd1.getChildNodes());
Regards,
Andre -
Why this example doesn't work ?
for example below:
html code:
<applet code=LunarPhasesRB.class width="200" height="200">
</applet>when i run it on IE , i get below result:
failed to loading java program.
why it doesn't work on IE ?
who can help me ?
thanks !thanks a lot!
left of web browser appear below info:
small application program LunarPhasesRB notinited
what does it mean ?
if i click "Click to activate and use this control".
another err:
failed to loading java program.
who can help me ? -
Hi!
RMI example from the "Getting Started Using Java RMI" (http://java.sun.com/j2se/1.5.0/docs/guide/rmi/hello/hello-world.html) doesn't work.
Everything compiles fine , but when starting server with a command:
java -classpath test example.hello.Server
it says (on Linux Fedora Core 2):
Server exception: java.lang.NullPointerException
java.lang.NullPointerException
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at example.hello.Server.main(Server.java:61)
On the Windows( XP SP2) it says:
Server exception: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: example.hello.Hello
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: example.hello.Hello
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at example.hello.Server.main(Server.java:61)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: example.hello.Hello
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassNotFoundException: example.hello.Hello
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at sun.rmi.server.LoaderHandler.loadProxyInterfaces(LoaderHandler.java:707)
at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:651)
at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:588)
at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628)
at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294)
at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:238)
at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1494)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
... 9 more
Is it possible to make it work somehow?
Thank you!
Dmitriy UlupovThere is quite enough data in the exception to figure this out, and the answer is 'none of the above'. Have a look at this:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: example.hello.Hello
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: example.hello.Hello
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall .java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)The basic problem is java.lang.ClassNotFoundException: example.hello.Hello
and it occurs remotely when executing Naming.bind, i.e. it happens in the Registry. In other words the Registry cannot find examples.hello.Hello. There are several solutions to this including modifying the Registry's classpath or using the RMI codebase feature. -
JClient query by example doesn't work in 10.1.2.
I've a JClient application I migrated from 9.0.4 to 10.1.2.
In the migrated app query by example doesn't work anymore in JTables.
Could someone help ?
Tks
TullioFrank, I got a testcase from Tullio. It's a 9.0.4 project uding JClient that is pre-ADF bindings.
I migrated his 9.0.4 project to 9.0.5.2 first.
In 9.0.5.2, I see already a change in behavior related to enter-query mode in the JTable, but the number of rows displayed looks correct.
Tullio, can you confirm if the problem you are seeing vis a vis enter query mode is that if you:
1. Click enter-query button
2. Click into a field like Ename and type SMITH but don't [Tab] out of that field yet
3. Click on the execute-query button
It behaves as if you've entered no criteria there.
If at step 2 above you clicked [Tab] to exit the field where you typed SMITH, then it works correctly.
Is this the enter-query-JTable-related problem you're seeing (that is, related to when you don't focus-out of the field?)
The "number-of-rows-displayed" issue you mention in this other thread (10.1.2 JClient binding Error. does reproduce with your testcase only in 10.1.2 (as well as also still having this 9.0.5.2 focus-related issue in enter query mode).
Maybe you are looking for
-
How to develop the Speach Recognition(Speach to Text) in Windows phone 8.
Dear Sir/Mam, Please give me help for develop the Speach Recognition(Speach to Text) in Windows phone 8. I completed Text to Speach in wp8 successfully, but i can't do Speach to Text in wp8. It throws one exception that "The text associated with this
-
How to display mouse coordinates???
I wanted to display my custom cursors x and y coordinates on my movie. It seems like it should only be a few lines of actionscript but I can't seem to figure it out. Has anyone done this. If so I would appreciate some help. Thx I am using Flash MX by
-
I am trying to register on windows azure using credit card and getting some problem.
Hi, I'm trying to register on the Windows azure and everything works fine until I get into the Payment Information (Step #3) screen. I'm trying to pay with my Master Card but I receive the following error message: We can't authorize the payment meth
-
Hi all, How can I incorporate Crystal Report XI in my JSP Project? I am using Netbeans IDE and Tomcat Server. Help me in this.... Thankx in adv. AE
-
Hi, I am a PHP Developer. What is the Importance and Role of PHP in SAP. Like, where actually they use PHP in SAP. What areas of PHP used in SAP. Where to find more info about this? Sugg me Thanks J