How to run jakarta-Tomacat-3.2.3
jakarta-tomcat-3.2.3 is aleready installed in /root/ directory (linux)
now only i know it is for servlets.plz any one hepl me how to
run tomcat and where should store servlet programs and how to execute,run
these servlet programs
with regards!
chandra
Go to C:\jakarta-tomcat-3.2.3\bin and double click on startup.
Store your compiled servlet classes in C:\jakarta-tomcat-3.2.3\webapps\examples\WEB-INF\classes.
call the servlet like http://localhost:8080/examples/servlet/YourClassname.
You can also store the classes in other directories, but u have to set it at the server.
best of luck!!!
Similar Messages
-
How to run start.sh file of Tomcat4.0.1 on Mac os 8.6
Hi there,
Iam new to Mac operating system and iam trying to work on Mac os 8.6.I am trying to install Tomcat on Mac os 8.6.For that I download jakarta-tomcat-4.0.1.tar from appache site.I also extract it in my desktopfolder directly.For running start.sh file I prepare my own Tomcat_Start.sh like that:-
(#!/bin/sh
export CATALINA_HOME=/sun/desktopfolder/jakarta-tomcat-4.0.1
export JAVA_HOME=/sun/desktopfolder/MRJSDK 2.2/Tools/JDK Tools)
In Mac os 8.6 I installed MRJ2.2.4(based on jdk1.1.8) and MRJ SDK 2.2 for Java runtime enviornment.I tried with one java file and it is working perfectly that means JVM working perfectly.But I don't know how I run this Tomcat_Start.sh file on Mac.I already worked with Tomact on Windows operating system.In windows I excecute start.bat file on Dos-prompt.Can any one tell how and where I can execute my Tomcat_Strat.sh file on Mac os 8.6.And which version of Tomact support MRJ2.2.4 which is based on jdk1.1.8. It is required for my one application to install Tomcat on Mac.Presently Iam working On WinNT4.0.Any Help will be highly appreciated.
Thanks for ur Valuable Time
BikashIam new to Mac operating system and iam trying to work
on Mac os 8.6.I am trying to install Tomcat on Mac os
8.6.For that I download jakarta-tomcat-4.0.1.tar from
appache site.I also extract it in my desktopfolder
directly.For running start.sh file I prepare my own
Tomcat_Start.sh like that:-.sh files are usually Shell scripts for UNIX shells. I don't think Mac OS 8.6 has a shell interpreter (could be wrong. :/) so getting it to work is going to be difficult, if not impossible.
If you have Mac OS X, however, I believe it could work on there. Not sure of exact details though.
Bhav -
Hi frnds,
i am working on Jsp Tag Small example ..I wrote one JSP file,One .tld file and one .java files .That java file is compiled properly.While running that program i am getting error as below:
1..org.apache.jasper.JasperException: /Date.jsp(7,7) Unable to load tag handler class "tagexamples.PageVisitTag" for tag "test:pageVisit"
Here with i sent my File Structure and Source file also :
1.Date.jsp
<%@ page language="java" import ="java.util.Date" %>
<%@ page import="tagexamples.*" %>.
<html>
<title>Simple Date Tag</title>
<body>
<%@ taglib uri="/pageVisit.tld" prefix ="test" %>
<h2> <test:pageVisit /></h2>
<h2> Current System Date is <%= new Date().toString() %></h2>
</body>
</html>
2.pageVisit.tld
<?xml version="1.0" encoding ="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "=//Sun.Microsystems,Inc.//DTD Jsp Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>date</shortname>
<info>
A simple tag Library for example
</info>
<tag>
<name>pageVisit</name>
<tagclass>tagexamples.PageVisitTag</tagclass>
<bodycontent>empty</bodycontent>
<info>
This tag Output the LastTime u have viisted the page in the Last MOnth..
This tag Ocntains empty Body and no attributes
</info>
</tag>
</taglib>
3.PageVisitTag.java
package tagexamples;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import java.util.Date;
import java.io.IOException;
public class PageVisitTag extends TagSupport
public int doStartTag() throws JspTagException
Cookie info = null;
String msg = "This is the First time u have Visited this page" ;
//Get all Cookine s that Came from the Request
Cookie[] cookies = ((HttpServletRequest)pageContext.getRequest()).getCookies();
for (int i=0;i< cookies.length;i++)
info = cookies;
if(info.getName().equals("MyCookie"))
found = true;
break;
}//for
String newValue =""+System.currentTimeMillis();
if(!found)
//Create a new Cookie and set its age
info = new Cookie ("MyCookie",newValue);
info.setMaxAge(60*1);
info.setPath("/");
((HttpServletResponse)pageContext.getResponse()).addCookie(info);
}else {
long conv = new Long(info.getValue()).longValue();
msg = "U Last visited this site on "+new Date(conv);
//Set the new value of the Cookie and adddd it to the Response
info.setValue(newValue);
info.setMaxAge(10*24*60*60); //keep the cookie for One Month
//Set the Path so that the Cookie is available everywhere on the Server
info.setPath("/");
((HttpServletResponse)pageContext.getResponse()).addCookie(info);
} //else
try{
JspWriter out = pageContext.getOut();
out.write(msg);
}catch(IOException e){
throw new JspTagException("JspWriter not There :"+e);
return SKIP_BODY;
}//doStartTag ends
public int doEndTag() throws JspTagException {
if(!found){
//Don't Compare current and Cookie time this time
return SKIP_PAGE;
}else {
return EVAL_PAGE;
}//doEnd Tag ends
boolean found = false;
} //Class ends
while running the above files in Tomcat it giving above error:
i am running by:
http://localhost/TagExamples/Date.jsp
and
I kept files in the below Structre order.
My file Structure is :
D:\jakarta-tomcat-5.0.16\webapps\TagExamples\WEB-INF\classess\tagexamples\PageVisitTag.java
D:\jakarta-tomcat-5.0.16\webapps\TagExamples\Date.jsp
D:\jakarta-tomcat-5.0.16\webapps\TagExamples\pageVisit.tld
Just tell me is it Correct ..? and what is the Problem in COding and how to run a Tag Library
If anybody know the Solution just reply .send me the mail
[email protected]
with regards,
Ramesh P
98459 35822Do (dir if on windows, ls if on *nix) and you will probably see an A directory in the A directory. That came from your last compilation attempt. Remove it and everything in it. Now,
cd ..
javac A/Convertible.java
java A.Convertible -
How to run Struts applications in NWDS?
Hi All,
I am new to SAP Netweaver developer studio.
I run the java applications like servlets and jsps.
But I want to know how to run Struts in netweaver.
I am using netweaver 2004.
Please can you tell me how to run Struts?
Thanks in AdvanceHi,
Check this Blog
/people/narayanaswamy.balasubramaniam/blog/2005/02/26/using-jakarta-struts-in-web-application-server-part-i
/people/narayanaswamy.balasubramaniam/blog/2005/02/26/using-jakarta-struts-in-web-application-server-part-ii
Regards
Ayyapparaj -
HOW TO RUN ADOBE READER IN MACBOOK PRO
HOW TO RUN ADOBE READER IN MACBOOK PRO
Please stop using caps. It is considered shouting and rude.
You need to download the program. The reader runs when needed.
Barry -
How to run 'Get-AssignedAccess' or 'Set-AssignedAccess' power shell commands in c# Application
Hi,
I have console application using which i am trying to run power shell command like 'Get-AssignedAccess' or 'Set-AssignedAccess'.
i am using below code for this it is throwing exception 'Get-AssignedAccess' doesn't exist in cmdlet which is correct because these commands belongs to function category.
using (PowerShell pwInstance = PowerShell.Create())
pwInstance .AddScript("Get-AssignedAccess");
var result = pwInstance .Invoke();
How can we execute this kind of command using c#?
Thanks,Hi prakashlight,
Thank you for comming back and tell us the result. For more information about how to run PowerShell script in C# language, you can refer to this blogpost here:
Executing PowerShell scripts from C#
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hi
Does anyone know How to run twin monitors on a MacBook Pro operating on a Windows Server 2008 R2 ?I know this doesn't help you much, but, I think you have to see if your Mac pro does audio out via HDMI. I don't even know if mine does via DVI. I think it may have to do with the adapter. Try going into Audio MIDI and setting the digital out to multichannel
and using the toslink cable for now. Lemme see...apparently DVI does not carry audio at all. Hm. apparently monoprice could be helpful? If I understand what you're saying correctly: you want to take DVI and multichannel audio via the Toslink and have it all go out over HDMI, right? Whooo..... amazon...looks like it's about $100http://www.amazon.com/Audio-SPDIF-Toslink-Converter-Adapter/dp/B0015YYOQQ
just a shot in the dark
I'm probably wrong....or not
John B -
How to run expdp from client ?
Hi All,
I tried searching google and forums for my issue but to no avail > How to run expdp from client side ....like in my laptop.
Because currently our PROD database server has no space for expdp dump file. So I want it directed to my laptop which has an extenal USB of 1TB harddisk...via client EXPDP
import data using impdp command
Posted on: 08-May-2012 11:36, by user: 841731 -- Relevance: 53% -- Show all results within this thread
below command is correct or not? if it is not correct could you please send me the correct command. impdp user/pass@databasename schemas=sourceschemaname remap_schema=sourceschemaname:destinationschemaname ...
System generated Index names different on target database after expdp/impdp
Posted on: 30-May-2012 11:58, by user: 895124 -- Relevance: 43% -- Show all results within this thread
After performing expdp/impdp to move data from one database (A) to another (B), the system name generated indexes has different ...
[ETL] TTS vs expdp/impdp vs ctas (dblink
Posted on: 08-May-2012 21:10, by user: 869578 -- Relevance: 39% -- Show all results within this thread
(table : 500 giga, index : 500 giga), how much faster is TTS (transportable tablespace) over expdp/impdp, and over ctas (dblink) ? As you know, the speed of etl depends on the hardware capacity. (io ...
Oracle Client
Posted on: 21-Jun-2012 22:47, by user: Sh**** -- Relevance: 32% -- Show all results within this thread
Hi Guys, Please can you guys elaborate the difference between Oracle Client and Oracle Instant Client. Also, please can you advise from where I can download the Oracle normal ...
Oracle 10g Client
Posted on: 05-Jun-2012 10:11, by user: dzm -- Relevance: 26% -- Show all results within this thread
to search at oracle site and this forum, but i wasn't able to find a link to download the oracle 10g client. I really need especificaly the 10g version. Anybody know the link or another way to download ...
9i client to access 11g database
Posted on: 22-Jun-2012 07:31, by user: kkrm333 -- Relevance: 24% -- Show all results within this thread
Hi, Can i access a 11g database using 9i client? Thanks,
SQLplus in Oracle Client
Posted on: 14-Jun-2012 00:36, by user: Tim B. -- Relevance: 24% -- Show all results within this thread
Hi, I tried to install an 11g oracle client in linux. As I've compared the files with the files when you install using the oracle instant ...
Re: Information on Oracle Client 11202-1.1.4-6
Posted on: 05-Jun-2012 03:33, by user: 898763 -- Relevance: 23% -- Show all results within this thread
Actually thats the client requirement
Analysing the performance of a single client
Posted on: 28-Mar-2012 02:05, by user: 880172 -- Relevance: 23% -- Show all results within this thread
timeouts even on some of the simplest queries. I want to try and get some data about how just this one client is performing and what it’s doing, but everything Google has thrown up so far is orientated around ...
to make client connection as sys
Posted on: 12-Jun-2012 22:04, by user: user11221081 -- Relevance: 23% -- Show all results within this thread
Dear gurus can i connect to my server from my client machine with sysdba without giving sys password i have connected in different ways as sys@abc ...Thanks a lot.Though you can initiate the binary from your client side but for the file creation, there is no other way but to store it on the server side. So your best bet would be to get some space free on the server side of yours.
Aman.... -
How to run a Concurrent Program from the back end?
Hi,
How to run a Concurrent Program from the back end?
Is it Possible to see that Concuurent Request id which we run from the back end, in the front end?
If yes, then Please Give reply how to write the code
Thanks in Advance,
Bharathi.SThis is documented in Chapter 20 of the Application Developers Guide http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121devg.pdf. These MOS Docs also have some information available
221542.1 - Sample Code for FND_SUBMIT and FND_REQUEST API's
235359.1 - How to Launch Planning Data Pull MSCPDP using FND_REQUEST.SUBMIT_REQUEST
HTH
Srini -
How to run a report from oracle 10g form in .csv format
dear all,
how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
i'm using
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
Please Help..i have already tried.
but the report show in htm or html format. that file will not save into csv. please help. -
How to run a script on Oracle server from isqlplus
Hi I am trying to run a script on my workstation from Oracle server through isqlplus workarea. I entered following command and get the following error. i have enabled isqlplus URL by editing web.xml file already. Can please someone help how to run the script?
@http://myaixserver.com:5560/scripts/Databasestartupstages.sql;
SP2-0920: HTTP error 'page not found (505)' on attempt to open URLSo far, you haven't specified your rdbms version and isqlplus behaved differently on a 9iR1, 9iR2 from the one release on 10gR1/R2. on 9i it was a servlet based on a JServ servlet executor machine, meanwhile on 10g it is a J2EE compliant application deployed on an OC4J container, so configuration is different.
You may want to take a look at these references -->
* Starting iSQL*Plus from a URL
* Creating Reports using iSQL*Plus
~ Madrid -
How to run the form that is only installed on a PC and not using a server?
Hi
I am new to Oracle and have taken the forms class. But I do not understand how to run the form from my PC using XP windows. (Do not have access to a server).
I have started the OC4J, made sure the listener was started, compiled the form and then when I run it, it automatically goes to the HTTP:
ERROR: res://ieframe.dll/acr_depnx_error.htm#,http://kevin:8889/forms/frmservle
I connected to the database correctly. I can process a report and it does nor try to access the internet. My only issue is running the form. I verified it compiled.
Sorry for a basic question. Could someone please help, I tried reviewing other questions, but not sure if they are connecting to a server or not.
I see webutil but is it required if I don't have a server? Thank you in advance.Regardless of the version, it appears that you may not have configured the Builder. Do the following:
1. Open the Builder
2. From the menu, select Edit > Preferences > Runtime
3. In the box labeled "Application Server URL:", enter a local URL needed to run a form OR click the button labeled "Reset to Default". If you decide to manually enter a value, it would looks something like this:
http://localhost:8889/forms/frmservlet
4. In the field labeled "Web Browser Location:", enter the path and executable to your preferred browser. So for example if IE is your browser of choice the entry would most likely look like this:
C:\Program Files\Internet Explorer\IEXPLORE.EXE
5. Click on OK and retest.
By the way, you can manually enter a URL in the browser. Clicking the RunForm button from the Builder is strictly optional. To run the "test" form directly from the browser enter the following into the browser's address field:
http://localhost:8889/forms/frmservlet?form=test
More information about Forms can be found on OTN:
http://www.oracle.com/technology/products/forms/index.html -
How to run SmartCard Application on PC
hi,
i want to know how to convert class file into a CAP file and how to run on PC a smartCard Application. when i use converter use from command prompt then it will ask the AID how i get the AID at Conversion time. pls tell me the procedure for Convert and run the application on PC.
pls help me.You can use the suggestions in the below blog to test your app on another PC.
http://blogs.msdn.com/b/patricka/archive/2012/11/05/how-do-i-deploy-a-windows-8-app-to-another-device-for-testing.aspx -
How to run the PioneerCyclingJSP and MotorPriseJSP modules at a time
Guys,
I would like to run the PioneerCyclingJSP and MotorPriseJSP modules at a time.
Could you please suggest me the steps to run both servers at same time on JBOSS 5.0 with ORACLE.
How to run a more that one server instance...
Thank youYou should be able to include both modules when building your ear file. Then both the module's war files will be created in the ear file. Access both the applications with their respective /PioneerCycling or /motorprise ( look for context root in application.xml)
If you want to run each application on different server, then
1. create 1 individual instances of jboss server for pioneer and another for motorprise
2. create additional dynamo server using command makeDynamoServer.bat motorprise 8861 8851
3. deploy each one on respective server folders in jboss
Use the appropriate ports to access ( say for ex:)
localhost:8860/pioneer
or
localhost:8861/motorprise
-karthik -
How to run a job in background programatically after 10 sec
Hi Forum,
Can anyone tell me How to run a job in background programatically after 10 sec..
Thanks in advanceHi,
Here is the example code
*Submit report as job(i.e. in background)
data: jobname like tbtcjob-jobname value
' TRANSFER TRANSLATION'.
data: jobcount like tbtcjob-jobcount,
host like msxxlist-host.
data: begin of starttime.
include structure tbtcstrt.
data: end of starttime.
data: starttimeimmediate like btch0000-char1.
* Job open
call function 'JOB_OPEN'
exporting
delanfrep = ' '
jobgroup = ' '
jobname = jobname
sdlstrtdt = sy-datum " You need to give the Date for execution the Job
sdlstrttm = sy-uzeit " You need to give the Time for execution the Job
importing
jobcount = jobcount
exceptions
cant_create_job = 01
invalid_job_data = 02
jobname_missing = 03.
if sy-subrc ne 0.
"error processing
endif.
* Insert process into job
SUBMIT zreport and return
with p_param1 = 'value'
with p_param2 = 'value'
user sy-uname
via job jobname
number jobcount.
if sy-subrc > 0.
"error processing
endif.
* Close job
starttime-sdlstrtdt = sy-datum + 1.
starttime-sdlstrttm = '220000'.
call function 'JOB_CLOSE'
exporting
event_id = starttime-eventid
event_param = starttime-eventparm
event_periodic = starttime-periodic
jobcount = jobcount
jobname = jobname
laststrtdt = starttime-laststrtdt
laststrttm = starttime-laststrttm
prddays = 1
prdhours = 0
prdmins = 0
prdmonths = 0
prdweeks = 0
sdlstrtdt = starttime-sdlstrtdt
sdlstrttm = starttime-sdlstrttm
strtimmed = starttimeimmediate
targetsystem = host
exceptions
cant_start_immediate = 01
invalid_startdate = 02
jobname_missing = 03
job_close_failed = 04
job_nosteps = 05
job_notex = 06
lock_failed = 07
others = 99.
if sy-subrc eq 0.
"error processing
endif.
Regards
Sudheer
Maybe you are looking for
-
I am hoping that Creative can built their next generation X-Fi into the speakers , home entertainment system and so on one day instead of solely dependant on the PC. It should also make use of Zii to make up on the shortfalls of X-Fi to process very
-
Problem XI 2.0 java.lang.ClassNotFoundException
We are trying to connect a DB2 system to XI via adapter. We get java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.net.DB2Driver error when we try the restart. CLASSPATH includes the .jar and .zip fies for the DB2 JDBC driver. xidadm> echo $CLASSPATH
-
OIA 11g Certification accounts delegation by individual accounts and roles?
Hi Can any one please clarify on this? Is Oracle identity Analytics 11.1.1.5 patch1 is supporting account wise delegation or role wise delegation in certifications? If not any other patch is going to help this? In other words can attestor delegate so
-
Just had a guest user appear in user group
Anybody help on this one a user as appeared in my users group listed as Guest User
-
Custom icons cause memory error on exit, XP-SP3
I previously posted this under the heading of: "referenced memory could not be read" There were no real answers. I have now found that the problem crops up only if I use a custom icon and only on our XP-SP3 machines. No problem when using the defau