Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Servlets and Tomcat/Apache

843835Feb 4 2003 — edited May 10 2005
Okay,

Tomcat 4.1 running with Apache.
Installed mod_jk, piece of cake.
JSPs run through Apache like a dream.
Tomcat examples ( jsp and servlets) run through Apache perfectly ( that is no :8080 business).

My JSP's run through Apache no problem. Works great.

My SERVLETS WILL NOT RUN THROUGH APACHE FOR ANYTHING.

My context looks like this in server.xml:

<Context path="/nuweb" docBase="/home/shared/nuweb" debug="0"
reloadable="true" crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="nuweb" suffix=".log"
timestamp="true"/>

</Context>

Note: that I am not under <TOMCAT_HOME>/webapps.

The reason is that I will, in production not be the Unix admin on the server. I will only have priviledges within my directory. I will not be able to drop war files in the webapps directory. I will not be able
to start and stop tomcat or apache ( there are 100 diffrent apache contexts on that machine and someday many of them will be going through tomcat for jsp and servlet support).

My servlets will only run if I put :8080/nuweb/servlet/HelloServlet in the URL. Take off the 8080 and I get Page not found. Not the tomcat 404 page, the Browswer 404 errror.

Here is my web.xml which lives in the WEB-INF directory of of /home/shared/nuweb

<?xml version="1.0" encoding="UTF-8"?>

<!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>HelloServlet</servlet-name>
<servlet-class>org.nu.servlet.HelloServlet</servlet-class>
</servlet>


<servlet-mapping>
<servlet-name>HelloServlet</servlet-name>
<url-pattern>/hello</url-pattern>
</servlet-mapping>


<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>

</web-app>

In devlopment I am on a system that is very close to what the production server will look like ( Tomcat 4.1 same version of Apache, same Unix ). In development I can restart all the servers edit server.xml etc. On the production I would have to schedule that stuff. I want to be able to compile classes and drop them in the WEB-INF/classes... directory and have them run. Is that too much to ask?




Comments

920799
Done ....

My account -- > configure the device
user4531066
Hello,

Any chance you could post the instructions to create a "dashboard" device? It's not in any of th edocumentation.

Thanks!
user12068228
Hi
Did you find a solution for this? I have the same problem. I configured e-mail settings and use system subject area. Sending Agents via E-Mail is working. But sending Agents to the user homepage gives me the error: "Device (dashboard) is not set in..."
Thank you
User_5TGU6
Hi,

Can you kindly elaborate your solution.. Coz i am getting the same error and going crazy on it..
Plz do the needfull
Mark.Thompson
I guess nobody ever told him that it's nice to share.
Mark.Thompson
Throw us a bone here. How did you resolve this problem? Please tell us the steps to configure the user account so that we can send to a dashboard.
user12068228
Hi
I had the same problem in 11.1.1.6.1. In 11.1.1.6.2 BP1 it is gone.
Regards
Mark.Thompson
Not for me. I installed BP1 last weekend and I still can't send an alert to my dashboard. Did you do anything special to make it work?
user12068228
No nothing that I'd be aware of.
920799
Hi

Sorry for the delayed reply i havnt looked in to ibots for last few months...

Steps to configure device..

After login into analytics....click on ur username u used to login and select My Account..there u can Add email..

As for as i know u can do this only if u are sending ibots to few users...

we have to create SA system subject area as shown in below URL

http://oraclebizint.wordpress.com/2008/04/25/oracle-bi-ee-101332-sa-system-subject-area-autoloading-profiles-and-bursting/

please send a test mail to shekaready@gmail.com i will send u a doc with screen shots on how to add Device..


Apologies again...for the delayed reply
Mark.Thompson
I'm sorry, I don't understand why you are telling me how to add an e-mail device. Sending to e-mail isn't a problem. It's sending the alert to the dashboard that isn't working.
RockITCity
I have saw the same issue after upgrading to 11.1.1.6.2. BP1 and found the following:

http://obirockit.blogspot.com/2012/08/obi-11g-agent-messagedevice-dashboard.html
1 - 12
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 7 2005
Added on Feb 4 2003
7 comments
149 views