Unable to run simple empty jsp page with weblogic 10.3.6.0.
Dears,
I have a simple war with simple empty welcome jsp page, when i deploy my project on AdminServer domain, jsp displays correctly, but if i deploy it on other domain i got this exception :
java.lang.ClassCastException: org.apache.jasper.runtime.JspWriterImpl cannot be cast to weblogic.servlet.jsp.ByteWriter
at jsp_servlet.__index._jspService(__index.java:63)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:327)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
I'm using weblogic 10.3.6, any help will be appreciated.
regards.
dunnsoftinc wrote:
During the initial pass, I decided to leave this password null in both places, which is documented within the peopletools 8.53.00 installation guide. Maybe, it's time to further test. Thank you Nicolas.To be honest I've never tried to leave it blank in previous releases, thought that was mandatory (it was not prompted in psadmin menu as it is with PT8.53).
I don't have a PTools 8.53 instance in hands right now, but after a quick test over here on PT8.51, I have the same issue as yours.
Let me also remind you that there are two separate scenarios that may be received via the sign-on page:
1.) "The application server is down" status message without the "bea.jolt.ServiceException: TPESVCERR - server error while handling request" error.
2.) "The application server is down" status message including the "bea.jolt.ServiceException: TPESVCERR - server error while handling request" error.As I said earlier, you should get more clue in the webserver logfiles.
Nicolas.
Similar Messages
-
Unable to get the AppsLocalLogin.jsp page
Hi,
We are on oracle Db 11.2.0.2 and EBS : 11.5.10.2 on Solaris Sparc 64 Bit 5.10.
We have recently added a web node to an existing setup.
Although Apache services are up , but we are unable to get the AppsLocalLogin.jsp page.
Replacing the domain name and Ip in line 4 with HOSTNAME.DOMAIN_NAME/IPADDRESS
We have found the below error in the Jserv log :
[12/04/2012 20:09:38:868 IST] <info> ApacheJServ/1.1.2 is starting...
[12/04/2012 20:09:38:868 IST] <debug> using confFile /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties
[12/04/2012 20:09:39:016 IST] <info> Connection authentication enabled
[12/04/2012 20:09:39:045 IST] <info> Connection allowed from HOSTNAME.DOMAIN_NAME/IPADDRESS
[12/04/2012 20:09:39:045 IST] <info> Connection allowed from /127.0.0.1
[12/04/2012 20:09:39:046 IST] <debug> port 16000 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16001 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16002 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16003 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16004 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16005 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16006 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16007 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16008 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16009 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> try to start on port 16000
[12/04/2012 20:09:39:050 IST] <debug> try to start on port 16001
[12/04/2012 20:09:39:050 IST] <debug> cannot create socket on 16000
[12/04/2012 20:09:39:051 IST] <debug> cannot create socket on 16001
[12/04/2012 20:09:39:051 IST] <debug> try to start on port 16002
[12/04/2012 20:09:39:051 IST] <debug> cannot create socket on 16002
[12/04/2012 20:09:39:051 IST] <debug> try to start on port 16003
[12/04/2012 20:09:39:051 IST] <debug> cannot create socket on 16003
[12/04/2012 20:09:39:051 IST] <debug> try to start on port 16004
[12/04/2012 20:09:39:051 IST] <debug> cannot create socket on 16004
[12/04/2012 20:09:39:051 IST] <debug> try to start on port 16005
[12/04/2012 20:09:39:052 IST] <debug> cannot create socket on 16005
[12/04/2012 20:09:39:052 IST] <debug> try to start on port 16006
[12/04/2012 20:09:39:052 IST] <debug> cannot create socket on 16006
[12/04/2012 20:09:39:052 IST] <debug> try to start on port 16007
[12/04/2012 20:09:39:052 IST] <debug> cannot create socket on 16007
[12/04/2012 20:09:39:052 IST] <debug> try to start on port 16008
[12/04/2012 20:09:39:052 IST] <debug> cannot create socket on 16008
[12/04/2012 20:09:39:052 IST] <debug> try to start on port 16009
[12/04/2012 20:09:39:052 IST] <debug> cannot create socket on 16009
ApacheJServ/1.1.2: Failed to bind to port(s) specified in /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties. Please check /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties and jserv.conf file, and make sure number of JServ process specified in jserv.conf is less than number of ports specified in /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties. and the ports are not used by other processes.
[12/04/2012 20:09:39:053 IST] <critical> ApacheJServ/1.1.2: Failed to bind to port(s) specified in /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties. Please check /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties and jserv.conf file, and make sure number of JServ process specified in jserv.conf is less than number of ports specified in /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties. and the ports are not used by other processes.The IP of this web node is different from the IP mentioned in the log, at line 4.
Regards
KKHi;
ApacheJServ/1.1.2: Failed to bind to port(s) specified in /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties. Please check /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties and jserv.conf file, and make sure number of JServ process specified in jserv.conf is less than number of ports specified in /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties. and the ports are not used by other processes.Please check your port is avaliable or not also check related path
Regard
Helios -
How can I send email from an JSP page with HTML format either using jsp
hi,
I have an jsp page with online application form,after compleating the form if i select submit it will send all the compleated data to the mail id we mentioned in the form tag,for this i am using javascript,but instead of receiving the data in the format of strings,my client want to receive the data in the same format as he's filling in the jsp page(html format) through e-mail.any help would be appreciated.the fallowing is the code right now i am using for email application.
<code>
function send()
if(validatePersonalInfo(document.theform))
document.theform.submit()
location.href=location.reload()
function validatePersonalInfo(form)
var tmpStr ="";
if (form.Name.value == "") {
tmpStr = "Name";
document.all.dName.style.visibility="visible";
document.theform.Name.focus();
else{
document.all.dName.style.visibility="hidden";
if (form.SSN.value == "") {
tmpStr = tmpStr + ", Social Security Number";
document.all.dSSN.style.visibility="visible";
if(form.Name.value != "")
{document.theform.SSN.focus();}
else{
document.all.dSSN.style.visibility="hidden";
if (tmpStr == "") {
return true;
} else {
alert("Please Fill the Following Fields: " + tmpStr);
return false;
<FORM NAME="theform" METHOD="post"
ACTION="mailto:[email protected]?subject=Online Application Form for MinorityDealer." ENCTYPE="text/plain">
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="10" NOF="LY">
<TH>
<P>
<FONT SIZE="3" FACE="Arial,Helvetica,Univers,Zurich BT">Online�Application</font></TH><BR>
</TABLE>
<table width="718" border="1" cellspacing="0" cellpadding="3" bgcolor="#CCCCFF" align="center">
<tr>
<td colspan="2"><font class="captionText">Name*�</font><br><input type="text" size="25" name="Name" class="bodyText">
<div id="dName" name="dName" style="position:absolute;visibility:hidden"><font color="red">Name is Mandatory*</font></div>
</td>
<td colspan="2"><font class="captionText">Social Security Number*�</font><br><input type="text" size="9" name="SSN" class="bodyText">
<div id="dSSN" name="dSSN" style="position:absolute;visibility:hidden"><font color="red">SSN is Mandatory*</font></div></td>
</tr>
<tr>
<td colspan="2"><font class="captionText">Total Personal Assets</font><br><input type="text" size="10" name="TotPersAss3" class="bodyText"></td>
<td colspan="2"><font class="captionText">Total Personal Liabilities & NetWorth</font><br><input type="text" size="10" name="TotPerLiab3" class="bodyText"></td>
</tr>
</tr>
</TABLE>
<IMG Valign="middle" name="imgSubmit" src="images/buttons/Submit.gif" width="66" height="29" border="0" alt="Submit">
</code>Can any one do some help to solve this problem.
Regards. -
How to run JSP pages in weblogic 8.1 sp2
hi frnzs,
plese give me some idea about how to run JSP pages in weblogic server.enen i dont know hw to fly palne otherwise i can definitely give u sm guides abt that......
-
How to debug a bean in JSP page with JBX???
How to debug a bean in JSP page with JBX???
i have a bean within a JSP page. i wanna find out how do they varibles work and changes of them values.
are there some ways or tools to get the situations of them in visual way? just like when i debug VB program,i can get the situations in immediately window.help me !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
Hi all,
I'm making a jsp page with an applet and some tabs.
I use tabs to show or don't show some tabels and the applet.
When a tab is clicked the table is rendered or not rendered. And for the applet I render a panelgroup to show or hide the applet.
The problem is that when I click the tab that should render the panelgroup that contains the appplet, the applet is loaded every time again the tab is clicked.
This takes a lot of time.
Is it possible to hide the applet, but keep it in memory so that when ik click the tab to show the applet again, the applet shows the previous state it was in?
thanks in advance. KlaasHi Frank,
What do you mean with the tab canvas af:showOneTab or af:menuTabs or ....
Can you please explain in more details how to do what you say in you're first post. "set its size to 1x1 pixel".
Like on what sort of component to click, and how to set the panel size?
Thanks in advance. -
The graph dose not shown after running the Customize JSP Page.
Hi All,
While creating customize JSP I am facing one problem - The graph dose not shown after running the Customize JSP Page.
What are the possibilities ? any body has any Idea Please help meHi all,
I have the same issue! Any solution??
Thanks
BI Beans Diagnostics(v1.0.2.0) 11/10/06
=========================================================
JDEV_ORACLE_HOME .......................... = D:\jdev1012b1913
JAVA_HOME ................................. = D:\ORDB10gR2Home\jdk
JDeveloper version ........................ = 10.1.2.1.0.1913
BI Beans release description .............. = BI Beans 10.1.2 Production Release
BI Beans component number ................. = 10.1.2.67.0
BI Beans internal version ................. = 3.2.2.0.24.2
Connect to database ....................... = Successful
JDBC driver version ....................... = 10.1.0.4.2
JDBC JAR file location .................... = D:\jdev1012b1913\jdbc\lib
Database version .......................... = 10.2.0.2.0
OLAP Catalog version ...................... = 10.2.0.2.0
OLAP AW Engine version .................... = 10.2.0.2.0
OLAP API Server version ................... = 10.2.0.2.0
BI Beans Catalog version .................. = 3.2.2.0.24
OLAP API JAR file version ................. = "10.1.0.5.0"
OLAP API JAR file location ................ = D:\jdev1012b1913\jdev\lib\ext
Load OLAP API metadata .................... = Successful
Number of metadata folders ................ = 1
Number of metadata measures ............... = 23
Number of metadata dimensions ............. = 8 -
Hello!
I built up a web site and I want to test them using ANT. It works fine with other web page, however it doesn't work with web pages with "session" statement. For example in login.jsp I have the following statement
session.setAttribute("user", request.getParameter("userName"));
And if the user's name and password are correct, the user is directed to home.jsp, where i have the following statement to retrieve the user's name:
String id=session.getAttribute("user").toString();
In order to test the above 2 pages with ANT, I have the following code in builder.xml:
<?xml version='1.0'?>
<project name="proj" default="test" basedir=".">
<target name="test">
<get src="http://path/login.jsp?userName=id&passWord=1111" dest="1.html" />
</target>
</project>
When I run the script, I get the error that the home.jsp cannot be opened (see below)
[get] Error opening connection java.io.IOException: Server returned HTTP response code: 500 for URL: http://path/home.jsp
I am pretty sure the above error is caused by the "session" statement, because if I remove the statement in home.jsp, the page can be correctly opened. But I really need the "session" statement, Can someone tell me how to deal with it?
thanks a million.One mistake i find in your code is while retreiving the session value its session.getAttribute("userName"), as you stored the value using the parameter 'userName'. Is it not causing problem. Please check...
-
Problem launching a jsp page with eclipse and tomcat
Hi,
I have just started using eclipse and tomcat for creating dynamic web pages. I tried to launch a jsp page after starting the tomcat server with the URL: http://locahost:8080/HelloWorld/, an error page was displayed as below:
HTTP Status 404 -/
type Status report
message /_
description The requested resource (-) is not available
Apache Tomcat/5.5.17
I didn't get any error at the console and when i just typed http://localhost, a pop up menu saying that the connection was refused when attempting to contact localhost.
I'm not sure what is the problem here. Could it be the permssion to the localhost is not granted by the system as the eclipse IDE is running using linux?
Hope someone can help.
Thanks.http://www-128.ibm.com/developerworks/library/os-ectom/
-
HTTP 500 - Internal server error when trying to run simple HelloWorld.jsp
Hello,
I've searched the forum for a related issue and have not been able to resolve this error.
I have created a simple HelloWorld.jsp and continue to receive the Internal server error. I have tried using the host as well as the ip address to access the jsp but neither of them solve the issue.
JDev 10.1.3.2.0
These are the settings that I have configured for the embedded oc4j server:
HTTP: 8988
RMI: 23891
RMI-SSL: 24043
IIOP: 5655
IIOP-SSL: 5656
JMS: 9227
I also modified the proxy settings to use 8988 as well as the full host name.
If I click on the IP home page it takes me to the OAS overview page but I get the same error if I try to launch the App server control or example jsp's.
There are no messages in the log files.
Any ideas?Hi,
does the problem show when running thr JSP in the embedded OC4J in JDeveloper, or after deploying it to a stand alone OC4J or OracleAs?
Frank -
How to send the jsp page with the data as attachment
hi
my application is to display all the datas from the database.In the same page. i'm having a option to select mail address from the combo box and to send the page with the same format thru mail as an attachment .
<% String from="192.168.10.1";
String to=request.getParameter("to");
System.err.println(to);
String mailhost="localhost";
System.err.println("hiiiiiiiii");
try
System.err.println("byeeeeeee");
Properties prop=System.getProperties();
prop.put("mail.smtp.host", mailhost);
Session ss=Session.getInstance(prop,null);
System.err.println("session props");
Message message = new MimeMessage(ss);
System.err.println("message");
message.setFrom(new InternetAddress(from));
System.err.println("form not null");
message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
System.err.println("from and to r set");
message.setSubject("Hello JavaMail Attachment");
// Create the message part
BodyPart messageBodyPart = new MimeBodyPart();
// Fill the message
messageBodyPart.setText("have u got the attachement?");
Multipart multipart = new MimeMultipart();
multipart.addBodyPart(messageBodyPart);
// Part two is attachment
messageBodyPart = new MimeBodyPart();
DataSource source = new FileDataSource("C:/Program Files/Apache Software Foundation/Tomcat 5.0/webapps/MgmtTool/emsReport.jsp");
messageBodyPart.setDataHandler(new DataHandler(source));
messageBodyPart.setFileName("emsReport.jsp");
multipart.addBodyPart(messageBodyPart);
// Put parts in message
message.setContent(multipart);
System.err.println("ready");
// Send the message
Transport.send(message);
out.println("mail was sent successfully");
catch(Exception e)
{out.println(e);}
%>
by using this code i 'm sending the emsreport page as attachment
i'm recieving only the tabular format but i cant able to get those data which are present on that page
i dont know wat to do???
kindly help me
thank u in advanceSome of the points might help you in thinking towards right direction, you might already know this but doesn't look like you are following in your code anyway.
1. The JSP that you are emailing is uncompiled source file. It need JVM environment to be able to run on.
2. The JSP is a view technology so try to separate the view logic from the business.
3. Try to put entire business logic in a Bean and use that in your JSP to start off with.
You may need to write the HttpServletResponse#content on to the Writer and then persist it on the filesystem. and then send that persisted file as an attachment.
Have a look at http://java.sun.com/j2se/1.5.0/docs/api/java/io/Writer.html
It provide different type of writer implementations.
HttpServletResponse#getWriter() provides PrintWriter instance.
Does it make sense? -
How to run servlet from JSP page
A simple JSP page,where I will put a button.And on clicking..it will invoke the servlet and the servlet will send the result to the jsp page...
Please give the instructions with examples...
Thanks in advance...hi,
Create a jsp inside webapps/root
<a href="./howtocode" > click to call servlet </a>and follow the steps
http://forum.java.sun.com/thread.jspa?threadID=5202830 -
How Can I speed up the results on my JSP page with the help of Caching.
I am generating a dropdown listbox by merging an xml file with a style sheet(xsl).
This list box comes up fine without any problems. Now, I am adding some advanced
logic to the
style sheet (xsl) to use the same xml file in a more efficient way. This time
the generation
of the list box is taking much longer (upto 25 seconds) although I get the results
I want.
Is there any way I could speedup this process by using weblogics caching. I know
the process is slowing down
due to the code in the stylesheet. Will caching resolve this issue?. I tried
using
<wl:cache> </wl:cache> on the jsp page generating this listbox but found no improvement.
Any help will be very much appreciated.turn off your phone, unplug your router, leace it off for 30 seconds, and then power it back on and turn the iphone back on
-
Unable to run Mozilla demo site Problem with Bananabread
I am using firefox 13.01 on a Mac OS and when I go to Mozilla web site
"https://developer.mozilla.org/media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1348775105_demo_package/index.html"
When I click on the levels I get a message OOPs there was a problem starting Banabread" I have cleared my cache and cookies with no change. The demo says it will run on any modern 2012 browser. but I cna hear the sound in the background. Can anyone tell me why a Mozilla product is unable to run its own demo?No answers as to why Firefox 13.01 does not run on Mozilla's own web site even though Mozilla says any version this year should work.
Mozilla web site "https://developer.mozilla.org/media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1348775105_demo_package/index.html" -
Plugin problem in JSP page with applet
i am using applets in my jsp page. the applet works properly if the java plugin is installed. it is not working with the default jvm.
my question is
if any client who does not have java plug in, views the page the plugin should be downlaoded automaticllly.
how do i get this happen.
Need support from Applet Gurus
Cheers!!!!!!!!!!!!!!If you are using the <applet> tag, then it will not try to download the plugin. You should use the <object> and <embed> tags, which will only use the plugin, not the default JVM.
See the bottom of this page...
http://java.sun.com/products/plugin/1.3/docs/intranet.html
Only IE has a JVM built-in (and Netscape 4.x, if anyone still uses it). And in either case, that JVM is version Java 1.1.4, so it's very old.
Maybe you are looking for
-
Using a mac cannot install PS Elements 12
Hi, novice Mac user but have tried apple support and they referred me to Adobe support. Waited for FOUR hours for adobe live chat to help argh!!! So, cannot get the Photoshop Elements 12 to install. Will download file but then nothing. Apple thinks A
-
Pricing Condition when Creating PO
hi all, When i create a PO through ME21N in reference with a PR, some customized condition types are missing. After click the 'update' button in condtions tab, the missing types would appear. Futhermore, if i create the PO without reference of a PR,
-
Why can't I post to a Wordpress blog using Firefox 5.o?
I tried to post a comment on a wordpress blog and twice the comment was completely erased when I pressed "preview" or "comment". When I switched to Safari, I had no problem!
-
Why is ATX ver 2.0 PSU Bad for AMD Systems
i don't understand . How are people going to know not to buy Power slupplys with Two 12V- Rails.. I just buitl a AMD Fx-55 with MSI NEO 2 .. ok And I pick out the Antec Neo power 2.0ATX . And with that PSU I could not overClock at all . . I out
-
I upgraded to IOS5 and have lost my contacts and other app profiles - is there any way to get them back from the backup taken before the IOS5 process started?