WL60 can't see servlet
nt4.0
I've spent the last 2 days trying to get a simple servlet to
work and I failing miserably. Here's the web.xml:
<?xml version="1.0" ?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
<web-app>
<display-name>
Hello World Servlet
</display-name>
<servlet>
<servlet-name>
hello
</servlet-name>
<servlet-class>
com.vignette.cms.apps.test.servlets.HelloWorldServlet
</servlet-class>
<servlet-mapping>
<servlet-name>hello</servlet-name>
<url-pattern>/hello/*</url-pattern>
</servlet-mapping>
</servlet>
</web-app>
I hot deployed it using an exploded war file with the WEB-INF/classes containing
the compiled servlet.
All I get are 404's when I type in this URL into the browser: http://localhost:7001/helloWorld/hello
I've also tried /hello, /helloWorld/helloWorld. I've also tried every concievable mapping
inlcuding the obvious /hello, hello, /hello/*. Here is my config.xml file:
<!--If your domain is active, please do not edit the config.xml file. Any changes made to that
file while the domain is active will not have any effect on the domain's configuration and are
likely to be lost. If your domain is inactive, you may edit this file with an XML editor. If you do
so, please refer to the configuration DTD. In general, we recommend that changes to your
configuration file be made through the Administration Console.-->
<Domain
Name="devdomain"
>
<LDAPRealm
AuthProtocol="simple"
Credential="MyLDAPCredential"
GroupDN="o=airius.com,ou=Groups"
GroupIsContext="true"
GroupNameAttribute="cn"
GroupUsernameAttribute="member"
LDAPURL="ldap://ldapserver:363"
Name="defaultLDAPRealmForNovellDirectoryServices"
Notes="This is provided as an example. Before enabling this Realm, you must edit the
configuration parameters as appropriate for your environment."
Principal="cn=Admin,o=airius.com"
SSLEnable="true"
UserAuthentication="bind"
UserDN="o=airius.com,ou=People"
UserNameAttribute="cn"
UserPasswordAttribute="userpassword"
/>
<JDBCConnectionPool
CapacityIncrement="1"
DriverName="com.vignette.cms.vgnjdbc.VgnDriver"
InitialCapacity="1"
MaxCapacity="10"
Name="MssqlPool"
Properties="***********"
Targets="devserver"
URL="com.inet.tds.TdsDriver#jdbc:inetdae:fred:1433?database=rpjdb"
/>
<ApplicationManager
Name="devdomain"
/>
<FileRealm
Name="wl_default_file_realm"
/>
<PasswordPolicy
Name="wl_default_password_policy"
/>
<Application
Deployed="true"
Name="certificate"
Path=".\config\devdomain\applications"
>
<WebAppComponent
Name="certificate"
Targets="devserver"
URI="certificate.war"
/>
</Application>
<Application
Deployed="true"
Name="helloWorld"
Path=".\config\devdomain\applications"
>
<WebAppComponent
Name="helloWorld"
Targets="devserver"
URI="helloWorld"
/>
</Application>
<Log
FileName="config/devdomain/logs/wl-domain.log"
Name="devdomain"
/>
<JDBCTxDataSource
EnableTwoPhaseCommit="true"
JNDIName="TheDataSource"
Name="MssqlSource"
PoolName="MssqlPool"
Targets="devserver"
/>
<Application
Deployed="true"
Name="vgncmsdeploy"
Path=".\config\devdomain\applications"
>
<EJBComponent
Name="vgncmsdeploy"
Targets="devserver"
URI="vgncmsdeploy.jar"
/>
</Application>
<JTA
Name="devdomain"
/>
<LDAPRealm
AuthProtocol="simple"
Credential="MyLDAPCredential"
GroupDN="o=Microsoft, ou=Groups"
GroupIsContext="true"
GroupNameAttribute="cn"
GroupUsernameAttribute="memberObject"
LDAPURL="ldap://ldapserver:389"
Name="defaultLDAPRealmForMicrosoftSiteServer"
Notes="This is provided as an example. Before enabling this Realm, you must edit the
configuration parameters as appropriate for your environment."
Principal="cn=ldapadmin"
UserAuthentication="local"
UserDN="o=Microsoft, ou=Members"
UserNameAttribute="cn"
UserPasswordAttribute="userpassword"
/>
<Server
ClusterWeight="1"
DefaultProtocol="t3"
HttpdEnabled="true"
ListenPort="7001"
Name="devserver"
NativeIOEnabled="true"
TunnelingEnabled="false"
>
<KernelDebug
Name="devserver"
/>
<SSL
Enabled="true"
ListenPort="7002"
Name="devserver"
ServerCertificateChainFileName="config/devdomain/ca.pem"
ServerCertificateFileName="config/devdomain/democert.pem"
ServerKeyFileName="config/devdomain/demokey.pem"
/>
<Log
FileName="config/devdomain/logs/weblogic.log"
Name="devserver"
/>
<ServerDebug
Name="devserver"
/>
<WebServer
DefaultWebApp="DefaultWebApp_devserver"
LogFileName="./config/devdomain/logs/access.log"
LoggingEnabled="true"
Name="devserver"
/>
</Server>
<Application
Deployed="true"
Name="console"
Path=".\config\devdomain\applications"
>
<WebAppComponent
Name="console"
Targets="devserver"
URI="console.war"
/>
</Application>
<Application
Deployed="true"
Name="DefaultWebApp_devserver"
Path=".\config\devdomain\applications"
>
<WebAppComponent
Name="DefaultWebApp_devserver"
Targets="devserver"
URI="DefaultWebApp_devserver"
/>
</Application>
<LDAPRealm
AuthProtocol="simple"
Credential="MyLDAPCredential"
GroupDN="o=airius.com,ou=Groups"
GroupIsContext="false"
GroupNameAttribute="cn"
GroupUsernameAttribute="uniquemember"
LDAPURL="ldap://ldapserver:389"
Name="defaultLDAPRealmForNetscapeDirectoryServer"
Notes="This is provided as an example. Before enabling this Realm, you must edit the
configuration parameters as appropriate for your environment."
Principal="uid=admin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot"
UserAuthentication="local"
UserDN="o=airius.com,ou=People"
UserNameAttribute="uid"
UserPasswordAttribute="userpassword"
/>
<Application
Deployed="true"
Name="soapEngine"
Path=".\config\devdomain\applications"
>
<WebAppComponent
Name="soapEngine"
Targets="devserver"
URI="soapEngine"
/>
</Application>
<Security
GuestDisabled="false"
Name="devdomain"
PasswordPolicy="wl_default_password_policy"
Realm="wl_default_realm"
/>
<Realm
FileRealm="wl_default_file_realm"
Name="wl_default_realm"
/>
</Domain>
Initially I started out trying to get SOAP working but decided to back off and
get a simnple servlet to work. I hope its just something bone-headed and
hopefully one of you can point it out to me. Thanks.
Thanks. It was the fact that I had <servlet-mapping> under the <servlet> element.
I would have expected a parsing error or something.
"Jesus M. Salvo Jr." wrote:
> Rich,
>
> Did you place the contents of the exploded war file under:
>
> config/<yourdomain>/applications?
>
> Do you have "Auto-Deploy" Enabled?
>
> Also, servlet-mapping should not be under servlet. Here is one that I
> have ( working ):
>
> <servlet>
> <servlet-name>accountNumber</servlet-name>
> <jsp-file>/ebill_accountnumber.jsp</jsp-file>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>accountNumber</servlet-name>
> <url-pattern>/accountNumber</url-pattern>
> </servlet-mapping>
>
> In your case, replace jsp-file with servlet-class
>
> Regards,
>
> John Salvo
>
> Rich Johns wrote:
>
> > nt4.0
> >
> > I've spent the last 2 days trying to get a simple servlet to
> > work and I failing miserably. Here's the web.xml:
> >
> > <?xml version="1.0" ?>
> > <!DOCTYPE web-app
> > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
> > "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
> >
> > <web-app>
> > <display-name>
> > Hello World Servlet
> > </display-name>
> > <servlet>
> > <servlet-name>
> > hello
> > </servlet-name>
> > <servlet-class>
> > com.vignette.cms.apps.test.servlets.HelloWorldServlet
> > </servlet-class>
> > <servlet-mapping>
> > <servlet-name>hello</servlet-name>
> > <url-pattern>/hello/*</url-pattern>
> > </servlet-mapping>
> > </servlet>
> > </web-app>
> >
> > I hot deployed it using an exploded war file with the WEB-INF/classes containing
> > the compiled servlet.
> >
> > All I get are 404's when I type in this URL into the browser: http://localhost:7001/helloWorld/hello
> > ,
> >
> > I've also tried /hello, /helloWorld/helloWorld. I've also tried every concievable mapping
> > inlcuding the obvious /hello, hello, /hello/*. Here is my config.xml file:
> >
> > <!--If your domain is active, please do not edit the config.xml file. Any changes made to that
> > file while the domain is active will not have any effect on the domain's configuration and are
> > likely to be lost. If your domain is inactive, you may edit this file with an XML editor. If you do
> > so, please refer to the configuration DTD. In general, we recommend that changes to your
> > configuration file be made through the Administration Console.-->
> >
> >
> > <Domain
> > Name="devdomain"
> > >
> > <LDAPRealm
> > AuthProtocol="simple"
> > Credential="MyLDAPCredential"
> > GroupDN="o=airius.com,ou=Groups"
> > GroupIsContext="true"
> > GroupNameAttribute="cn"
> > GroupUsernameAttribute="member"
> > LDAPURL="ldap://ldapserver:363"
> > Name="defaultLDAPRealmForNovellDirectoryServices"
> > Notes="This is provided as an example. Before enabling this Realm, you must edit the
> > configuration parameters as appropriate for your environment."
> > Principal="cn=Admin,o=airius.com"
> > SSLEnable="true"
> > UserAuthentication="bind"
> > UserDN="o=airius.com,ou=People"
> > UserNameAttribute="cn"
> > UserPasswordAttribute="userpassword"
> > />
> > <JDBCConnectionPool
> > CapacityIncrement="1"
> > DriverName="com.vignette.cms.vgnjdbc.VgnDriver"
> > InitialCapacity="1"
> > MaxCapacity="10"
> > Name="MssqlPool"
> > Properties="***********"
> > Targets="devserver"
> > URL="com.inet.tds.TdsDriver#jdbc:inetdae:fred:1433?database=rpjdb"
> > />
> > <ApplicationManager
> > Name="devdomain"
> > />
> > <FileRealm
> > Name="wl_default_file_realm"
> > />
> > <PasswordPolicy
> > Name="wl_default_password_policy"
> > />
> > <Application
> > Deployed="true"
> > Name="certificate"
> > Path=".\config\devdomain\applications"
> > >
> > <WebAppComponent
> > Name="certificate"
> > Targets="devserver"
> > URI="certificate.war"
> > />
> > </Application>
> > <Application
> > Deployed="true"
> > Name="helloWorld"
> > Path=".\config\devdomain\applications"
> > >
> > <WebAppComponent
> > Name="helloWorld"
> > Targets="devserver"
> > URI="helloWorld"
> > />
> > </Application>
> > <Log
> > FileName="config/devdomain/logs/wl-domain.log"
> > Name="devdomain"
> > />
> > <JDBCTxDataSource
> > EnableTwoPhaseCommit="true"
> > JNDIName="TheDataSource"
> > Name="MssqlSource"
> > PoolName="MssqlPool"
> > Targets="devserver"
> > />
> > <Application
> > Deployed="true"
> > Name="vgncmsdeploy"
> > Path=".\config\devdomain\applications"
> > >
> > <EJBComponent
> > Name="vgncmsdeploy"
> > Targets="devserver"
> > URI="vgncmsdeploy.jar"
> > />
> > </Application>
> > <JTA
> > Name="devdomain"
> > />
> > <LDAPRealm
> > AuthProtocol="simple"
> > Credential="MyLDAPCredential"
> > GroupDN="o=Microsoft, ou=Groups"
> > GroupIsContext="true"
> > GroupNameAttribute="cn"
> > GroupUsernameAttribute="memberObject"
> > LDAPURL="ldap://ldapserver:389"
> > Name="defaultLDAPRealmForMicrosoftSiteServer"
> > Notes="This is provided as an example. Before enabling this Realm, you must edit the
> > configuration parameters as appropriate for your environment."
> > Principal="cn=ldapadmin"
> > UserAuthentication="local"
> > UserDN="o=Microsoft, ou=Members"
> > UserNameAttribute="cn"
> > UserPasswordAttribute="userpassword"
> > />
> > <Server
> > ClusterWeight="1"
> > DefaultProtocol="t3"
> > HttpdEnabled="true"
> > ListenPort="7001"
> > Name="devserver"
> > NativeIOEnabled="true"
> > TunnelingEnabled="false"
> > >
> > <KernelDebug
> > Name="devserver"
> > />
> > <SSL
> > Enabled="true"
> > ListenPort="7002"
> > Name="devserver"
> > ServerCertificateChainFileName="config/devdomain/ca.pem"
> > ServerCertificateFileName="config/devdomain/democert.pem"
> > ServerKeyFileName="config/devdomain/demokey.pem"
> > />
> > <Log
> > FileName="config/devdomain/logs/weblogic.log"
> > Name="devserver"
> > />
> > <ServerDebug
> > Name="devserver"
> > />
> > <WebServer
> > DefaultWebApp="DefaultWebApp_devserver"
> > LogFileName="./config/devdomain/logs/access.log"
> > LoggingEnabled="true"
> > Name="devserver"
> > />
> > </Server>
> > <Application
> > Deployed="true"
> > Name="console"
> > Path=".\config\devdomain\applications"
> > >
> > <WebAppComponent
> > Name="console"
> > Targets="devserver"
> > URI="console.war"
> > />
> > </Application>
> > <Application
> > Deployed="true"
> > Name="DefaultWebApp_devserver"
> > Path=".\config\devdomain\applications"
> > >
> > <WebAppComponent
> > Name="DefaultWebApp_devserver"
> > Targets="devserver"
> > URI="DefaultWebApp_devserver"
> > />
> > </Application>
> > <LDAPRealm
> > AuthProtocol="simple"
> > Credential="MyLDAPCredential"
> > GroupDN="o=airius.com,ou=Groups"
> > GroupIsContext="false"
> > GroupNameAttribute="cn"
> > GroupUsernameAttribute="uniquemember"
> > LDAPURL="ldap://ldapserver:389"
> > Name="defaultLDAPRealmForNetscapeDirectoryServer"
> > Notes="This is provided as an example. Before enabling this Realm, you must edit the
> > configuration parameters as appropriate for your environment."
> > Principal="uid=admin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot"
> > UserAuthentication="local"
> > UserDN="o=airius.com,ou=People"
> > UserNameAttribute="uid"
> > UserPasswordAttribute="userpassword"
> > />
> > <Application
> > Deployed="true"
> > Name="soapEngine"
> > Path=".\config\devdomain\applications"
> > >
> > <WebAppComponent
> > Name="soapEngine"
> > Targets="devserver"
> > URI="soapEngine"
> > />
> > </Application>
> > <Security
> > GuestDisabled="false"
> > Name="devdomain"
> > PasswordPolicy="wl_default_password_policy"
> > Realm="wl_default_realm"
> > />
> > <Realm
> > FileRealm="wl_default_file_realm"
> > Name="wl_default_realm"
> > />
> > </Domain>
> >
> >
> > Initially I started out trying to get SOAP working but decided to back off and
> > get a simnple servlet to work. I hope its just something bone-headed and
> > hopefully one of you can point it out to me. Thanks.
Similar Messages
-
how can I see whatever I print through System.out.println in my servlets when I use iplanet 4.1
Hi Nitin,
Look out the below link, Hope this helps you.
http://knowledgebase.iplanet.com/ikb/kb/articles/4235.html
http://knowledgebase.iplanet.com/ikb/kb/articles/4790.html
http://knowledgebase.iplanet.com/ikb/kb/articles/4699.html
Regards,
Dakshin.
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support. -
Can't see any orders in Mobile Device
Hi all,
As described in topic "How to deploy MAM 2.5 into MI Server", I have just installed MI and deployed MAM 2.5 into an WebAS 6.40 SP13.
I have also, with the help of the functional guys from my team, followed through the Server Side Configuration part of the MAM Config Guide and created the scenario. I have assigned my MAM user (same userID of the backend) to the scenario and I'm now trying to see the orders of that scenario in the mobile device.
The problem is that I can synchronize the device but I can't see anything in the MAM besides de User View Manager.
I executed MEREP_MON and for my mobile ID I can see 1 I-Waiting for each SyncBO, 5 I-Error for SyncBOs MAM25_001 and MAM25_010 (but by the times of the logs, it seems that they are quite old already) and 5 I-Finished for all the other SyncBOs. Also, there are 5 0-Sent for each SyncBO but for MAM25_017, that has 19 0-Sent. All the other fields are 0.
What does the I-Waiting and I-Finished and so on mean? How can I make my user to see his orders?
Thanks,
DanielHi Daniel!
I understand that the result you see in the Worklist monitor doesn't help.Did you try the recommendation in the FAQ.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/mi/mobile application faq/mam client faq.faq#q-4
If it doesnot help, try the following
(1)In the SPRO under MAM Customizing settings, go in to
"Assign Orders and Stocks to a Technician" and then double click the "Assignment Profile(Assigned to your MAM User ID in User dependant data)" and change the Order Assignment & Notification Assignment to "User-->Employee Number", if it is assigned to a Work Center OR a Planner Group.You can reset this back to the original settings later if required.
(2)Replicate the MAM25_090 & MAM25_095 via transaction MEREP_EX_REPLIC in the middleware.
(3) Synchronize the data from your MI Client
(4) If no data exists Monitor your Worklist as you did earlier.
Let me know.
Thx
Gisk
Message was edited by: Gisk -
My app can't see the tag library
Hi everybody,
I am developing an application in JSP which accesses an Oracle database and display the results to the user.
I am using the tag "exceltag.jar" taken from "http://www.servletsuite.com/servlets/exceltag.htm" to convert an html table to an excel sheet. This works fine on my computer but it fails after we installed the application to our web server, running Tomcat 4.1.12.
The "exceltag.jar" file has been placed under 'WEB-INF\lib' and the classpath has been set to point to that location. However when I attempt to convert the html table to an excel sheet by clicking a button, I get the following error:
java.lang.NoClassDefFoundError:
javax/servlet/jsp/tagext/BodyTagSupport at java.lang.ClassLoader.defineClass0(Native Method) at
java.lang.ClassLoader.defineClass(ClassLoader.java:509)
It seems like the application can't see the "exceltag.jar" file.
What do I need to do to overcome this problem?
Thank you very much.The servlet.jar is in TOMCAT_HOME/common/lib. Since all the JARs in that directory are automatically added to the CLASSPATH and are visible to all applications running under Tomcat, you don't have to do anything for the class loader to find it.
Your app's WEB-INF/lib directory JARs are also automatically added to to the CLASSPATH. That's the correct place to put that exceltag.jar, by the way, not the TOMCAT_HOME/common/lib.
As a matter of fact, if you have a system CLASSPATH, be sure that Tomcat ignores it completely. You shouldn't even have one, IMO. (I don't.)
When I open up the servlet.jar in my TOMCAT_H0ME/common/lib, I can see a class named BodyTagSupport with path javax.servlet.jsp.tagext. You should, too.
In your exceltag.jar, you should find a TLD for the library. Open that with a text editor and make sure that the text under the <uri> tag matches that in your JSP. For example, I use the JSTL tag library. The c.tld has this <uri> tag:
<uri>http://java.sun.com/jstl/core</uri>My JSPs that want to use the core tag library have this near the top of the page:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>Notice how the URIs match. That's what yours should do, too.
If you don't find a TLD inside the exceltag.jar, that means they didn't package it properly. - MOD -
Error can't load Servlet org.apache.struts.action.ActionServlet
Hi,
I have SAP J2EE 6.20 installed on linux machine. I am trying to deploy struts framework based application and while deploying it..... I am getting error message:
Error can't load Servlet org.apache.struts.action.ActionServlet : java.lang.NoClassDefFoundError: org/xml/sax/SAXException
07 19:27:48 - ***********************************************************
08/10/07 19:27:48 - Applying user role management mappings.
08/10/07 19:27:48 - Start updating EAR-file...D:\SAPJ2EE Client\deploying\sambodh\sambodh.ear
08/10/07 19:28:26 - Temp files deleted...
08/10/07 19:28:26 - Ear-file updated successfully for 37860ms.
08/10/07 19:28:27 - Start deploying ...
08/10/07 19:30:35 - Ear-file uploaded to server for 128047ms.
08/10/07 19:30:37 - Successfuly deployed! Deployment took 1953ms.
08/10/07 19:30:37 - WARNING : Deploy service return folowing WARNINGs:
Error can't load Servlet org.apache.struts.action.ActionServlet : java.lang.NoClassDefFoundError: org/xml/sax/SAXException
Deployment took 1953ms.
08/10/07 19:30:37 - ***********************************************************
First time when I got this error, I added struts.jar in my server's <inst_dir>/alone/additional_libs/...... but then also error still exists... Do I have to start SAP J2EE instance once again and then deploy my application?
Can anyone help me out in this as this is very very very imp.
regardsHi,
As per your actions above I believe you have already found SAP Note 435363.
Basically for a struts application there are no special requirements other than
1. Make a reference to the inqmyxmltoolkit from the application that is going to use struts before the deployment
2. Put the struts library into WEB-INF/lib of the application (struts can't be shared among applications)
3. Deploy the application
For making the reference you can:
1. Telnet to the Engine (if you run it as a service and do not have access to its shell directly)
If telnet port on the Engine dispatcher is 2323
telnet localhost 2323
2. Jump to the server node
for example if the application node's cluster id is 4001
jump 4001
3. Execute the commands
add deploy
changeref -m MyApplication library:inqmyxml
So if it does not work, then I see two reasons possible:
1. You are using a really old version of the 6.20 Engine - check if you are on PL41.
2. You have misspelled the name of your application in the reference. The names are case sensitive so you need to be careful. MyApplication is not the same as myApplication or myapplication.
Regards,
Iavor -
Can get this Servlet to Work! New Java User needs help.
I have been using a text from New Riders to learn about creating server applications, and am using Tomcat as the server in a Windows XP environement. As per the instructions, to create a new application and path, I added the following path under the webapps directory, that sits under my Tomcat directory:
myApps
--WEB-INF
----classes
I then create copied Java class code, listing below, and compiled, put the class in the classes directory in my new directory path. The code is simple, here it is:
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
public class TestingServlet extends HttpServlet {
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
PrintWriter out = response.getWriter();
out.println("<HTML>");
out.println("<HEAD>");
out.println("<TITLE>Servlet Testing</TITLE>");
out.println("</HEAD>");
out.println("<BODY>");
out.println("Welcome to the Servlet Testing Center");
out.println("</BODY>");
out.println("</HTML>");
I then created a file called web.xml in the WEB-INF directory, as w follows:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>Testing</servlet-name>
<servlet-class>TestingServlet</servlet-class>
</servlet>
</web-app>
I started the Tomcat server process, and pointed my browser to the URL http://localhost:8080/myApp/Servlet/TestingServlet. I received the following error
type Status report
message /myApp/Servlet/Testing
description The requested resource (/myApp/Servlet/Testing) is not available.
After searching some information on the web, I found some references to context information, that should be included in another file, called server.xml, that resides under the conf directory in the Tomcat root. I found it, and added the following within the "host" tags, just after the last ending /context tag, for the example directory that came with Tomcat:
<Context path="/myApp" docBase="myApp" debug="0" reloadable="true" >
</Context>
I stopped and restarted the Tomcat server. This time, I checked under the Manager page of Tomcat, and found the myApp directory listed, and apparently "started", whatever that means
pointed my browser to the URL http://localhost:8080/myApp/Servlet/TestingServlet. I still receive the following:
type Status report
message /myApp/Servlet/Testing
description The requested resource (/myApp/Servlet/Testing) is not available.
I tried one more thing. I put my class under the "examples" directory that comes with Tomcat, change the web.xml file that resides under its WEB-INF directory, and tried to see if I can get the servlet to work. And it actually does, which leads me to believe, I did something wrong setting up the directory environment in Tomcat.
At this point I am at a loss to figure out what I did wrong, and what else I can do to fix this. Any help, suggestions, would be great.ok, I have got your servlet runnig on Jboss with Tomcat,
The war file contents are
myApp/
META-INF/
META-INF/MANIFEST.MF
WEB-INF/
WEB-INF/classes/
WEB-INF/classes/TestingServlet.class (No package)
WEB-INF/web.xml
Web.xml
<web-app>
<servlet>
<servlet-name>Testing</servlet-name>
<servlet-class>TestingServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Testing</servlet-name> <------- My mistake use Testing
<url-pattern>/servlet/testing/*</url-pattern <------- lowercase S
</servlet-mapping>
</web-app>
url
http://localhost:8080/myApp/testing/blah -
I can not see my JPGs when i run my JSP
Hello,
I have a JSP which is called by servlet by RequestDispatcher. However
when this JSP is run in browser I can not see the jpgs i put inside
as banner or logo. (By the way, i can see them in JSP viewer, I mean inside tool) Those are all static images. Is there a procedure I should do in servlet or JSP to make them appear?
Thank you very much..the only reason you don't see them is because the browser can't find them (in that case they'll appear as red crosses). Remember that the ultimate output is HTML and that should be correct.
-
Can't see portlet provider of pdk-java Framework
i have installed the pdk-java framework and samples and i have registred a poprtlet provider called " SampleWebProvider".
when i open the portlet ripository i can't find this provider displayedIt means while accessing this url
http://servername.domain.com:7777/servlet/sample
did u get this testpage... hello
we have the SAME problem of Hela Abidi!!
when we access the test page we get this:
---------------------------------------->
Congratulations! You have successfully reached your Provider's Test Page.
Checking for components:
Portlets are:
SampleRenderer
Lottery
Snoop
HelloWorldJsp
ExpiresSample
ValidateSample
HelloWorld
FormInput
Multipage
JSPServicesPortlet
SubscriberRegistration
HelloServletWorld
submitServlet
Recognizing initialization parameters.
invalidation_caching : true
<----------------------------------------------
it is a bit different from your test page... different PDKv2 version??
however it seems to be all ok with OC4J... and I can say more: if I click in "Browse Providers" icon inside Portal>Administer tab>Provider I can see my new SampleWebProvider!! but I can't see it in the portlet repository :-(
this is our system:
Os: Win 2000 server
Db 9i 9.0.1.3.1
Portal version 3.0.9.8.2
OC4J Release 2 Developer preview (9.0.3.0.0)
can you help us??
thanks -
How can I see Calendar event END times at a glance?
How can I display my Calendar event titles exactly as I type them? I do not want Calendar to remove duration from the titles of my events. Otherwise I can't see event END times at a glance in month view; only start times. How can I "trick" Calendar to just show my titles as I type them - as I always could before I upgraded. I used to be able to enter "Seminar 9am-5:45" and it would appear that way regardless of how or what I chose to enter (or not enter) for duration.
I am running OSX 10.9.3.It's a bit weird, but if you type in the time info TWICE into the event title then Calendar uses/deletes one of them to populate the event details and leaves the other.
Apple - Mac OS X - Feedback -
Can not see any Data in OKE.OKE_K_FUND_ALLOCATIONS
I am looking in this table with SQLPlus and TOAD and can not see any rows.
Hi Hussein;
First I ran:
select fu.user_name, fr.responsibility_name
, fu.user_id, fr.responsibility_id resp_id
, furg.responsibility_application_id resp_appl_id, furg.security_group_id sec_group_id
from apps.fnd_user_resp_groups furg
, apps.fnd_user fu
, apps.fnd_responsibility_vl fr
where furg.user_id = fu.user_id
and upper(fu.user_name) = upper('&User_Name')
and furg.responsibility_id = fr.responsibility_id
order by 1, 3
Passing in SYSADMIN
Taking this row:
SYSADMIN,General Ledger Super User,0,20434,101,0
I ran:
I ran exec fnd_global.APPS_INITIALIZE (0,20434,101,0);
I still get no rows returned.
Is thier a way in the App to ensure the SYSADMIN,General Ledger Super User can see this data? Or am I missing something else? -
Can not see historical data in Time Machine backup
Hi folks
First my setup:
MBP Late2012
Samsung Evo 840 SSD
external USB 3.0 1TB as TimeMachine HD
Mac OS X Mavericks
Now my problem.
After updating to Mavericks I've made a full backup with Time Machine.
Then I swapped the former 500TB HDD to the Samsung Evo 840 500TB.
A clean setup of Mavericks follows.
After that I restored the Backup from Time Machine.
Everything ok. Til now.
Because everthing works fine in the past, I did not control the Time Machine.
Today I wanna restore a File from my "Pictures" folder.
So I opened Time Machine.
Oops.
There I can only see the latest run.
Also in the timeline on the right side the only entries are TODAY and NOW.
I can not scroll into the past.
All windows behind the current window have a black titlebar.
In Mountain lion the titlebars are grey if there is data available
and the title contains the date of the backup.
What is the problem?
Is there a bug?
Did I something wrong?
Thanx in adv.
StoikerHi masong517
What a treasure trove of hints and solutions.
I didn't know this page.
But you are right with "E2".
This solved my problem.
Thank you very much. -
Can not see the data in the grid
Hi,
nice to see the new features, but I can not see the the table inserts
in the data grid - the <data> rider is not clickable.
RegardsHi annerose,
This problem has appeared in a few other threads. It's caused by installing Release 2 Raptor over Release 1 Raptor without first deinstalling Release 1 Raptor . So what you need to do is:
1) Back up any important Raptor files, e.g. connections etc.
2) Remove the existing Raptor Rel 1 installation folder
3) Install Raptor Rel 2
Hope this helps
ady -
I want to use the same account for all my apple devices (macbook air, imac and iphone). I can't see how I can amend the iphone account because it is in grey? I also can't remember the password for this account so i can't even delete it and start again?
Help!
ThanksDeleting an iCloud account only deletes it from the Device, not from iCloud. In iOS 8, the name of this setting changed to "Sign Out" as that is a better reflection of what actually happens. Your iCloud data remains on the server, available to devices still signed into the account, but the device you sign out of the account on is disconnected from the account, and as a result, the iCloud data from that account is removed from the device. It will redownload to the device should you sign back into the account.
The only issue you'll run into when you switch between accounts is with my photo stream photos older than 30 days. When you delete (or sign out of) and account, your photo stream photos are deleted along with the other data from the account in question. However, unlike other data which remains on the server and can redownload to your device when you sign back in, my photo stream photos only remain in iCloud for 30 days. When you sign back in, you will only get back my photo stream photos added in the last 30 days (as older photos are no longer in iCloud to redownload). Like other account data, any my photo stream photos on your other devices signed into the account are unaffected by this. If you want to keep older my photo stream photos on your device as you change iCloud accounts, save them to your camera roll before deleting (signing out of) the account. -
My photos on iphotos just became empty boxes, bordered by white intermittent lines. If I click on a photo it comes up, but I can't see what each photo is at a glance. Any ideas how to resolve this? thanks
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the options to rebuild the thumbnails.
Regards
TD -
I have multiple devices in my family. Each of us has an iPhone and an iPad. Is there a way for each of us to have our own Apple ID but one account so we can all get the same music, movies, books, etc. I can't see paying twice for something in the same family.
Welcome to the world of digital media. Your can't really transfer it. I don't know what the rules are about transferring to your spouse but I do know that in some cases when you die, your heirs cannot inherit your digital media. This is why there is still an advantage to buying the CD since the usage rights belong to whomever holds the physical media.
A possible workaround is to burn the songs to a music CD with yout account (tracks only without song titles) and then having your wife upload it as a regular music CD onto her account. It's been a while since i've done this so I'm not sure if it would work now.
Please note that I'm not advocating copyright and/or TOS violations. I'm only suggesting ways to copy music for your own personal use which has traditonally been permitted. I only did this because I wanted to convert iTunes songs to mp3 files so I could burn them onto a data CD for use in my car. It would make sense that since married couples are a joint entity, this would be personal use.
Also, I'm not a lawyer so don't take this as legal advice.
Maybe you are looking for
-
Copy new attributes in new releases
Could you please provide detailed steps using WCF_CC or manual process of new attributes in CRM 7.0 EhP1? I'm working on message in UI Configuration check in WCF_CC which states, "Context node Attribute does not exist: STRUCT.ZZFIELD in Object type B
-
Eclipse completely freezes - must force quit process
This is happening frequently... a few times per day. The entire eclipse workbench becomes unresponsive. I'm able to close the workbench via the close button in the main window, but I also have to go to my task manager and force quit the eclipse proce
-
SAP WEB AS 6.20 unicode installation on XP
I am getting the following error during installation. It stops at 'SAPDb Clint Software'. I need some help. Execute Action READ_PROFILE_INFO succeeded. INFO 2004-08-14 00:50:44 Execute Action READ_PROFILE_INFO succeeded. INFO 2004-08-14 00:50:44 Copy
-
The fan on my target computer is whirring away and so it sounds like something is happening. But there doesnt seem to be any way of telling from either the traget or the source computer if the thing is actually working. How many hours should I wait
-
MIGO Authorization Requirement
Dear Friends, There is a situation, where one user enters data in MIGO for GI with Others option with movement type 231 for issuing material to the vendor. this is done by many users. we want to have a confirmation process on this, when user clicks o