URLConnection and form based authentication (j_username)
I cannot get this to work. It works for all other sites besides ones that have j_username j_password. It always comes back to the login page. I see other messageboards via google that have the same problem, but there is no answer. form method=POST action='/cpvs/login' input type=hidden name=auth value=securid / table border=0 cellspacing=5 tr th align=rightUsername:/th td align=leftinput type=text name=j_username/td /tr tr th align=rightPassword:/th td align=leftinput type=password name=j_password /td /tr tr td align=rightinput type=submit value=Log In name=login /td td align=leftinput type=reset/td /tr /table /form /div /center Anthony Smith Programmer Analyst International Technologies 901-263-8953 Having education and talent doesn't make you better than the world... it makes you responsible for it!
Tomcat takes a long time to startup
2005-06-12 22:03:52 HostConfig[gspapptest1.zmd.fedex.com]: Deploying configuration descriptor jetspeed.xml 2005-06-12 22:15:25 HostConfig[gspapptest1.zmd.fedex.com]: Deploying configuration descriptor BDA.xml What could be making the time to deploy the jetspeed.xml over 12 minutes? This is my jetspeed.xml file: !-- portal webapp context -- Context path=/jetspeed docBase=jetspeed debug=00 reloadable=true crossContext=true swallowOutput=true Logger className=org.apache.catalina.logger.FileLogger prefix=jetspeed. suffix=.txt timestamp=true/ /Context Anthony Smith Programmer Analyst International Technologies 901-263-8953 Having education and talent doesn't make you better than the world... it makes you responsible for it!
RequestDumperValve stuff in my logs
How can I get this type of stuff to stop printing in my catalina_log files: 2005-06-10 00:00:14 RequestDumperValve[Standalone]: header=3Daccept-charset=3Diso-8859-1,*,utf-8 2005-06-10 00:00:14 RequestDumperValve[Standalone]: header=3Daccept-encoding=3Dgzip 2005-06-10 00:00:14 RequestDumperValve[Standalone]: header=3Daccept-encoding=3Dgzip 2005-06-10 00:00:14 RequestDumperValve[Standalone]: header=3Dconnection=3Dclose 2005-06-10 00:00:14 RequestDumperValve[Standalone]: header=3Dconnection=3Dclose 2005-06-10 00:00:14 RequestDumperValve[Standalone]: header=3Dcontent-length=3D48 2005-06-10 00:00:14 RequestDumperValve[Standalone]: header=3Dcontent-length=3D48 2005-06-10 00:00:14 RequestDumperValve[Standalone]: header=3Dcontent-type=3Dapplication/x-www-form-urlencoded;charset=3DUTF- 8= 2005-06-10 00:00:14 RequestDumperValve[Standalone]: header=3Dcontent-type=3Dapplication/x-www-form-urlencoded;charset=3DUTF- 8= 2005-06-10 00:00:14 RequestDumperValve[Standalone]: header=3Duser-agent=3DBW-HTTPClient/5.2 Anthony Smith Programmer Analyst International Technologies 901-263-8953 Having education and talent doesn't make you better than the world... it makes you responsible for it!
Container StandardContext[/vp] has not been started
I have no idea what this means. All I tried to do was startup Tomcat with a new webapp. I really did not know where to begin. 2004-07-01 16:14:57 StandardContext[/vp]: Resources start failed: 2004-07-01 16:14:57 StandardContext[/vp]: Context startup failed due to previous errors 2004-07-01 16:14:57 StandardContext[/vp]: Exception during cleanup after start failed LifecycleException: Container StandardContext[/vp] has not been started at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3621) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8 21) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer. java:529) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:228) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260) at org.apache.commons.digester.Digester.endElement(Digester.java:1036) at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.jav a:546) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocu mentFragmentScannerImpl.java:1073) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc her.dispatch(XMLDocumentFragmentScannerImpl.java:1535) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume ntFragmentScannerImpl.java:348) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:539) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:595) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:112 5) at org.apache.commons.digester.Digester.parse(Digester.java:1514) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j ava:335) at org.apache.catalina.core.StandardHost.install(StandardHost.java:803) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452 ) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Anthony Smith International Technologies 901-263-8953 Having education and talent doesn't make you better than the world... it makes you responsible for it!
Tomcat JNDI
I have/had the two working together, but my only problem is this. When I blow away the webapp and its war and add a new war, my app does don't explode the war. I get a message in my tomcat log file that says: java.lang.IllegalArgumentException: Document base C:\Program Files\Apache Group\Tomcat 4.1\webapps\vp does not exist or is not a readable directory Well I know the folder is not there because it has not been exploded yet? How do I get it to explode the war before it checks or some other way? I would like to continue set my app up in a way where each time I do a load I can blow away the app folder and its war file, then add the new war file and start tomcat Anthony Smith GSP Technologies 901-263-8953 Having education and talent doesn't make you better than the world... it makes you responsible for it!
WebDav
I got the latest version of Tomcat.It is on a Linux Box. I wanted to use webdav inorder to give our developers the ability to modify files in our webapps in Tomcat w/o having to login to the box and do vi or something, w/o having to ftp files over or without having to scp files over. We all use windows boxes and I basically just wanted to do something like Webdav well they could just see a gui copy the file over edit it and copy it back. Can I do this with webdav and if so how? And if not are there any other options. Anthony Smith GSP Technologies 901-263-8953 Having education and talent doesn't make you better than the world... it makes you responsible for it! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Mime-Type
I did not know where ask to else this question. Is there a mime-type for a jsp? If so, what is it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: WebDav
I can't seem to copy jsp files from my webdav nor an I copy them to my webdav? DO you have this problem? -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 11:39 AM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: WebDav [EMAIL PROTECTED] wrote: Hi, I am not familiar with webdav. What it, any links?? http://webdav.org/ I got the latest version of Tomcat.It is on a Linux Box. I wanted to use webdav inorder to give our developers the ability to modify files in our webapps in Tomcat w/o having to login to the box and do vi or something, w/o having to ftp files over or without having to scp files over. We all use windows boxes and I basically just wanted to do something like Webdav well they could just see a gui copy the file over edit it and copy it back. Can I do this with webdav and if so how? And if not are there any other options. One option is to set up a dedicated webDAV server which you are able to use the way you like (as a workspace and shared repository of your files), and provide an ant script which builds the webapp and ships it over to the Tomcat server. I never do any development in my Tomcat directories anymore. I find it's much easier to work on my local machine, or even in a workspace directory on the server where my Tomcat is running, and then use an ant script to (1) first build the application and (2) move the build from the local machine/workspace directory to the Tomcat directory. Using a scheme like this, you should be able to have your cake and eat it too. Erik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
web.xml help
Let me explain my problem just in case there is another solution... In my Tomcat enviroment, there may be several developers working on one webapp, but I want each one of the developers to use their own web.xml or some variant of it. Is this possible? So for developer 1's folder he can drop his xml file in the WEB-INF folder and have access to all its properties, but still have access to web.xml as well as the other xml files that may be in existence... -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: web.xml help
Well we got that going, and this may be a Jetspeed question but I want to have one webapp access another but in the scope of a portlet... -Original Message- From: Cooperstock, Dan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 4:15 PM To: 'Tomcat Users List' Subject: RE: web.xml help What you are suggesting doesn't sound very safe without using a source code control system. What we do is to have each developer have a local copy of Tomcat on their PC, with their own copy of the source code for the web app. That copy is a sandbox, copied out of the master project in the source code control system (MKS Source Integrity). When they want to edit a file, they check it out to their sandbox, work on it, then check it back in to the main project. -- From: Anthony Smith[SMTP:[EMAIL PROTECTED]] Reply To: Tomcat Users List Sent: Monday, September 30, 2002 5:10 PM To: Tomcat Users List Subject: web.xml help Let me explain my problem just in case there is another solution... In my Tomcat enviroment, there may be several developers working on one webapp, but I want each one of the developers to use their own web.xml or some variant of it. Is this possible? So for developer 1's folder he can drop his xml file in the WEB-INF folder and have access to all its properties, but still have access to web.xml as well as the other xml files that may be in existence... -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]