Tomcat 4.0.3 SSL - no yellow lock in IE6
Hi Guys I have TC 4.0.3 with its SSL enabled on port 443, but I cannot get the little yellow lock to display on IE6. For example - if i look at https://mydomain.com the lock doesn't appear, but if I double click where the lock should be I get the certificate information. BUT if I am browsing a directory on the server (I have directory browsing enabled) - the lock appears! Anyone have any ideas?? - All would be greatly appreciated. In my server.xml file I have: Connector className=org.apache.catalina.connector.http.HttpConnector port=443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory clientAuth=false protocol=TLS/ /Connector Thanks folks! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
HSQLDB JDBCRealm
Hi, I'm trying to get HSQLDB (1.6) working as the database behind the JDBCRealm, and have got most of the way there, but I seem to have a problem setting the username and password for when Tomcat connects to the database, and I'm getting a 'Cannot find user' error message as Tomcat loads. It's definitely finding the database and the hsqldb.jar. I've tried appending user=xxxpassword=yyy to the end of the URL, but then Tomcat can't find the database.properties file. I suspect that I need to put the username and password into a properties file (maybe), but can anyone tell me what I need to do, since trial and error on this one is taking a lot of time. Many thanks. Dig The information in this e-mail and any attachments (the 'e-mail') is confidential and intended solely for the addressee(s) named above. This e-mail may be subject to legal professional or other privilege or legal rules. The unauthorised use, disclosure or copying of the e-mail is prohibited. If you are not the intended recipient, or a person responsible for delivering the e-mail to the intended recipient you must not disclose, copy, distribute or retain this e-mail or any part of it. This e-mail does not, directly or indirectly, represent financial advice. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Please help me on a question about TOMCAT OR APACHE + TOMCAT
Subject: Please help me on a question about TOMCAT OR APACHE + TOMCAT From: Hyunjin Kim [EMAIL PROTECTED] === all my web pages will be in jsps (to use include). Should I still use Apache in front of TOMCAT? won't it be better to use tomcat only in my case?(although I will still use images and other medias) I think coming through apache and talking to tomcat via a connector is more pricey in my case... and also.. if i choose to use tomcat only.. (stand-alone).. can i use name virtual host?? It seems like Host tag in server.xml is for that purpose.. but there's very vew documentations on how to configure server.xml file for tomcat-stand alone + name virtual host.. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
integrating TOMCAT 4.0 with APACHE 2.0
has anybody successfully integrated Apache 2 with Tomcat 4? If yes, how did you do it, I can't figure it out. If it's RTFM - which part, I couldn't find it in the docs... =** If you are not the intended recipient, employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination or copying of this communication and its attachments is strictly prohibited. If you have received this communication and its attachments in error, please return the original message and attachments to the sender using the reply facility on e-mail. Internet communications are not secure and therefore the UCLES Group does not accept legal responsibility for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of the UCLES Group unless otherwise specifically stated. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses although this does not guarantee that this email is virus free. **= *** If you are not the intended recipient, employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination or copying of this communication and its attachments is strictly prohibited. If you have received this communication and its attachments in error, please return the original message and attachments to the sender using the reply facility on e-mail. Internet communications are not secure and therefore the UCLES Group does not accept legal responsibility for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of the UCLES Group unless otherwise specifically stated. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses although this does not guarantee that this email is virus free. ***
RE: NIGHTMARE
Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE days trying to make it work without success. You should've asked for help sooner then, rather than wait till you were so mad all you could do was vent... that's what the list is for. That's help, not venting ;-) J. -- You're only jealous cos the little penguins are talking to me. *** For more information on Ordnance Survey products and services, visit our web site at http://www.ordnancesurvey.co.uk *** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: jk_nt_service fails (error 1067)
I have ISA server to block all 8080 http requests coming from the Internet, but nothing else that has to do with that port. I have no errors in my log files. Tomcat starts fine and I can access Tomcat directly on port 8080. I can also access my website (port 80). But when I try to open a jsp page it is treated as a file. /Alexander Höglind - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 6:23 PM Subject: RE: jk_nt_service fails (error 1067) Have you looked for a port conflict or tried starting tomcat on a different port? -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 9:19 AM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
System.out disappears in filter wrapping
Hi all, I'm trying to fiddle about a bit with filters in Tomcat 4.0.3 connected to Apache 1.3.19 using mod_webapp. The connection is fine, as other servlets and jsp's are continuing to run perfectly fine. I have a filter that takes a servlet request/reponse pair and wraps the request using a HttpServletRequestWrapper. That HttpServletRequestWrapper re-implements the getParameter(String s) method. The first line in this new getParameter() is a System.out.println that echoes the parameter being requested (for debugging purposes). However, that println never seems to appear, either in the catalina.out or on the console when run using the 'run' rather than the 'start' command. The reason for wanting to do that debugging is that the wrapper is there to provide a layer over a servlet. The servlet performs certain activities based on a single request parameter. To provide a simple interface, filters are being used to allow different methods of specifying what to perform, so each filter looks at a separate parameter, and returns an appropriate value when the original parameter is request - The servlet asks for parameter 'x', so the wrapper looks at parameter 'y' and returns an appropriate value for x. The problem was that the modifications from 'y' were never returned, so I wanted to check that the new method was being called. Can anyone give me a reason why this System.out line is disappearing into the ether? Thanks all, Lloyd Colling This email and any attachments are confidential and intended for the addressee only. If you are not the named recipient, you must not use, disclose, reproduce, copy or distribute the contents of this communication. If you have received this in error, please contact the sender and then delete this email from your system. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Content-Encoding - URGENT Please
Strange... if you have example webapp then you should have this class as well. Look at http://cvs.apache.org/viewcvs/jakarta-tomcat-4.0/ and browse to webapps/examples/WEB-INF/classes/filters The class is there. with best wishes, Taavi I could not find the specified class anywhere in the tomcat home folder. Do i need to download something else for this class?? Thanks Gulshan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: NullPointerException when using JDBC ResultSet next() method
Maybe reading the code wrong but you're declaring the variable rs on the third line of doGet(...) but putting the return value of the stmt.executeQuery() in a variable called rset. Then you call next() on the original variable, which is null ;) A few other points: You are definately loading the driver otherwise a ClassNotFoundException would be thrown from Class.forName(...). You also would not have been able to get a Connection or prepare a Statement object. Mixing application logic and presentation code in a servlet can lead to a maintenance nightmare. You can use custom jsp iterator tags to separate out the application code. We use these a lot ;) Also, from a maintenance point of view you may want to encapsulate the database connection/sql generation code into domain specific classes. The connection parameters and, possibly, the sql could then be placed in configuration files. Makes changing database easy ;) Hope this helps, Jon -Original Message- From: Philip Kazmier, CEM RD [mailto:[EMAIL PROTECTED]] Sent: 08 April 2002 22:55 To: 'Tomcat Users List' Subject: RE: NullPointerException when using JDBC ResultSet next() method I apologize but I posted the wrong code. Here is the correct code. Line 45 is rs.next. I am not sure that the driver has loaded properly. How can I tell? Thanks. import java.io.*; import java.sql.*; import javax.servlet.*; import javax.servlet.http.*; public class ListAllOpenBugs extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { Connection con = null; //Statement stmt = null; ResultSet rs = null; int i = 0; res.setContentType(text/html); PrintWriter out = res.getWriter(); try { // Load Oracle driver //DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver()); // Load the MySQL driver Class.forName(org.gjt.mm.mysql.Driver); // Connect to the local database //Connection conn = //DriverManager.getConnection(jdbc:oracle:thin:172.24.230.20:1521:ORCL, system, manager); // Get a connection to the database con = DriverManager.getConnection(jdbc:mysql://localhost:3306/pssoftware?user=phi lkpassword=kirov); // Query the employee names Statement stmt = con.createStatement (); //ResultSet rset = stmt.executeQuery (select b.bug_row_id, b.status, ps.name, b.short_desc, b.date_opened from bug b, ps_software ps where b.software_id = ps.pss_row_id and b.status = 1); ResultSet rset = stmt.executeQuery (select sc_id from bug_status_codes); // Display the result set as a list out.println(HTMLHEADTITLEAll Open Bugs/TITLE); out.println(LINK REL=STYLESHEET HREF=\..\\NICEStyle.css\); out.println(/HEAD); out.println(BODY); out.println(TABLE); while(rs.next()) { // if (i == 1) // { // i=0; //out.println(TRTD + rs.getString(bug_row_id) + /TDTD + rs.getString(name) + /TDTD + rs.getString(status) + /TDTD + rs.getString(date_opened) + /TDTD + rs.getString(short_desc) + /TD/TR); //out.println(TRTD + rs.getString(bug_row_id) + /TD/TR); out.println(TRTD + rs.getString(sc_id) + /TD/TR); // } // else // { // i=1; //out.println(TRTD + rs.getString(bug_row_id) + /TDTD + rs.getString(name) + /TDTD + rs.getString(status) + /TDTD + rs.getString(date_opened) + /TDTD + rs.getString(short_desc) + /TD/TR); //out.println(TRTD + rs.getString(bug_row_id) + /TD/TR); // } } out.println(/TABLE); out.println(/BODY/HTML); } catch (ClassNotFoundException e) { out.println(Couldn't load the database driver- + e.getMessage()); } catch(SQLException e) { out.println(SQLException caught: + e.getMessage()); } finally { try { if (con != null)
RE: Adobe Acrobat
Or alternatively use a printer driver that produces pdf files (Adobe Acrobat or Xeon Docucom are two) and print to file from the servlet, then return the file produced. The other suggestions are probably neater and open source but this does definitely work :-) Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original Message- From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 10:39 PM To: Tomcat Users List Subject: Adobe Acrobat Hi: How do I render my html pages to pdf for printing. My servelet generated html table is too wide and columns get cut off if I print directly using the print icon on the browser... Thanks -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.343 / Virus Database: 190 - Release Date: 22/03/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.343 / Virus Database: 190 - Release Date: 22/03/02 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
mySQL+tomcat 4 ?
hello i installed tomcat v 4.0 (before i used tomcat 3.1) so now i can't configure it for MySQL. if i start tomcat 3.1 servlets work perfectly,but not in tomcat 4 i was trying setup as your documentation says - no results how i can connect this tomcat with mySQL ??? thanks __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
HTTP Tunnel
Hi everybody, I'm looking to make an HTTP tunnel servlet or jsp page that will keep the user connected consistently rather than it disconnecting and re-connecting each time a request is sent. Could anyone help me out here? Stuart -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Content-Encoding - URGENT Please
Hi Taavi, I could not find the specified class anywhere in the tomcat home folder. Do i need to download something else for this class?? Thanks Gulshan - Original Message - From: Taavi Tiirik [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Cc: Mohammed Ibrahim [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 1:40 AM Subject: Re: Content-Encoding - URGENT Please Gulshan, Please take a look at /tomcat/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter. java This filter should solve your problem. Documentation should be self-explanatory. If you get stuck anywhere do not hesitate to ask. with best wishes, Taavi Hi Randy, Thanks for the quick response. I tried using response.setContentType() method but it works the same way as %@ page % tag and tried to convert the page content to UTF. since the content is already in UTF it gets messed up. Is there a way we can set the default encoding header sent by the server to the browser to utf-8? Thanks Gulshan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: NIGHTMARE
Ever heard of Opera? Now that works Damn well. Dominic Parry B.Sc. (Computer Science, Information Systems) B.Sc Hons Computer Science M.Sc. I Computer Science Rhodes University - Original Message - From: Martin Mauri [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 10:34 PM Subject: Re: NIGHTMARE Yes I know. I have 6.22 and it works fine, though it's pretty heavy to start up. Once it's up is damn good. And the interface rocks! - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 5:33 PM Subject: RE: NIGHTMARE Well Netscape is still around and version 6.22 is damm good. Remember Netscape is part of the Sun/AOL alliance. -Original Message- From: Martin Mauri [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 12:55 PM To: Tomcat Users List Subject: Re: NIGHTMARE Anyway I have a little scare about M$ strategies. Figure out that they always have something under the hood. Remember the fight against IExplorer and Netscape Navigator, who won? - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 4:51 PM Subject: RE: NIGHTMARE As usual, by the time they figure it out, it will be a fact two years deep. -Original Message- From: Kemp Randy-W18971 [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 11:22 AM To: Tomcat Users List Subject: RE: NIGHTMARE While I am a big J2EE fan, I wonder if Microsoft has heard this news? -Original Message- From: Timlin, Bob [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 12:20 PM To: Tomcat Users List Subject: RE: NIGHTMARE Except PHP has no FUTURE. The whole world is moving to J2EE. -Original Message- From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 10:14 AM To: Tomcat Users List Subject: Re: NIGHTMARE Good move! If you find Tomcat hard, you need to stick to PHP. At 01:22 PM 4/8/02 +, you wrote: Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE days trying to make it work without success. Endless configuration files, paths, etc. making this a impossible software to use. I doubt I'm the only one who has complaint. I won't use this crap, I'm switching to PHP, took me 5 minutes to figure that out. || ||| Árni Arent Guðlaugsson Forritari og Autonomy sérfræðingur Íslandsvefir ehf. Thorvaldsensstræti 4 101 Reykjavík / Iceland -- Tel: +354 552 6300 Fax: +354 552 6302 E-mail: [EMAIL PROTECTED] http://www.islandsvefir.is/ http://www.ha.is/ Bættu ha.is á vefsíðuna þína: http://www.ha.is/almennt/tenging.asp || ||| -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.0.3 SSL - no yellow lock in IE6
Gary, This is not a TC issue. It is how IE treat local names. Goto to Security and change settings so that all names are treated as Internet and no Intranets Anders - Original Message - From: Gary McGowan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 09:47 Subject: Tomcat 4.0.3 SSL - no yellow lock in IE6 Hi Guys I have TC 4.0.3 with its SSL enabled on port 443, but I cannot get the little yellow lock to display on IE6. For example - if i look at https://mydomain.com the lock doesn't appear, but if I double click where the lock should be I get the certificate information. BUT if I am browsing a directory on the server (I have directory browsing enabled) - the lock appears! Anyone have any ideas?? - All would be greatly appreciated. In my server.xml file I have: Connector className=org.apache.catalina.connector.http.HttpConnector port=443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory clientAuth=false protocol=TLS/ /Connector Thanks folks! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Content-Encoding - URGENT Please
Gulshan, Please take a look at /tomcat/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter. java This filter should solve your problem. Documentation should be self-explanatory. If you get stuck anywhere do not hesitate to ask. with best wishes, Taavi Hi Randy, Thanks for the quick response. I tried using response.setContentType() method but it works the same way as %@ page % tag and tried to convert the page content to UTF. since the content is already in UTF it gets messed up. Is there a way we can set the default encoding header sent by the server to the browser to utf-8? Thanks Gulshan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: NullPointerException when using JDBC ResultSet next() method
rs is NOT Being set -- you are getting the results into rset so use rset.next() etc. Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original Message- From: Philip Kazmier, CEM RD [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 10:55 PM To: 'Tomcat Users List' Subject: RE: NullPointerException when using JDBC ResultSet next() method I apologize but I posted the wrong code. Here is the correct code. Line 45 is rs.next. I am not sure that the driver has loaded properly. How can I tell? Thanks. import java.io.*; import java.sql.*; import javax.servlet.*; import javax.servlet.http.*; public class ListAllOpenBugs extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { Connection con = null; //Statement stmt = null; ResultSet rs = null; int i = 0; res.setContentType(text/html); PrintWriter out = res.getWriter(); try { // Load Oracle driver //DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver()); // Load the MySQL driver Class.forName(org.gjt.mm.mysql.Driver); // Connect to the local database //Connection conn = //DriverManager.getConnection(jdbc:oracle:thin:172.24.230.20:1521:ORCL, system, manager); // Get a connection to the database con = DriverManager.getConnection(jdbc:mysql://localhost:3306/pssoftware?user=phi lkpassword=kirov); // Query the employee names Statement stmt = con.createStatement (); //ResultSet rset = stmt.executeQuery (select b.bug_row_id, b.status, ps.name, b.short_desc, b.date_opened from bug b, ps_software ps where b.software_id = ps.pss_row_id and b.status = 1); ResultSet rset = stmt.executeQuery (select sc_id from bug_status_codes); // Display the result set as a list out.println(HTMLHEADTITLEAll Open Bugs/TITLE); out.println(LINK REL=STYLESHEET HREF=\..\\NICEStyle.css\); out.println(/HEAD); out.println(BODY); out.println(TABLE); while(rs.next()) { // if (i == 1) // { // i=0; //out.println(TRTD + rs.getString(bug_row_id) + /TDTD + rs.getString(name) + /TDTD + rs.getString(status) + /TDTD + rs.getString(date_opened) + /TDTD + rs.getString(short_desc) + /TD/TR); //out.println(TRTD + rs.getString(bug_row_id) + /TD/TR); out.println(TRTD + rs.getString(sc_id) + /TD/TR); // } // else // { // i=1; //out.println(TRTD + rs.getString(bug_row_id) + /TDTD + rs.getString(name) + /TDTD + rs.getString(status) + /TDTD + rs.getString(date_opened) + /TDTD + rs.getString(short_desc) + /TD/TR); //out.println(TRTD + rs.getString(bug_row_id) + /TD/TR); // } } out.println(/TABLE); out.println(/BODY/HTML); } catch (ClassNotFoundException e) { out.println(Couldn't load the database driver- + e.getMessage()); } catch(SQLException e) { out.println(SQLException caught: + e.getMessage()); } finally { try { if (con != null) con.close(); } catch(SQLException ignored) { } } } }; -Original Message- From: August Detlefsen [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 1:19 PM To: Tomcat Users List Subject: Re: NullPointerException when using JDBC ResultSet next() method The stack trace says that your NullPointer occurs on line 45, but line 45 is blank. Is there some more code that you didn't ost? Import statements, perhaps? I think it probably happened here: stmt = con.createStatement(); -IE: You were not able to get a Connection, con is null and calling its methods will give you the NullPointer. Are you sure the driver loaded properly? ---
Re: Content-Encoding - URGENT Please
Hi Taavi, Could you please verify the path again as i cannot see the filters folder in classes? Also if you could please tell me what veresion of tomcat you are using? Thanks Gulshan - Original Message - From: Taavi Tiirik [EMAIL PROTECTED] To: Mohammed Ibrahim [EMAIL PROTECTED] Cc: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 2:15 AM Subject: Re: Content-Encoding - URGENT Please Strange... if you have example webapp then you should have this class as well. Look at http://cvs.apache.org/viewcvs/jakarta-tomcat-4.0/ and browse to webapps/examples/WEB-INF/classes/filters The class is there. with best wishes, Taavi I could not find the specified class anywhere in the tomcat home folder. Do i need to download something else for this class?? Thanks Gulshan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat4 / OpenLDAP - Encrypted connectionPassword in JNDI Realm (server.xml) - Please Help
Hi all, i searched the archives but could not come up with an answer for this. I have everything working for LDAP authentication on my server, and i've figured out how to include non plain text passwords everywhere except for the connectionPassword attribute of the Realm tag in the $CATALINA_HOME/conf/server.xml file. I would like to replace the MY_CURRENT_PLAIN_TEXT_PASSWORD string with an encrypted password for this configuration file, as everyone knows, this is otherwise a pretty good security hole. Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionName=cn=root,dc=MYDOMAIN,dc=ca connectionPassword=MY_CURRENT_PLAIN_TEXT_PASSWORD connectionURL=ldap://MYHOST:389; roleBase=dc=roles,dc=MYDOMAIN,dc=ca roleName=cn roleSearch=(uniqueMember={0}) roleSubtree=false digest=SHA userPassword=userPassword userPattern=uid={0},dc=MYDOMAIN,dc=ca / I've tried using this : java org.apache.catalina.realm.RealmBase -a {algorithm} {cleartext-password}, which is what i used to enter my passwords into my OpenLDAP server, but with this you specify the encryption algorithm with the digest attribute. Please help. How do i specify the algorithm and encrypted password for the connectionPassword attribute; and if you would..which tool do i use to create this password? Thanks a million!!! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Content-Encoding - URGENT Please
Could you please verify the path again as i cannot see the filters folder in classes? Also if you could please tell me what veresion of tomcat you are using? I am using 4.0.3. This filter may not be available for tomcat 3.2.x though. Full path to SetCharacterEncodingFilter is as follows: http://cvs.apache.org/viewcvs/jakarta-tomcat-4.0/webapps/examples/WEB-INF/cl asses/filters/SetCharacterEncodingFilter.java with best wishes, Taavi -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Encrypted Passwords on Tomcat 4.0.4b1 /Open LDAP Authentication in server.xml
Hi all, i searched the archives but could not come up with an answer for this. I have everything working for LDAP authentication on my server, and i've figured out how to include non plain text passwords everywhere except for the connectionPassword attribute of the Realm tag in the $CATALINA_HOME/conf/server.xml file. I would like to replace the MY_CURRENT_PLAIN_TEXT_PASSWORD string with an encrypted password for this configuration file, as everyone knows, this is otherwise a pretty good security hole. Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionName=cn=root,dc=MYDOMAIN,dc=ca connectionPassword=MY_CURRENT_PLAIN_TEXT_PASSWORD connectionURL=ldap://MYHOST:389; roleBase=dc=roles,dc=MYDOMAIN,dc=ca roleName=cn roleSearch=(uniqueMember={0}) roleSubtree=false digest=SHA userPassword=userPassword userPattern=uid={0},dc=MYDOMAIN,dc=ca / I've tried using this : java org.apache.catalina.realm.RealmBase -a {algorithm} {cleartext-password}, which is what i used to enter my passwords into my OpenLDAP server, but with this you specify the encryption algorithm with the digest attribute. Please help. How do i specify the algorithm and encrypted password for the connectionPassword attribute; and if you would..which tool do i use to create this password? Thanks a million!!!
Re: NIGHTMARE
No PAIN No GAIN. Some more PAIN could possibly give you more GAIN. Árni Arent wrote: Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE days trying to make it work without success. Endless configuration files, paths, etc. making this a impossible software to use. I doubt I'm the only one who has complaint. I won't use this crap, I'm switching to PHP, took me 5 minutes to figure that out. || ||| Árni Arent Guðlaugsson Forritari og Autonomy sérfræðingur Íslandsvefir ehf. Thorvaldsensstræti 4 101 Reykjavík / Iceland -- Tel: +354 552 6300 Fax: +354 552 6302 E-mail: [EMAIL PROTECTED] http://www.islandsvefir.is/ http://www.ha.is/ Bættu ha.is á vefsíðuna þína: http://www.ha.is/almennt/tenging.asp || ||| -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tru64 mod_jk compilation Problem
Hi all, I am trying to compile mod_jk.so on tru64 compaq unix but I am getting this error gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE -I/home5/staff/genepick/usr/apache/include -I../common -I/usr/opt/java131/includ e -I/usr/opt/java131/include/alpha -c ../common/jk_jni_worker.c In file included from ../common/jk_jni_worker.c:69: /usr/opt/java131/include/jni.h:38: #error Modules that interface with Java must be compiled and linked with the -pthread option apxs:Break: Command failed with rc=1 I tried to compile other JNI code with cc compiler with pthread option and that worked fine but withh gcc compiler I am not able to compile any JNI java code on TRU64 comapq using GCC compiler. Can you help me in this. Jayesh __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AW: NullPointerException when using JDBC ResultSet next() method
Your have 2 ResultSets: rs and rset. You assign to the rset but call rs.next(). So rs is null. -Ursprüngliche Nachricht- Von: Philip Kazmier, CEM RD [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 8. April 2002 23:55 An: 'Tomcat Users List' Betreff: RE: NullPointerException when using JDBC ResultSet next() method ResultSet rs = null; ResultSet rset = stmt.executeQuery (select sc_id from bug_status_codes); while(rs.next()) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: starting Tomcat 4.0.3 on Compaq Tru64 Unix
Hi, May be I didnt get the problem but normally if you set the JAVA_HOME and CATALINA_HOME enviourment variable it works... You can check that no other application is using port 8080 ... I hope that it will work becoz it does in my case. Jayesh --- Lee Newman [EMAIL PROTECTED] wrote: I'm having some problems starting Tomcat 4.0.3 on Compaq Tru64 Unix. I've looked for a FAQ that might address the problem, because it seems like this is probably a common beginner's issue, but I haven't been able to find any information that addresses this. The problem I'm seeing is, when I run startup.sh, Tomcat doesn't seem to be starting up. I get the following information written to the screen: Using CATALINA_BASE: /lcs/users/ewn/tomcat/jakarta-tomcat-4.0.3 Using CATALINA_HOME: /lcs/users/ewn/tomcat/jakarta-tomcat-4.0.3 Using CATALINA_TMPDIR: /lcs/users/ewn/tomcat/jakarta-tomcat-4.0.3/temp Using JAVA_HOME: /usr/opt/java131 and catalina.out shows: usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } Doing a ps -Af verifies that it's not running. I put echo in front of the command where Tomcat gets started to see what it's doing, and it shows: /usr/opt/java131/bin/java -Djava.endorsed.dirs=/lcs/users/ewn/tomcat/jakarta-tomcat-4.0.3/bin:/lcs/users/ewn/tomcat/jakarta-tomcat-4.0.3/common/lib -classpath /usr/opt/java131/lib/tools.jar:/lcs/users/ewn/tomcat/jakarta-tomcat-4.0.3/bin/bootstrap.jar -Dcatalina.base=/lcs/users/ewn/tomcat/jakarta-tomcat-4.0.3 -Dcatalina.home=/lcs/users/ewn/tomcat/jakarta-tomcat-4.0.3 -Djava.io.tmpdir=/lcs/users/ewn/tomcat/jakarta-tomcat-4.0.3/temp org.apache.catalina.startup.Bootstrap start I did notice that the temp directory /lcs/users/ewn/tomcat/jakarta-tomcat-4.0.3/temp didn't exist after I unpacked the installation, so I created it, but that didn't seem to have an effect. I also tried running it under csh (usually I use ksh) because we have some other software here that does need to be run under csh, but that didn't seem to help, either, unfortunately. I've been searching through the archives of this list looking to see if anyone else has had this problem and did see one person who requested help, Dieter Lunn -- if you've solved the problem you had, would you be willing to share what you did to fix it or give me any hints on what I could look into to help track this down? Thanks very much! Lee Newman, [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
OT: Question to hardware requirements
Hi, I have a question to some experienced servlet or Tomcat users. I need to know what may be the hardware requirements (RAM, Mhz, how many disks ...) for the application as described below. The features of the application are the following: - lightweight HTML pages (no images) - frames (we need to rebuild only a part of a page) - every page has a HTML form with about 10 input fields - no script language on the client (so we have a lot of trafic between client and server for validating) - every request calls also the database - database connection pooling - java server uses session handling - XML tier, JDOM, XML to HTML transformation - jdk 1.3 We are expect about 20 hard working users. The server should use Linux, Postgres, Apache, Tomcat and has to fulfill the only task to support this application. Second question: is it necessary to install the Tomcat addin for Apache or could Tomcat fulfill this task without Apache? Greetings, Andreas -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: jk_nt_service fails (error 1067)
No, See another thread I answered to, Thanx Alexander - Original Message - From: Larry Isaacs [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, April 08, 2002 6:42 PM Subject: RE: jk_nt_service fails (error 1067) Any errors reported in the log files specified within wrapper.properties? Cheers, Larry -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 12:19 PM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Memory usage
Yaogeng - That is normal for any java application running on Linux. Just java native threads showing up as multiple processes, but its actually mostly shared memory. Do a 'top' to confirm. jeff Yaogeng Cheng wrote: Hi: I am using TomCat version 3.2.1 in Linux, and I found there are a lot of java apps running after I started the tomcat. They used a lot of memory. Does newer version TomCat use much less memory than 3.2.1. If there is, which version should I use? Thanks, Yaogeng -- Jeffrey Bonevich Ann Arbor, Michigan [EMAIL PROTECTED] http://www.bonevich.com Hwæt! Wë Gär-Dena in geär-dagum, peod-cyninga, prym gefrünon, hü ða aepelingas ellen fremedon! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
setProperty
Hi, If put a empty value via http GET parameter then it not call the objects setter method What is the problem? Example: updater.jsp?val1=val2=%val3= in updater.jsp: jsp:setProperty name=credit property=* / MySystem: jdk1.3.1_02 jakarta-tomcat-4.0.2 win98.hu - This email was sent using SquirrelMail. Webmail for nuts! http://squirrelmail.org/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Please Help!! SSL problem
Dear all, After i have installed the SSL on my tomcat 4.0 on window 2000, the tomcat cannot start . Could anybody give me some idea how to fix it? It throws NoSuchMethodException. I am really frustrated with it because it is a final year project and is going to be handed in next week. I am posting it for the 3rd times because the previous posts were not answered. Please help me, I am desperate. Thank you!! Ann Lee
Re: Tru64 mod_jk compilation Problem
I am trying to compile mod_jk.so on tru64 compaq unix but I am getting this error gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE -I/home5/staff/genepick/usr/apache/include -I../common -I/usr/opt/java131/includ e -I/usr/opt/java131/include/alpha -c ../common/jk_jni_worker.c In file included from ../common/jk_jni_worker.c:69: /usr/opt/java131/include/jni.h:38: #error Modules that interface with Java must be compiled and linked with the -pthread option apxs:Break: Command failed with rc=1 Nothing new from Apache 1.3 APXS. I end up building manually most of the time. I tried to compile other JNI code with cc compiler with pthread option and that worked fine but withh gcc compiler I am not able to compile any JNI java code on TRU64 comapq using GCC compiler. So, you compiled it with CC - what's the problem? GCC fetish? Nix.
Re: starting Tomcat 4.0.3 on Compaq Tru64 Unix
--- Lee Newman [EMAIL PROTECTED] wrote: I'm having some problems starting Tomcat 4.0.3 on Compaq Tru64 Unix. I've looked for a FAQ that might address the problem, because it seems like this is probably a common beginner's issue, but I haven't been able to find any information that addresses this. The problem I'm seeing is, when I run startup.sh, Tomcat doesn't seem to be starting up. I get the following information written to the screen: Using CATALINA_BASE: /lcs/users/ewn/tomcat/jakarta-tomcat-4.0.3 Using CATALINA_HOME: /lcs/users/ewn/tomcat/jakarta-tomcat-4.0.3 Using CATALINA_TMPDIR: /lcs/users/ewn/tomcat/jakarta-tomcat-4.0.3/temp Using JAVA_HOME: /usr/opt/java131 and catalina.out shows: usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } My problem exactly. I don't know if it is just Tru64 UNIX or others have the same problem, but either *startup.sh is broken* or there is something messy with shells on Tru64. The message Lee reported on the bottom is from Catalina and it simply states that the startup parameters were wrong. What must be added is -config ${CATALINA_HOME}/conf/server.xml. For some reason, it must be explicitely stated on startup. So, on 4.03 I had to edit startup.sh line into this: exec $PRGDIR/$EXECUTABLE start -config ${CATALINA_HOME}/conf/server.xml Is org.apache.catalina.startup.Catalina supposed to look around for it's config file if not specifically stated on command line? Nix.
Re: Adobe Acrobat
Huh, there is a printer driver that produces PDF files? Tell me more... oh please tell me more! This could be an answer to an issue I have with trying to read reports generated in Crystal reports within a browser, h... Adrian [EMAIL PROTECTED] - Original Message - From: John Burgess [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 6:55 PM Subject: RE: Adobe Acrobat Or alternatively use a printer driver that produces pdf files (Adobe Acrobat or Xeon Docucom are two) and print to file from the servlet, then return the file produced. The other suggestions are probably neater and open source but this does definitely work :-) Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original Message- From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 10:39 PM To: Tomcat Users List Subject: Adobe Acrobat Hi: How do I render my html pages to pdf for printing. My servelet generated html table is too wide and columns get cut off if I print directly using the print icon on the browser... Thanks -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.343 / Virus Database: 190 - Release Date: 22/03/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.343 / Virus Database: 190 - Release Date: 22/03/02 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
port
Hi, in which file the port is set fro tomcat? atif -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
how can i test
Hi, Apache is running my linux box and me have installed tomcat rpm on this machine what should me do to keep my jsp pages up and browseable. thanks in advance atif -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: NullPointerException when using JDBC ResultSet next() method
sorry, but you called ResultSet rset = stmt.executeQuery (select sc_id from bug_status_codes); and then used rs.next() maybe they must be all rs or all rset. Bye Giorgio -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: port
I guess you are talking about server.xml -Original Message- From: Atif Munir [mailto:[EMAIL PROTECTED]] Sent: 9. maí 2002 10:45 To: [EMAIL PROTECTED] Subject: port Hi, in which file the port is set fro tomcat? atif -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Adobe Acrobat
hi all there is an open source library for generating pdf in Java see http://www.lowagie.com/iText/ sorry if this has already been posted, i didn't see it :) David - Original Message - From: Adrian Beech [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, April 10, 2002 12:05 PM Subject: Re: Adobe Acrobat Huh, there is a printer driver that produces PDF files? Tell me more... oh please tell me more! This could be an answer to an issue I have with trying to read reports generated in Crystal reports within a browser, h... Adrian [EMAIL PROTECTED] - Original Message - From: John Burgess [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 6:55 PM Subject: RE: Adobe Acrobat Or alternatively use a printer driver that produces pdf files (Adobe Acrobat or Xeon Docucom are two) and print to file from the servlet, then return the file produced. The other suggestions are probably neater and open source but this does definitely work :-) Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original Message- From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 10:39 PM To: Tomcat Users List Subject: Adobe Acrobat Hi: How do I render my html pages to pdf for printing. My servelet generated html table is too wide and columns get cut off if I print directly using the print icon on the browser... Thanks -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.343 / Virus Database: 190 - Release Date: 22/03/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.343 / Virus Database: 190 - Release Date: 22/03/02 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: jk_nt_service fails (error 1067)
Hi, I'm using Tomcat 4.03 and this is what I found at the end of the file, * #wrapper.cmd_line=$(wrapper.javabin) -Djava.security.policy==$(wrapper.tomcat_policy) -Dtomcat.home=$(wrapper.tomcat_home) -classpath $(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) wrapper.cmd_line=$(wrapper.javabin) -Xrs -Djava.security.policy==$(wrapper.tomcat_policy) -Dtomcat.home=$(wrapper.tomcat_home) -classpath $(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) start * Soo it seems like it is already fixed by default. Thanx, Alexander - Original Message - From: Lecaros, Noel [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, April 08, 2002 6:41 PM Subject: RE: jk_nt_service fails (error 1067) Hi, Have you looked in %TOMCAT_HOME%\logs\jvm.stderr? This message looks familiar. There appears to be an issue with the wrapper.properties file (the one you should specify as a command-line argument to jk_nt_service.exe) in that the property wrapper.jvm.options is not being read properly. Either remove this from the wrapper.cmd_line (found at the end of the file) or set wrapper.jvm.options=-Xrs. This issue is actually documented somewhere in the mailing list, which makes a case for better documentation for Tomcat. Regards, Noel Lecaros -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 9:19 AM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Please Help!! SSL problem
Hi there, What algorithm was your key created with? WHat's the full error message please? Cheers, Ann wrote: Dear all, After i have installed the SSL on my tomcat 4.0 on window 2000, the tomcat cannot start . Could anybody give me some idea how to fix it? It throws NoSuchMethodException. I am really frustrated with it because it is a final year project and is going to be handed in next week. I am posting it for the 3rd times because the previous posts were not answered. Please help me, I am desperate. Thank you!! Ann Lee -- Jason Barr Vendor Manager Thawte Tech Support www.thawte.com/cgi/support/contents.exe smime.p7s Description: S/MIME Cryptographic Signature
Re: NIGHTMARE
Dominic Parry a Ýcrit : Ever heard of Opera? Now that works Damn well. Dominic Parry B.Sc. (Computer Science, Information Systems) B.Sc Hons Computer Science M.Sc. I Computer Science Rhodes University Hi ! I had yur address on Tomcat's User List. Well, do yu know if Opera is avalaible for SOLARIS 8 ? Thanks yu. Jean-Luc :O) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: jk_nt_service fails (error 1067)
Elsewhere in wrappers.properties two log files are defined. Are these log files created? If not, it suggests that jk_nt_service is not finding the wrapper.properties or maybe the wrapper.properties has some error that prevents it from being processed (I have never seen such an error though). If the log files exist but don't contain any clues, I would recommend manually building the wrapper.cmd_line with all the substitutions and executing that in a DOS prompt to see what happens. Hopefully it will reveal the error the service is encountering with it tries to execute this command. Cheers, Larry -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 4:55 AM To: Tomcat Users List Subject: Re: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 and this is what I found at the end of the file, * #wrapper.cmd_line=$(wrapper.javabin) -Djava.security.policy==$(wrapper.tomcat_policy) -Dtomcat.home=$(wrapper.tomcat_home) -classpath $(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) wrapper.cmd_line=$(wrapper.javabin) -Xrs -Djava.security.policy==$(wrapper.tomcat_policy) -Dtomcat.home=$(wrapper.tomcat_home) -classpath $(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) start * Soo it seems like it is already fixed by default. Thanx, Alexander - Original Message - From: Lecaros, Noel [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, April 08, 2002 6:41 PM Subject: RE: jk_nt_service fails (error 1067) Hi, Have you looked in %TOMCAT_HOME%\logs\jvm.stderr? This message looks familiar. There appears to be an issue with the wrapper.properties file (the one you should specify as a command-line argument to jk_nt_service.exe) in that the property wrapper.jvm.options is not being read properly. Either remove this from the wrapper.cmd_line (found at the end of the file) or set wrapper.jvm.options=-Xrs. This issue is actually documented somewhere in the mailing list, which makes a case for better documentation for Tomcat. Regards, Noel Lecaros -Original Message- From: Alexander Höglind [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 9:19 AM To: Tomcat User Subject: jk_nt_service fails (error 1067) Hi, I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0 Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to work. I have disabled tomcat.exe in my services and restarted the server, but the service doesn't start. My operating system is in swedish but this is an error I found in this group that looks like it: *** A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. *** I couldn't find an answer to the old message so I ask again. Why can't I have this service started. Just to see that it wasn't my server that was messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it generates the same error. If I try to start the service in the Command Prompt (jk_nt_service -s Tomcat) and it generates this error: * Asked (and given) winsoc Starting Tomcat. Tomcat failed to start. * The service is started by following command: jk_nt_service.exe Tomcat in win2000 services. If I try that in the Command Promt I get the following error: Asked (and given) winsock 1.1 Error: StartServiceCtrlDispatcher failed. *** Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache Tomcat 4.0 ? Thanx for any help, Alexander Höglind -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: NIGHTMARE
I think it is, try their home page. www.opera.com cheers Dominic Parry B.Sc (Information Systems, Computer Science) B.Sc (Hons) Computer Science Rhodes University - Original Message - From: Jean-Luc BEAUDET [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 2:17 PM Subject: Re: NIGHTMARE Dominic Parry a Ýcrit : Ever heard of Opera? Now that works Damn well. Dominic Parry B.Sc. (Computer Science, Information Systems) B.Sc Hons Computer Science M.Sc. I Computer Science Rhodes University Hi ! I had yur address on Tomcat's User List. Well, do yu know if Opera is avalaible for SOLARIS 8 ? Thanks yu. Jean-Luc :O) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Error in XML
Does anybody knows what's going on ??? Every time I start Jakarta 4.03, and a I get the following error: PARSE error at line 1 column 1 org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. I couldn't find where this error is ... Thanks a lot ... Sincerely, John. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: integrating TOMCAT 4.0 with APACHE 2.0 - or Tomcat 3.3.1
I'd really quite like to try Tomcat 3.3.1 with apache 2.0 I've tried the binaries for apache 2 - for linux http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux/i386/ mod_jk-3.3-ap20.so http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux/i386/mod_jk-3.3-ap20.so Apache says 'httpd: module mod_jk.c is not compatible with this version of Apache.' If I try to build the version from source - There isn't an apache2 version in the source distro of Tomcat 3.3.1 Help Thanks David Mike Dewhirst wrote: has anybody successfully integrated Apache 2 with Tomcat 4? If yes, how did you do it, I can't figure it out. If it's RTFM - which part, I couldn't find it in the docs... =** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: setProperty
This is specified behavior. Section JSP.4.2 of the JSP 1.2 spec states for the property attribute of jsp:setProperty ...: The name of the Bean property whose value you want to set. If you set propertyName to * then the tag will iterate over the current ServletRequest parameters, matching parameter names and value type(s) to property names and setter method type(s), setting each matched property to the value of the matching parameter. If a parameter has a value of , the corresponding property is not modified. Note the last sentence. Cheers, Larry -Original Message- From: Sipos Andras [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 5:54 AM To: [EMAIL PROTECTED] Subject: setProperty Hi, If put a empty value via http GET parameter then it not call the objects setter method What is the problem? Example: updater.jsp?val1=val2=%val3= in updater.jsp: jsp:setProperty name=credit property=* / MySystem: jdk1.3.1_02 jakarta-tomcat-4.0.2 win98.hu - This email was sent using SquirrelMail. Webmail for nuts! http://squirrelmail.org/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: NIGHTMARE
And what's opera anyway?? I've never heard about that... - Original Message - From: Dominic Parry [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 4:58 AM Subject: Re: NIGHTMARE Ever heard of Opera? Now that works Damn well. Dominic Parry B.Sc. (Computer Science, Information Systems) B.Sc Hons Computer Science M.Sc. I Computer Science Rhodes University - Original Message - From: Martin Mauri [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 10:34 PM Subject: Re: NIGHTMARE Yes I know. I have 6.22 and it works fine, though it's pretty heavy to start up. Once it's up is damn good. And the interface rocks! - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 5:33 PM Subject: RE: NIGHTMARE Well Netscape is still around and version 6.22 is damm good. Remember Netscape is part of the Sun/AOL alliance. -Original Message- From: Martin Mauri [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 12:55 PM To: Tomcat Users List Subject: Re: NIGHTMARE Anyway I have a little scare about M$ strategies. Figure out that they always have something under the hood. Remember the fight against IExplorer and Netscape Navigator, who won? - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 4:51 PM Subject: RE: NIGHTMARE As usual, by the time they figure it out, it will be a fact two years deep. -Original Message- From: Kemp Randy-W18971 [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 11:22 AM To: Tomcat Users List Subject: RE: NIGHTMARE While I am a big J2EE fan, I wonder if Microsoft has heard this news? -Original Message- From: Timlin, Bob [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 12:20 PM To: Tomcat Users List Subject: RE: NIGHTMARE Except PHP has no FUTURE. The whole world is moving to J2EE. -Original Message- From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 10:14 AM To: Tomcat Users List Subject: Re: NIGHTMARE Good move! If you find Tomcat hard, you need to stick to PHP. At 01:22 PM 4/8/02 +, you wrote: Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE days trying to make it work without success. Endless configuration files, paths, etc. making this a impossible software to use. I doubt I'm the only one who has complaint. I won't use this crap, I'm switching to PHP, took me 5 minutes to figure that out. || ||| Árni Arent Guðlaugsson Forritari og Autonomy sérfræðingur Íslandsvefir ehf. Thorvaldsensstræti 4 101 Reykjavík / Iceland -- Tel: +354 552 6300 Fax: +354 552 6302 E-mail: [EMAIL PROTECTED] http://www.islandsvefir.is/ http://www.ha.is/ Bættu ha.is á vefsíðuna þína: http://www.ha.is/almennt/tenging.asp || ||| -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: NIGHTMARE
||| And what's opera anyway?? I've never heard about that... seriously? wow ... i thought those guys were doing a good job of their marketing. Its a great web browser that blows Netscape out of the water. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Problem with HTTP/1.0 Connection in Tomcat 4.0.1 4.0.3
The problem below seems to occur only when enableLookups is set to false. Setting enableLookups to true gives me no problems with the HTTP/1.0 connector. Is this a bug in Tomcat? Regards, /Per Ps. BTW, it would be great with some documentation on the HTTP/1.0 connector in the manual... I'm having some problems running the HTTP 1.0 connector in Tomcat 4.0.3 (and 4.0.1). I keep getting the following exceptions in catalina.date.log (repeated every 2 secs): 2002-04-08 17:10:19 HttpProcessor[3080][4] process.parse javax.servlet.ServletException: Missing HTTP request line at org.apache.catalina.connector.http10.HttpProcessor.parseReques t(HttpProcessor.java(Compiled Code)) at org.apache.catalina.connector.http10.HttpProcessor.process(Htt pProcessor.java(Compiled Code)) at org.apache.catalina.connector.http10.HttpProcessor.run(HttpPro cessor.java(Compiled Code)) at java.lang.Thread.run(Thread.java:512) 2002-04-08 17:10:19 HttpProcessor[3080][4] process.invoke java.lang.IllegalStateException at org.apache.catalina.connector.HttpResponseFacade.sendError(Htt pResponseFacade.java:145) at org.apache.catalina.core.StandardHostValve.invoke(StandardHost Valve.java:158) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP ipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi spatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP ipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport Valve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP ipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv e.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP ipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel ine.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEn gineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP ipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel ine.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http10.HttpProcessor.process(Htt pProcessor.java(Compiled Code)) at org.apache.catalina.connector.http10.HttpProcessor.run(HttpPro cessor.java(Compiled Code)) at java.lang.Thread.run(Thread.java:512) The error message in Tomcat 4.0.1 is only slightly different. I'm unable to get any connection through to Tomcat (obviously). My connection config is this: Connector className=org.apache.catalina.connector.http10.HttpConnector port=3080 minProcessors=5 maxProcessors=10 enableLookups=false redirectPort=8443 scheme=https proxyPort=443 acceptCount=10 debug=0/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: HTTP Tunnel (a response please????)
-Original Message- From: Stuart Stephen [mailto:[EMAIL PROTECTED]] Sent: 08 April 2002 22:16 To: Tomcat Users List Subject: HTTP Tunnel Hi everybody, I'm looking to make an HTTP tunnel servlet or jsp page that will keep the user connected consistently rather than it disconnecting and re-connecting each time a request is sent. Could anyone help me out here? Stuart -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: NIGHTMARE
and what about IExplore? Is it affected in some way? - Original Message - From: Alan Williamson [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 9:36 AM Subject: RE: NIGHTMARE ||| And what's opera anyway?? I've never heard about that... seriously? wow ... i thought those guys were doing a good job of their marketing. Its a great web browser that blows Netscape out of the water. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat4 and Virtual Hosts
Hi, Sorry to bother again. Is there a guideline for deploying contexts and virtual domains with mod_webapp ? Thanks in advance, -- Giovanni P. Tirloni -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
download link for mod_jk
I've looked around but I can't find where to download mod_jk sources. Could someone please give me a pointer? Thanks. Duane -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
mod_webapp build problem
Hello, I am trying to build mod_webapp module on hp-ux platform and getting the following error while running configure script of this module. I ran the following command after building libtool and placing it in current path. #./configure --with-apxs=/opt/apache1322/bin/apxs Building APR configure script Invoking: ./buildconf in /opt/apache1322/webapp-module-1.0-tc40/apr APR buildconf: buildconf: checking installation... APR buildconf: buildconf: autoconf not found. APR buildconf: You need autoconf version 2.13 or newer installed APR buildconf: to build Apache from CVS. Execution of ./buildconf returned 1 configure: error: APR buildconf terminated with error code 1 Can any one help me out to over come the above mentioned error. Regards, Srinidhi -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Adobe Acrobat
Check out http://www.easysw.com/htmldoc/ There is a command line mode in addition to the GUI. Scott hemant wrote: Use Cocoon for a FOP based solution . If you want to keep things simple, use iText . Although it was not sophisticated/XML/XSL based it did an extremely good job when it generated PDF. It uses java classes to render pdf docs. I have successfully incorporated it in my webapp. http://www.lowagie.com/iText/ Thanks to Bruno Lowagie and Paulo Soares Regards hemant - Original Message - From: Ravindra K. Bhat [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 5:39 PM Subject: Adobe Acrobat Hi: How do I render my html pages to pdf for printing. My servelet generated html table is too wide and columns get cut off if I print directly using the print icon on the browser... Thanks -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: integrating TOMCAT 4.0 with APACHE 2.0 - or Tomcat 3.3.1
The API to Apache 2 is very different from Apache 1.3.x. It was also evolving, so it wasn't practical to include a working Apache 2 connector in Tomcat 3.3.x, or Tomcat 4.x for that matter. The mod_jk-3.3-ap20.so is likely a version that Henri Gomez built a while ago, and is probably out of date with respect to the current Apache 2. Work on a mod_jk, actually mod_jk2, connector for Tomcat 3.3.x and Tomcat 4.x is being actively worked on as part of the jakarta-tomcat-connectors project. You can check the mail archives of tomcat-dev to see what is being done. The mod_jk2 for Apache 2 appears within the jakarta-tomcat-connectors repository under jk/native2 directory. Cheers, Larry -Original Message- From: David Cassidy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 8:28 AM To: Tomcat Users List Subject: Re: integrating TOMCAT 4.0 with APACHE 2.0 - or Tomcat 3.3.1 I'd really quite like to try Tomcat 3.3.1 with apache 2.0 I've tried the binaries for apache 2 - for linux http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux/i386/ mod_jk-3.3-ap20.so http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux/i386/mod_jk-3.3-ap20.so Apache says 'httpd: module mod_jk.c is not compatible with this version of Apache.' If I try to build the version from source - There isn't an apache2 version in the source distro of Tomcat 3.3.1 Help Thanks David -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: NIGHTMARE
It's another web browser like IE or Netscape. -Original Message- From: Martin Mauri [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 7:35 AM To: Tomcat Users List Subject: Re: NIGHTMARE And what's opera anyway?? I've never heard about that... - Original Message - From: Dominic Parry [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 4:58 AM Subject: Re: NIGHTMARE Ever heard of Opera? Now that works Damn well. Dominic Parry B.Sc. (Computer Science, Information Systems) B.Sc Hons Computer Science M.Sc. I Computer Science Rhodes University - Original Message - From: Martin Mauri [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 10:34 PM Subject: Re: NIGHTMARE Yes I know. I have 6.22 and it works fine, though it's pretty heavy to start up. Once it's up is damn good. And the interface rocks! - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 5:33 PM Subject: RE: NIGHTMARE Well Netscape is still around and version 6.22 is damm good. Remember Netscape is part of the Sun/AOL alliance. -Original Message- From: Martin Mauri [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 12:55 PM To: Tomcat Users List Subject: Re: NIGHTMARE Anyway I have a little scare about M$ strategies. Figure out that they always have something under the hood. Remember the fight against IExplorer and Netscape Navigator, who won? - Original Message - From: Timlin, Bob [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 08, 2002 4:51 PM Subject: RE: NIGHTMARE As usual, by the time they figure it out, it will be a fact two years deep. -Original Message- From: Kemp Randy-W18971 [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 11:22 AM To: Tomcat Users List Subject: RE: NIGHTMARE While I am a big J2EE fan, I wonder if Microsoft has heard this news? -Original Message- From: Timlin, Bob [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 12:20 PM To: Tomcat Users List Subject: RE: NIGHTMARE Except PHP has no FUTURE. The whole world is moving to J2EE. -Original Message- From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 10:14 AM To: Tomcat Users List Subject: Re: NIGHTMARE Good move! If you find Tomcat hard, you need to stick to PHP. At 01:22 PM 4/8/02 +, you wrote: Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE days trying to make it work without success. Endless configuration files, paths, etc. making this a impossible software to use. I doubt I'm the only one who has complaint. I won't use this crap, I'm switching to PHP, took me 5 minutes to figure that out. || ||| Árni Arent Guðlaugsson Forritari og Autonomy sérfræðingur Íslandsvefir ehf. Thorvaldsensstræti 4 101 Reykjavík / Iceland -- Tel: +354 552 6300 Fax: +354 552 6302 E-mail: [EMAIL PROTECTED] http://www.islandsvefir.is/ http://www.ha.is/ Bættu ha.is á vefsíðuna þína: http://www.ha.is/almennt/tenging.asp || ||| -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mod_webapp build problem
Srinidhi H. a écrit : Hello, I am trying to build mod_webapp module on hp-ux platform and getting the following error while running configure script of this module. I ran the following command after building libtool and placing it in current path. #./configure --with-apxs=/opt/apache1322/bin/apxs Building APR configure script Invoking: ./buildconf in /opt/apache1322/webapp-module-1.0-tc40/apr APR buildconf: buildconf: checking installation... APR buildconf: buildconf: autoconf not found. APR buildconf: You need autoconf version 2.13 or newer installed APR buildconf: to build Apache from CVS. Execution of ./buildconf returned 1 configure: error: APR buildconf terminated with error code 1 Can any one help me out to over come the above mentioned error. Regards, Srinidhi -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Well i had the same pb on SOLARIS 8 after i made some modifications... I was workin' under root, to have my installations achieved, and obviously with /bin/sh shell... As i like the completion and other stuff, i used the ENV=$HOME/.kshrc; export ENV features to get some special features when enter an exec ksh. In this .kshrc i had an echo New Shell : $0, just to know where i am. I tried then to have my mod_webapp compiled and had the error yu mentionned. I investigated: When yu launch the webapp/support/buildconf.sh if [ -f ./apr/buildconf ] then echo --- Running the \buildconf\ script for APR ( cd ./apr sh ./buildconf ) The script looks for webapp/apr/buildconf and if true, generates a child process () and executes a sh ./buildconf The first thing is done is to make an sh of apr/biuld/biuldconf.sh and in this third fiel yu have : ac_version=`autoconf --version 2/dev/null|head -1|sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'` The head -1 says to bind the sed to the first line of the `autoconf --version` In My case, the first line was the echoed cmd of my .kshrc file, cause i was under ksh ! ksh# New Shell -ksh autoconf (GNU Autoconf) 2.52 Written by David J. MacKenzie. So try to trace this file and yu'll get it ! The best has to be to stay under /bin/sh Hope this help, JLB :O) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Encrypted Passwords on Tomcat 4.0.4b1 /Open LDAP Authentication in server.xml
Hi; As you may have guessed, it seems that JNDIRealm.java file, depends on first the retrieval of a password. We have a version for 4.0.X or 4.1-dev for NOT allowing the retrieval of a password from LDAP. On your encryption, there are 2 issues I see... 1. User - Authentication Page encryption, 2. Web - web page to LDAP encryption... todd http://www.wiserlabz.com collaborative effort to promote Novell and Open Source solutions Jeremy Prellwitz wrote: Hi all, i searched the archives but could not come up with an answer for this. I have everything working for LDAP authentication on my server, and i've figured out how to include non plain text passwords everywhere except for the connectionPassword attribute of the Realm tag in the $CATALINA_HOME/conf/server.xml file. I would like to replace the MY_CURRENT_PLAIN_TEXT_PASSWORD string with an encrypted password for this configuration file, as everyone knows, this is otherwise a pretty good security hole. Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionName=cn=root,dc=MYDOMAIN,dc=ca connectionPassword=MY_CURRENT_PLAIN_TEXT_PASSWORD connectionURL=ldap://MYHOST:389; roleBase=dc=roles,dc=MYDOMAIN,dc=ca roleName=cn roleSearch=(uniqueMember={0}) roleSubtree=false digest=SHA userPassword=userPassword userPattern=uid={0},dc=MYDOMAIN,dc=ca / I've tried using this : java org.apache.catalina.realm.RealmBase -a {algorithm} {cleartext-password}, which is what i used to enter my passwords into my OpenLDAP server, but with this you specify the encryption algorithm with the digest attribute. Please help. How do i specify the algorithm and encrypted password for the connectionPassword attribute; and if you would..which tool do i use to create this password? Thanks a million!!! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mySQL+tomcat 4 ?
Your question is pretty general, but I believe you will need to add configuration / connector setup in server.xml. I put my jdbc driver Jar in /tomcat_home/common/lib . I hope this helps todd http://www.wiserlabz.com collaborative effort to promote Novell and Open Source solutions evil reader wrote: hello i installed tomcat v 4.0 (before i used tomcat 3.1) so now i can't configure it for MySQL. if i start tomcat 3.1 servlets work perfectly,but not in tomcat 4 i was trying setup as your documentation says - no results how i can connect this tomcat with mySQL ??? thanks __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: port
server.xml Jayesh --- Atif Munir [EMAIL PROTECTED] wrote: Hi, in which file the port is set fro tomcat? atif -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Please help me on a question about TOMCAT OR APACHE + TOMCAT
Hi; I have a sample with example virtual host setup on my Chiki open source project site. http://chiki.wiserlabz.com/view.do?nodeId=Tomcat4 Unfortunately, you'll have to sign in and edit to view the full source. I think it answers your question. Personally, I'd probably still run Apache in front, but it really doesn't matter. todd http://www.wiserlabz.com collaborative effort to promote Novell and Open Source solutions Jakarta Tomcat Newsgroup (@Basebeans.com) wrote: Subject: Please help me on a question about TOMCAT OR APACHE + TOMCAT From: Hyunjin Kim [EMAIL PROTECTED] === all my web pages will be in jsps (to use include). Should I still use Apache in front of TOMCAT? won't it be better to use tomcat only in my case?(although I will still use images and other medias) I think coming through apache and talking to tomcat via a connector is more pricey in my case... and also.. if i choose to use tomcat only.. (stand-alone).. can i use name virtual host?? It seems like Host tag in server.xml is for that purpose.. but there's very vew documentations on how to configure server.xml file for tomcat-stand alone + name virtual host.. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
wrapper.class_path in Tomcat4.0.4b2
Hi, I installed Tomcat 4.0.4b2, I previously had Tomcat 3.2.4, and in this new release all the config files have changed. In the 3.2.4 I had in the wrapper.properties file: wrapper.class_path=path to class Now in the 4.0.2b2 I have no clue where to find this. Anyone can help? :) || ||| Árni Arent Guðlaugsson Forritari og Autonomy sérfræðingur Íslandsvefir ehf. Thorvaldsensstræti 4 101 Reykjavík / Iceland -- Tel: +354 552 6300 Fax: +354 552 6302 E-mail: [EMAIL PROTECTED] http://www.islandsvefir.is/ http://www.ha.is/ Bættu ha.is á vefsíðuna þína: http://www.ha.is/almennt/tenging.asp || ||| -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AW: mod_webapp build problem
I had the same Problem. I'll forward you the answer which helped me ... Hi Christian, Sorry it tool so long to reply. Yes I have installed mod_webapp correctly. The biggest problem is the fact that hp-ux does not keep zero length string in the shell memory. the configure script script however perform a number of tests on string throughout the script. By using a couple dozen echo statements the only place I found that I needed to override the logic was near the bottom your configure script should have something like this around line 2000 or so if ${TEST} -z ${MODULE} then echo $ac_terror 16 { echo configure: error: No target module specified 12; exit 1; } fi echo $ac_t${MODULE} 16 CFGFILES=${CFGFILES} ./${MODULE}/Makefile if ${TEST} -z ${APR_VARFIL} at least for me, at this point APR_VARFIL should not contain a value so I change the if logic to if ${TEST} -z ${MODULE} then echo $ac_terror 16 { echo configure: error: No target module specified 12; exit 1; } fi echo $ac_t${MODULE} 16 CFGFILES=${CFGFILES} ./${MODULE}/Makefile APR_VARFIL=I am really empty echo I have $MODULE and am using the hardcoded value for APR_VARFIL if ${TEST} -n ${APR_VARFIL} The script will work. you may have to make a change in the make file as well somewhere along the line $(MFLG) gets set to b which my make has trouble deal with so in Makefile change template: @ { \ $(ECHO) ; \ $(MECHO) Entering directory \$(MDIR)\ ; \ cd $(MDIR) ; \ $(MECHO) Invoking \$(MAKE) $(MFLG) $(MTGT)\ ; \ $(MAKE) $(MFLG) $(MTGT); \ RET=$$? ; \ $(MECHO) Exiting directory \$(MDIR)\ ; \ cd $(SRCDIR) ; \ if test $${RET} != 0 ; then \ exit $${RET} ; \ fi ; \ } to template: @ { \ $(ECHO) ; \ $(MECHO) Entering directory \$(MDIR)\ ; \ cd $(MDIR) ; \ $(MECHO) Invoking \$(MAKE) $(MTGT)\ ; \ $(MAKE) $(MTGT); \ RET=$$? ; \ $(MECHO) Exiting directory \$(MDIR)\ ; \ cd $(SRCDIR) ; \ if test $${RET} != 0 ; then \ exit $${RET} ; \ fi ; \ } Let me know if you have any problems I can send you my mod_webapp.so file Jeffrey Peloquin -Ursprüngliche Nachricht- Von: Srinidhi H. [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 9. April 2002 14:51 An: Tomcat-User (E-mail) Betreff: mod_webapp build problem Hello, I am trying to build mod_webapp module on hp-ux platform and getting the following error while running configure script of this module. I ran the following command after building libtool and placing it in current path. #./configure --with-apxs=/opt/apache1322/bin/apxs Building APR configure script Invoking: ./buildconf in /opt/apache1322/webapp-module-1.0-tc40/apr APR buildconf: buildconf: checking installation... APR buildconf: buildconf: autoconf not found. APR buildconf: You need autoconf version 2.13 or newer installed APR buildconf: to build Apache from CVS. Execution of ./buildconf returned 1 configure: error: APR buildconf terminated with error code 1 Can any one help me out to over come the above mentioned error. Regards, Srinidhi -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: wrapper.class_path in Tomcat4.0.4b2
Árni Arent a écrit : Hi, I installed Tomcat 4.0.4b2, I previously had Tomcat 3.2.4, and in this new release all the config files have changed. In the 3.2.4 I had in the wrapper.properties file: wrapper.class_path=path to class Now in the 4.0.2b2 I have no clue where to find this. Anyone can help? :) || ||| Árni Arent Guðlaugsson Forritari og Autonomy sérfræðingur Íslandsvefir ehf. Thorvaldsensstræti 4 101 Reykjavík / Iceland -- Tel: +354 552 6300 Fax: +354 552 6302 E-mail: [EMAIL PROTECTED] http://www.islandsvefir.is/ http://www.ha.is/ Bættu ha.is á vefsíðuna þína: http://www.ha.is/almennt/tenging.asp || ||| -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Well Arni (?) First yu have a 4.0.2_Final which is the one i run under on My SOLARIS' Servers which is the Final Rel. Seconf, under conf the only file yu do have to worry about, at the beginning, is the conf/server.xml. Just run Tomcat under port 8080 and have a close look to the online doc. It's really well done ! Hope this help :O) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Error in XML
what's your xml file like? -Original Message- From: João Augusto Charnet [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 7:35 AM To: Jakarta Subject: Error in XML Does anybody knows what's going on ??? Every time I start Jakarta 4.03, and a I get the following error: PARSE error at line 1 column 1 org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. I couldn't find where this error is ... Thanks a lot ... Sincerely, John. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Please help me on a question about TOMCAT OR APACHE + TOMCAT
Howdy. I found a very useful document that describes in simple terms how to set up Apache + (n * Tomcat) in load-balancing fashion. That may be something to consider just for flexibility. I currently have mine configured with only one Tomcat, so the load balancer isn't doing much for me, but it's trivial for me to add another internal machine with Tomcat and share the load. http://www.ubeans.com/tomcat/index.html Good luck. Michael --- todd tredeau [EMAIL PROTECTED] wrote: Hi; I have a sample with example virtual host setup on my Chiki open source project site. http://chiki.wiserlabz.com/view.do?nodeId=Tomcat4 Unfortunately, you'll have to sign in and edit to view the full source. I think it answers your question. Personally, I'd probably still run Apache in front, but it really doesn't matter. todd http://www.wiserlabz.com collaborative effort to promote Novell and Open Source solutions Jakarta Tomcat Newsgroup (@Basebeans.com) wrote: Subject: Please help me on a question about TOMCAT OR APACHE + TOMCAT From: Hyunjin Kim [EMAIL PROTECTED] === all my web pages will be in jsps (to use include). Should I still use Apache in front of TOMCAT? won't it be better to use tomcat only in my case?(although I will still use images and other medias) I think coming through apache and talking to tomcat via a connector is more pricey in my case... and also.. if i choose to use tomcat only.. (stand-alone).. can i use name virtual host?? It seems like Host tag in server.xml is for that purpose.. but there's very vew documentations on how to configure server.xml file for tomcat-stand alone + name virtual host.. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
zipped class file.
Can I still use zip file as archived class file? I put it in the /webapps/app/web-inf/lib directory, it doesn't not seem to work. Thanks. Wei Wei Xiao Web Development Safelite Glass Corp 614.798.2361
RE: HTTP Tunnel (a response please????)
That's the way HTTP works. You browser connects to a web server when it makes a request. And once it gets a response, it disconnects. The connection, it creates, may be persistent (default with HTTP/1.1) though. But servers generally timeout after being idle for sometime. So what you are looking for in terms of consistent or persistent connections may not be guaranteed this way. You should consider using sessions in your servlet or jsp (that is if you just want to persist the user state) or maybe use sockets (may run into firewall/security issues) RS Stuart Stephen [EMAIL PROTECTED] on 04/09/2002 07:41:22 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] cc: Subject: RE: HTTP Tunnel (a response please) -Original Message- From: Stuart Stephen [mailto:[EMAIL PROTECTED]] Sent: 08 April 2002 22:16 To: Tomcat Users List Subject: HTTP Tunnel Hi everybody, I'm looking to make an HTTP tunnel servlet or jsp page that will keep the user connected consistently rather than it disconnecting and re-connecting each time a request is sent. Could anyone help me out here? Stuart -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
SV: port
Hi, in which file the port is set fro tomcat? conf/server.xml Look for one of the uncommented Connector ... nodes. /Per -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: zipped class file.
rename the file to .jar, it should work. Dominic Parry B.Sc (Information Systems, Computer Science) B.Sc (Hons) Computer Science Rhodes University - Original Message - From: Xiao, Wei [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 3:26 PM Subject: zipped class file. Can I still use zip file as archived class file? I put it in the /webapps/app/web-inf/lib directory, it doesn't not seem to work. Thanks. Wei Wei Xiao Web Development Safelite Glass Corp 614.798.2361 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: zipped class file.
First, it would be a good idea to rename the .zip file to a .jar file. Check your logs if it still doesn't work. RS Xiao, Wei [EMAIL PROTECTED] on 04/09/2002 08:26:47 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: zipped class file. Can I still use zip file as archived class file? I put it in the /webapps/app/web-inf/lib directory, it doesn't not seem to work. Thanks. Wei Wei Xiao Web Development Safelite Glass Corp 614.798.2361 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Error in XML
Which XML ??? Server.xml Web.xml or tomcat-users.xml [EMAIL PROTECTED] wrote: what's your xml file like? -Original Message- From: João Augusto Charnet [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 7:35 AM To: Jakarta Subject: Error in XML Does anybody knows what's going on ??? Every time I start Jakarta 4.03, and a I get the following error: PARSE error at line 1 column 1 org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. I couldn't find where this error is ... Thanks a lot ... Sincerely, John. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AW: zipped class file.
rename it to something.jar. The jar file format is backward compatible with the zip format. -Ursprüngliche Nachricht- Von: Xiao, Wei [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 9. April 2002 15:27 An: [EMAIL PROTECTED] Betreff: zipped class file. snip/ Can I still use zip file as archived class file? I put it in the /webapps/app/web-inf/lib directory, it doesn't not seem to work. snip/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: zipped class file.
Thanks. It sure will work now. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 9:27 AM To: Tomcat Users List Subject: Re: zipped class file. First, it would be a good idea to rename the .zip file to a .jar file. Check your logs if it still doesn't work. RS Xiao, Wei [EMAIL PROTECTED] on 04/09/2002 08:26:47 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: zipped class file. Can I still use zip file as archived class file? I put it in the /webapps/app/web-inf/lib directory, it doesn't not seem to work. Thanks. Wei Wei Xiao Web Development Safelite Glass Corp 614.798.2361 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: zipped class file.
Thanks. It sure will work now. -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 9:31 AM To: Tomcat Users List Subject: AW: zipped class file. rename it to something.jar. The jar file format is backward compatible with the zip format. -Ursprüngliche Nachricht- Von: Xiao, Wei [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 9. April 2002 15:27 An: [EMAIL PROTECTED] Betreff: zipped class file. snip/ Can I still use zip file as archived class file? I put it in the /webapps/app/web-inf/lib directory, it doesn't not seem to work. snip/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: zipped class file.
Thanks. It sure will work now. -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 9:29 AM To: Tomcat Users List Subject: Re: zipped class file. rename the file to .jar, it should work. Dominic Parry B.Sc (Information Systems, Computer Science) B.Sc (Hons) Computer Science Rhodes University - Original Message - From: Xiao, Wei [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 3:26 PM Subject: zipped class file. Can I still use zip file as archived class file? I put it in the /webapps/app/web-inf/lib directory, it doesn't not seem to work. Thanks. Wei Wei Xiao Web Development Safelite Glass Corp 614.798.2361 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Deploy a servlet new context - exception Can't find bundle for base name LocalStrings, locale en_US
Hi, I am new bee to Tomcat, Can any one help me getting the document or explain the steps to deploy a servlet by adding a new context. I tried adding a new context and deploying a servlet...it gives the following exception.. java.util.MissingResourceException: Can't find bundle for base name LocalStrings, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:8 07) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:697) at java.util.ResourceBundle.getBundle(ResourceBundle.java:541) Thanks Regards Shankar. This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: zipped class file.
Xiao, Wei a écrit : Can I still use zip file as archived class file? I put it in the /webapps/app/web-inf/lib directory, it doesn't not seem to work. Thanks. Wei Wei Xiao Web Development Safelite Glass Corp 614.798.2361 Just rename the zip files in jar files ( considerin' the extension, of course) Hope this helps. :O) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Error in XML
João Augusto Charnet a écrit : Which XML ??? Server.xml Web.xml or tomcat-users.xml [EMAIL PROTECTED] wrote: what's your xml file like? -Original Message- From: João Augusto Charnet [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 7:35 AM To: Jakarta Subject: Error in XML Does anybody knows what's going on ??? Every time I start Jakarta 4.03, and a I get the following error: PARSE error at line 1 column 1 org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. I couldn't find where this error is ... Thanks a lot ... Sincerely, John. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Well first of all, Go to yur server.xml file and change the debug=10 to debug=25. Restart and have look in yur catalina.out; it 'll be much more verbose and tell yu exactly which file is generating such this error. :O) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: port
Server.xml I think contains the most commonly modified parameters in Tomcat. /tomcat_home/conf/server.xml todd http://www.wiserlabz.com collaborative effort to promote Novell and Open Source solutions Atif Munir wrote: Hi, in which file the port is set fro tomcat? atif -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Altering content of BodyContent prior to JSP eval
How can I get at the content of BodyContent in a BodyTagSupport subclass, alter that content, and then reinsert the content into the body before it gets evaluated as JSP? Is this just just totally anathema to JSP spec or something? Say that I have the following: mytaglib:bodymunger value=lookup Place the stuff *** here /mytaglib:bodymunger Then in the BodymungerTag (extends BodyTagSupport) I want to lookup the value of lookup, grab the body content, and replace the string *** with that value. Say the value actually returns a string: mytaglib:othertag/ Then I want that new content evaluated as JSP. Is there any way to do this? Do I have to do it manually using Jspc or something? jeff -- Jeffrey Bonevich Ann Arbor, Michigan [EMAIL PROTECTED] http://www.bonevich.com Hwæt! Wë Gär-Dena in geär-dagum, peod-cyninga, prym gefrünon, hü ða aepelingas ellen fremedon! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: where to put config info
getInitParameter(someString) lets you access information in the web.xml file. someString corresponds to the name of the param in the web.xml. Note that there is are ServletContext and ServletConfig implementations. The ServletContext version could be used where you have values that are shared across all of your servlets/jsps. The ServletConfig allows you to have information that is specific to a servlet or jsp. At 07:41 AM 4/8/02, you wrote: Hi, I'm new to tomcat and was just wondering where other developers put configuration key value pairs in there tomcat apps. For example, if I wanted to read in a version number and display it on one of my pages. Or if my app connects to multiple databases. Where could I put the connection information? Can you put that kind of stuff in the web.xml file? Are there built in conveniences to do this? Cheers, Eric. ** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF ** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: where to put config info
Sweet! Exactly what I was looking for. Thanks for the information! Cheers, Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 9:58 AM To: Tomcat Users List Subject: Re: where to put config info getInitParameter(someString) lets you access information in the web.xml file. someString corresponds to the name of the param in the web.xml. Note that there is are ServletContext and ServletConfig implementations. The ServletContext version could be used where you have values that are shared across all of your servlets/jsps. The ServletConfig allows you to have information that is specific to a servlet or jsp. At 07:41 AM 4/8/02, you wrote: Hi, I'm new to tomcat and was just wondering where other developers put configuration key value pairs in there tomcat apps. For example, if I wanted to read in a version number and display it on one of my pages. Or if my app connects to multiple databases. Where could I put the connection information? Can you put that kind of stuff in the web.xml file? Are there built in conveniences to do this? Cheers, Eric. * * This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF * * -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] ** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF ** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: mod_webapp build problem
Depending on how your system is set up you will also need the gnu tools autoconf m4 libtool and if you go on to use APACHE SSL you will need flex HP has depots for autoconf and m4 at http://hpdrdev.fc.hp.com/OpenSource/Tools/autoconf/autoconf.html http://hpdrdev.fc.hp.com/OpenSource/Tools/m4/m4.html libtool and flex as well as autoconf and m4 can be obtained at http://www.gnu.org/ as tar files. Below in the message from Christian, I make mention of a problem with the letter b making it into the build commands. I have not had a chance to check but I think it is from this line in the apache/bin/apxs script my $CFG_LDFLAGS_SHLIB = q(-b); # substituted via Makefile.tmpl I would guess removinf the -b would fix the make problem Also, one person I know of, has encounted a number of syntax errors with the make scripts generated by the mod-webapp configure scripts. This appears to be a system specific issue, as he gets the same problem when I send him a tar of my src directory. good luck Jeff Peloquin -Original Message- From: Schulze Christian [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 7:20 AM To: 'Tomcat Users List' Subject: AW: mod_webapp build problem I had the same Problem. I'll forward you the answer which helped me ... Hi Christian, Sorry it tool so long to reply. Yes I have installed mod_webapp correctly. The biggest problem is the fact that hp-ux does not keep zero length string in the shell memory. the configure script script however perform a number of tests on string throughout the script. By using a couple dozen echo statements the only place I found that I needed to override the logic was near the bottom your configure script should have something like this around line 2000 or so if ${TEST} -z ${MODULE} then echo $ac_terror 16 { echo configure: error: No target module specified 12; exit 1; } fi echo $ac_t${MODULE} 16 CFGFILES=${CFGFILES} ./${MODULE}/Makefile if ${TEST} -z ${APR_VARFIL} at least for me, at this point APR_VARFIL should not contain a value so I change the if logic to if ${TEST} -z ${MODULE} then echo $ac_terror 16 { echo configure: error: No target module specified 12; exit 1; } fi echo $ac_t${MODULE} 16 CFGFILES=${CFGFILES} ./${MODULE}/Makefile APR_VARFIL=I am really empty echo I have $MODULE and am using the hardcoded value for APR_VARFIL if ${TEST} -n ${APR_VARFIL} The script will work. you may have to make a change in the make file as well somewhere along the line $(MFLG) gets set to b which my make has trouble deal with so in Makefile change template: @ { \ $(ECHO) ; \ $(MECHO) Entering directory \$(MDIR)\ ; \ cd $(MDIR) ; \ $(MECHO) Invoking \$(MAKE) $(MFLG) $(MTGT)\ ; \ $(MAKE) $(MFLG) $(MTGT); \ RET=$$? ; \ $(MECHO) Exiting directory \$(MDIR)\ ; \ cd $(SRCDIR) ; \ if test $${RET} != 0 ; then \ exit $${RET} ; \ fi ; \ } to template: @ { \ $(ECHO) ; \ $(MECHO) Entering directory \$(MDIR)\ ; \ cd $(MDIR) ; \ $(MECHO) Invoking \$(MAKE) $(MTGT)\ ; \ $(MAKE) $(MTGT); \ RET=$$? ; \ $(MECHO) Exiting directory \$(MDIR)\ ; \ cd $(SRCDIR) ; \ if test $${RET} != 0 ; then \ exit $${RET} ; \ fi ; \ } Let me know if you have any problems I can send you my mod_webapp.so file Jeffrey Peloquin -Ursprüngliche Nachricht- Von: Srinidhi H. [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 9. April 2002 14:51 An: Tomcat-User (E-mail) Betreff: mod_webapp build problem Hello, I am trying to build mod_webapp module on hp-ux platform and getting the following error while running configure script of this module. I ran the following command after building libtool and placing it in current path. #./configure --with-apxs=/opt/apache1322/bin/apxs Building APR configure script Invoking: ./buildconf in /opt/apache1322/webapp-module-1.0-tc40/apr APR buildconf: buildconf: checking installation... APR buildconf: buildconf: autoconf not found. APR buildconf: You need autoconf version 2.13 or newer installed APR buildconf: to build Apache from CVS. Execution of ./buildconf returned 1 configure: error: APR buildconf terminated with error code 1 Can any one help me out to over come the above mentioned error. Regards, Srinidhi -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Adobe Acrobat
The two I know of are: Acrobat Distiller -- £150 or so but with horrendous licensing costs for using it in a web application Zeon Docucom http://www.zeon.com.tw costs about $65 but the license seems fine for use as part of a web app. However, both are windows specific. Zeon has a demo version but it requires you to press OK to a nag screen before each print. Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original Message- From: Adrian Beech [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 11:06 AM To: Tomcat Users List Subject: Re: Adobe Acrobat Huh, there is a printer driver that produces PDF files? Tell me more... oh please tell me more! This could be an answer to an issue I have with trying to read reports generated in Crystal reports within a browser, h... Adrian [EMAIL PROTECTED] - Original Message - From: John Burgess [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 6:55 PM Subject: RE: Adobe Acrobat Or alternatively use a printer driver that produces pdf files (Adobe Acrobat or Xeon Docucom are two) and print to file from the servlet, then return the file produced. The other suggestions are probably neater and open source but this does definitely work :-) Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original Message- From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 10:39 PM To: Tomcat Users List Subject: Adobe Acrobat Hi: How do I render my html pages to pdf for printing. My servelet generated html table is too wide and columns get cut off if I print directly using the print icon on the browser... Thanks -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.343 / Virus Database: 190 - Release Date: 22/03/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.343 / Virus Database: 190 - Release Date: 22/03/02 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.343 / Virus Database: 190 - Release Date: 22/03/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.343 / Virus Database: 190 - Release Date: 22/03/02 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: integrating TOMCAT 4.0 with APACHE 2.0 - or Tomcat 3.3.1
I'm trying the same! I get the CVS copy of jakarta-tomcat-connector, build and mod_jk.so, but it's don work! I get an error 500, handler not found. Can somebody release an working mod_jk.so for apache 2.0 please. Thanks El Mar 09 Abr 2002 08:27, David Cassidy escribió: I'd really quite like to try Tomcat 3.3.1 with apache 2.0 I've tried the binaries for apache 2 - for linux http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux/i3 86/ mod_jk-3.3-ap20.so http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux/i 386/mod_jk-3.3-ap20.so Apache says 'httpd: module mod_jk.c is not compatible with this version of Apache.' If I try to build the version from source - There isn't an apache2 version in the source distro of Tomcat 3.3.1 Help Thanks David Mike Dewhirst wrote: has anybody successfully integrated Apache 2 with Tomcat 4? If yes, how did you do it, I can't figure it out. If it's RTFM - which part, I couldn't find it in the docs... =** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Error in XML
Sorry, message to wrong receiver. Have you done anything with the xerces jar? I have replace the xerces jar that comes with the tomcat download with the new jaxp jar. Everything works for me. -Original Message- From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 8:37 AM To: Tomcat Users List Subject: Re: Error in XML João Augusto Charnet a écrit : Which XML ??? Server.xml Web.xml or tomcat-users.xml [EMAIL PROTECTED] wrote: what's your xml file like? -Original Message- From: João Augusto Charnet [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 7:35 AM To: Jakarta Subject: Error in XML Does anybody knows what's going on ??? Every time I start Jakarta 4.03, and a I get the following error: PARSE error at line 1 column 1 org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. I couldn't find where this error is ... Thanks a lot ... Sincerely, John. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Well first of all, Go to yur server.xml file and change the debug=10 to debug=25. Restart and have look in yur catalina.out; it 'll be much more verbose and tell yu exactly which file is generating such this error. :O) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: starting Tomcat 4.0.3 on Compaq Tru64 Unix
Its the $@ in the java calls. For some reason, Tru64 handles an empty string as an argument differently and complains about it as an invalid argument. You can either pass an argument to the script ( -config works, as noted below), or remove the $@ in all the java calls, which means that can never pass in an argument. Or modify the source to ignore it. Dean and catalina.out shows: usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } My problem exactly. I don't know if it is just Tru64 UNIX or others have the same problem, but either *startup.sh is broken* or there is something messy with shells on Tru64. The message Lee reported on the bottom is from Catalina and it simply states that the startup parameters were wrong. What must be added is -config ${CATALINA_HOME}/conf/server.xml. For some reason, it must be explicitely stated on startup. So, on 4.03 I had to edit startup.sh line into this: exec $PRGDIR/$EXECUTABLE start -config ${CATALINA_HOME}/conf/server.xml Is org.apache.catalina.startup.Catalina supposed to look around for it's config file if not specifically stated on command line? Nix. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: repost an unanswered question.
Can you give me sample... and have you isolated the login.jsp, ie: can you take another page and create this same situation. Does to problem happen before, or after login? What does LOG generate. Is is consistent in different browser versions? thanks todd http://www.wiserlabz.com collaborative effort to promote Novell and Open Source solutions Alvin Wang wrote: But I am using tomcat 4.0 on W2k. And I do not remember the cat complained anything when it is started up. -Original Message- From: todd tredeau [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 5:39 PM To: Tomcat Users List Subject: Re: repost an unanswered question. Ok... I'll bite... I've seen this error (or lack of it), when I get errors with an incompatbile jndirealm and enabling jmx beans are you getting any kind of errors at tomcat startup, or in your log files I understand you say basically reload after and it works. I also ran into this when I began testing Chiki, it seems that when I updated to Tomcat 4.0.X the problem went away... So I didn't really try to fix it, but upgraded past the issue...I hope this helps.. from a non-technical perspective.. todd http://www.wiserlabz.com collaborative effort to promote Novell and Open Source solutions Alvin Wang wrote: I'm not complaining. But I read someone said that they always can get positive responses for their postings. Maybe my question is naive, but I try again. -Original Message- From: Alvin Wang [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 4:18 PM To: Tomcat Users List Cc: SERVLET-INTEREST Subject: JDBCRealm problem (EMPTY page after login) Hi! I am using JDBCRealm in Tomcat to setup the user authentication. For example if the user want to access abc.html, Tomcat will first display the login.jsp page. However, after the user logs in, it shows an BLANK page. The user has to refresh the browser to see the content of abc.html Can any guru tell me how to fix this? Thanks! Alvin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: integrating TOMCAT 4.0 with APACHE 2.0 - or Tomcat 3.3.1
Copying an earlier response from Larry Isaacs; maybe you missed it... If I read it right, sounds like it's premature to start trying to use Tomcat w/Apache 2. = The API to Apache 2 is very different from Apache 1.3.x. It was also evolving, so it wasn't practical to include a working Apache 2 connector in Tomcat 3.3.x, or Tomcat 4.x for that matter. The mod_jk-3.3-ap20.so is likely a version that Henri Gomez built a while ago, and is probably out of date with respect to the current Apache 2. Work on a mod_jk, actually mod_jk2, connector for Tomcat 3.3.x and Tomcat 4.x is being actively worked on as part of the jakarta-tomcat-connectors project. You can check the mail archives of tomcat-dev to see what is being done. The mod_jk2 for Apache 2 appears within the jakarta-tomcat-connectors repository under jk/native2 directory. Cheers, Larry = -Original Message- From: Mauricio Nuñez [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 9:06 AM To: Tomcat Users List Subject: Re: integrating TOMCAT 4.0 with APACHE 2.0 - or Tomcat 3.3.1 I'm trying the same! I get the CVS copy of jakarta-tomcat-connector, build and mod_jk.so, but it's don work! I get an error 500, handler not found. Can somebody release an working mod_jk.so for apache 2.0 please. Thanks El Mar 09 Abr 2002 08:27, David Cassidy escribió: I'd really quite like to try Tomcat 3.3.1 with apache 2.0 I've tried the binaries for apache 2 - for linux http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux/i3 86/ mod_jk-3.3-ap20.so http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux/i 386/mod_jk-3.3-ap20.so Apache says 'httpd: module mod_jk.c is not compatible with this version of Apache.' If I try to build the version from source - There isn't an apache2 version in the source distro of Tomcat 3.3.1 Help Thanks David Mike Dewhirst wrote: has anybody successfully integrated Apache 2 with Tomcat 4? If yes, how did you do it, I can't figure it out. If it's RTFM - which part, I couldn't find it in the docs... =** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: integrating TOMCAT 4.0 with APACHE 2.0 - or Tomcat 3.3.1
The Apache 2.0 connector I think is called mod_jk2 and is built from the jk/native2 directory. The jk/native directory builds mod_jk, which is an Apache 1.3 connector that won't work with Apache 2.0. I haven't done anything with mod_jk2 yet, so I can't say whether the current mod_jk2 will satisfy your definition of working. Cheers, Larry -Original Message- From: Mauricio Nuñez [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 10:06 AM To: Tomcat Users List Subject: Re: integrating TOMCAT 4.0 with APACHE 2.0 - or Tomcat 3.3.1 I'm trying the same! I get the CVS copy of jakarta-tomcat-connector, build and mod_jk.so, but it's don work! I get an error 500, handler not found. Can somebody release an working mod_jk.so for apache 2.0 please. Thanks El Mar 09 Abr 2002 08:27, David Cassidy escribió: I'd really quite like to try Tomcat 3.3.1 with apache 2.0 I've tried the binaries for apache 2 - for linux http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1 /bin/linux/i3 86/ mod_jk-3.3-ap20.so http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux/i 386/mod_jk-3.3-ap20.so Apache says 'httpd: module mod_jk.c is not compatible with this version of Apache.' If I try to build the version from source - There isn't an apache2 version in the source distro of Tomcat 3.3.1 Help Thanks David Mike Dewhirst wrote: has anybody successfully integrated Apache 2 with Tomcat 4? If yes, how did you do it, I can't figure it out. If it's RTFM - which part, I couldn't find it in the docs... =** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: jk_nt_service with 4.0.1, can't find my web.xml
You were right. I upgraded to 4.0.3 and everything seems to be working fine. I was staying at 4.0.1 because of a bug in IE and cache-ing PDFs. I guess I'll have to fix that problem instead of not upgrading. Chris -Original Message- From: todd tredeau [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 4:03 PM To: Tomcat Users List Subject: Re: jk_nt_service with 4.0.1, can't find my web.xml I think this web.xml is a 4.0.1 issue. I like improvements in 4.0.2-4.0.4b2, again, this goes back to all the confusion on versions / builds, etc but I see no reason to run an older version really... forgive me if I am in error here.. todd http://www.wiserlabz.com collaborative effort to promote Novell and Open Source solutions check out Chiki http://chiki.wiserlabz.com !! Chris Gross wrote: I found instructions on how to use the jk_nt_service from v3.2 with v4.0.1. I followed the instructions and it seemed to work. Tomcat starts successfully but Tomcat is saying it can't find the web.xml for my webapp. Its definitely there. Here's whats in the log: 2002-04-08 15:04:37 ContextConfig[/MyApp]: Missing application web.xml, using defaults only 2002-04-08 15:04:37 ContextConfig[/MyApp]: Added certificates - request attribute Valve 2002-04-08 15:04:37 StandardWrapper[/MyApp:default]: Loading container servlet default 2002-04-08 15:04:37 default: init 2002-04-08 15:04:37 StandardWrapper[/MyApp:invoker]: Loading container servlet invoker 2002-04-08 15:04:37 invoker: init 2002-04-08 15:04:37 jsp: init 2002-04-08 15:04:37 Internal Error: File /WEB-INF/web.xml not found 2002-04-08 15:04:58 StandardHost[localhost]: MAPPING configuration error for request URI 2002-04-08 15:05:00 StandardHost[localhost]: MAPPING configuration error for request URI If I use startup.bat everything works fine. -chris -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
webapps deployment
Hi, From what I've seen, Tomcat 4.0.3 creates a default context for every directory under its appBase and tries to deploy. Is there a way to tell it only to deploy apps under directories which have a context configured for the in server.conf and only them ? Thanks, Yuval -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Does anyone know how to unsubscribe this mailing list?
Does anyone know how to unsubscribe this mailing list? I sent a message to : [EMAIL PROTECTED] but it's bounced back. Thanks. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 07, 2002 23:31 Subject: Problem Installing Tomcat Hello; I have installed Tomcat 3.1 on my PC.I set some environment variable as described in the documentation on apache web site.When I start Tomcat from DOS using startup command it does start in a new window but then the new window closes.Writing Url localhost:8080 on the browser address field returns nothing.I will appreciate if anybody can suggest anything about what I should do to run Tomcat.Thank you. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Problem with HTTP/1.0 Connection in Tomcat 4.0.1 4.0.3
The problem below seems to occur only when enableLookups is set to false. Setting enableLookups to true gives me no problems with the HTTP/1.0 connector. Wrong. The problem was really using the port number 3080. Running with port 8080 works ok. Anyone knows about why this only occurs with the HTTP/1.0 connector (and not with the HTTP/1.1 connector)? /Per -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
I assume general question about Connectin Pooling. Please help if you know answer.
Hi All. Basic situation. I have Tomcat + mySQL And I need to cache my Database connections, to avoid establishing connection each time. Please help. Sincerely yours, Ivan Latysh. [EMAIL PROTECTED] http://ivan.yourmail.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: download link for mod_jk
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/ Choose the jakarta-tomcat-connectors zip or tar.gz file as needed. Note that mod_jk is just one part of this collection. Jeff - Original Message - From: Duane Gran [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: SpinWeb Admin [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 7:44 AM Subject: download link for mod_jk I've looked around but I can't find where to download mod_jk sources. Could someone please give me a pointer? Thanks. Duane -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: NullPointerException when using JDBC ResultSet next() method
Thank you Giorgio! That was it! Boy do I feel stupid. Thanks again. -Original Message- From: Giorgio Ponza [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 2:15 AM To: Tomcat Users List Subject: Re: NullPointerException when using JDBC ResultSet next() method sorry, but you called ResultSet rset = stmt.executeQuery (select sc_id from bug_status_codes); and then used rs.next() maybe they must be all rs or all rset. Bye Giorgio -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Handle exceptions correctly
Hi, I used to handle exceptions quite weel within my JSP pages. This is what I chose to do : - always throw Exceptions inside my Java methods and don't catch them inside. - don't do a try{} catch{} statement within my JSP pages. - but include an error page so that errors get redirected there. It used to work quite well but now whenever I get a small exception somewhere in the code all I have is a message saying : org.apache.jasper.JasperException: Unable to compile class for JSP} catch (Throwable t) { ^ } ^ } ^ 3 errors at The problem is that I don't know what I have changed in my code, not much. Do you know what type of problems that can occur with this ? Thanks for your help -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]