[Thread Prev][Thread Next][Index]
Re: [las_users] LAS: Java Servlet Error
Hi Roland,
Please try the following URL, that is working.
http://maud.cims.nyu.edu:8080/index.html
That means an HTTP server is running for LAS to work. Isn't it?
Then what can be the server error I explained earlier.
Thanks,
C. Shaji.
> Hi,
>
> I cannot connect to a web server at
>
> http://maud.cims.nyu.edu/.
>
>
> In order for LAS to run, you must have an Apache server (or other
> suitable HTTP server) running which can handle CGI requests.
>
> Roland
>
> C. Shaji wrote:
>> Dear Roland,
>> Please see I get the following as the URL attribute.
>>
>> [root@maud server]# grep 'url' las.xml
>> url="http://fish.cims.nyu.edu/project_aomip/overview.html"/>
>> <operations
>> url="http://maud.cims.nyu.edu/las_aomip-bin/LASserver.pl">
>>
>> Thanks,
>> C. Shaji.
>>
>>
>>> Hello,
>>>
>>> What is the URL for the product server in your configuration?
>>>
>>> Look at the file las/server/las.xml and tell me what is in the url
>>> attribute:
>>>
>>> <operations url="http://...">
>>>
>>> Roland
>>>
>>> C. Shaji wrote:
>>>
>>>> Dear All,
>>>> I sent one email yesterday reporting some error I am getting in LAS,
>>>> which
>>>> I could not understand. I am re-sending it again, hoping someone can
>>>> understand this LAS error and help me a little bit to go ahead.
>>>>
>>>> I am sorry this is a lengthy email, but please read it.
>>>>
>>>> 1) When I try to access the data in the web from the LAS, I get the
>>>> following error. Did anyone experience this type of error before? If
>>>> so,
>>>> can someone please explain me what is this error and how can I fix it?
>>>> I don't have any experience in Java also.
>>>>
>>>> The only thing I understood is some "java Servlet Connection" is lost.
>>>> How
>>>> can I debug which connection is lost and how can I bring back that
>>>> connection to normal? I would be much glad if someone can help me in
>>>> this.
>>>> ------------------------------------------------
>>>> LAS server error
>>>> The following error occurred:
>>>>
>>>> javax.servlet.ServletException: Connection refused
>>>> at gov.noaa.pmel.tmap.FormFilter.doFilter(FormFilter.java:95)
>>>> at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
>>>> at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>>>> at
>>>> gov.noaa.pmel.tmap.SessionFilter.doFilter(SessionFilter.java:245)
>>>> at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
>>>> at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>>>> at
>>>> gov.noaa.pmel.tmap.ExceptionFilter.doFilter(ExceptionFilter.java:24)
>>>> at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
>>>> at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>>>> at
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
>>>> at
>>>> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>>>> at
>>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>>>> at
>>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>>> at
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
>>>> at
>>>> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>>>> at
>>>> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
>>>> at
>>>> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>>>> at
>>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>>>> at
>>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>>> at
>>>> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
>>>> at
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>>>> at
>>>> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>>>> at
>>>> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>>>> at
>>>> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>>>> at
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
>>>> at
>>>> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>>>> at
>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>>>> at
>>>> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>>>> at
>>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>>>> at
>>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>>> at
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>>>> at
>>>> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>>>> at
>>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>>>> at
>>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>>> at
>>>> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
>>>> at
>>>> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
>>>> at java.lang.Thread.run(Thread.java:534)
>>>>
>>>> Root cause of servlet exception was:
>>>>
>>>> javax.servlet.ServletException: Connection refused
>>>> at
>>>> gov.noaa.pmel.tmap.TemplateServlet.error(TemplateServlet.java:123)
>>>> at
>>>> org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.java:363)
>>>> at
>>>> org.apache.velocity.servlet.VelocityServlet.doGet(VelocityServlet.java:294)
>>>> at
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>>>> -------------------------------------------------------------------
>>>>
>>>> 2) For the above error I just got one reply as follows:
>>>>
>>>>
>>>>
>>>>> My guess is that you have multiple copies of the tomcat servlet
>>>>> container running (all using the same port).
>>>>>
>>>>> Look at your process list with (ps -ef or ps -auxww) and kill off all
>>>>> the servlet containers you see running. Then restart the LAS that
>>>>> you
>>>>> would like to use. Verify it's running with 'ps' and then try to
>>>>> connect to it.
>>>>>
>>>>> Roland
>>>>>
>>>>>
>>>>>
>>>> I could not find any processes with multiple java running in the
>>>> system.
>>>> Please see what I am getting.
>>>>
>>>> [root@maud las]# ps -ef |grep java
>>>> root 1038 1 0 10:40 ? 00:00:04
>>>> /usr/java/j2sdk1.4.2/bin/java -D
>>>> cshaji 1503 1460 0 10:42 ? 00:00:01 java_vm
>>>>
>>>> ---------------------------------------------
>>>> [root@maud las]# ps -ef
>>>> UID PID PPID C STIME TTY TIME CMD
>>>> root 1 0 0 10:39 ? 00:00:04 init
>>>> root 2 1 0 10:39 ? 00:00:00 [keventd]
>>>> root 3 1 0 10:39 ? 00:00:00 [ksoftirqd_CPU0]
>>>> root 4 1 0 10:39 ? 00:00:00 [ksoftirqd_CPU1]
>>>> root 5 1 0 10:39 ? 00:00:00 [kswapd]
>>>> root 6 1 0 10:39 ? 00:00:00 [kscand/DMA]
>>>> root 7 1 0 10:39 ? 00:00:00 [kscand/Normal]
>>>> root 8 1 0 10:39 ? 00:00:00 [kscand/HighMem]
>>>> root 9 1 0 10:39 ? 00:00:00 [bdflush]
>>>> root 10 1 0 10:39 ? 00:00:00 [kupdated]
>>>> root 11 1 0 10:39 ? 00:00:00 [mdrecoveryd]
>>>> root 17 1 0 10:39 ? 00:00:00 [aacraid]
>>>> root 18 1 0 10:39 ? 00:00:00 [scsi_eh_0]
>>>> root 23 1 0 10:39 ? 00:00:00 [kjournald]
>>>> root 77 1 0 10:39 ? 00:00:00 [khubd]
>>>> root 404 1 0 10:39 ? 00:00:00 [knodemgrd]
>>>> root 716 1 0 10:40 ? 00:00:00 syslogd -m 0
>>>> root 720 1 0 10:40 ? 00:00:00 klogd -x
>>>> rpc 737 1 0 10:40 ? 00:00:00 portmap
>>>> rpcuser 756 1 0 10:40 ? 00:00:00 rpc.statd
>>>> root 864 1 0 10:40 ? 00:00:00 /usr/sbin/sshd
>>>> root 880 1 0 10:40 ? 00:00:00 xinetd -stayalive
>>>> -pidfile
>>>> /var/run/xinetd.pid
>>>> root 889 1 0 10:40 ? 00:00:00 cupsd
>>>> root 942 1 0 10:40 ? 00:00:00 /bin/sh
>>>> /usr/bin/safe_mysqld --defaults-file=/etc/my.cnf
>>>> mysql 974 942 0 10:40 ? 00:00:00 /usr/libexec/mysqld
>>>> --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql
>>>> --user=mysql --pid-firoot 991 1 0 10:40 ? 00:00:00
>>>> sendmail: accepting connections
>>>> smmsp 1000 1 0 10:40 ? 00:00:00 sendmail: Queue
>>>> runner@01:00:00 for /var/spool/clientmqueue
>>>> root 1010 1 0 10:40 ? 00:00:01 gpm -t ps/2 -m
>>>> /dev/mouse
>>>> root 1027 1 0 10:40 ? 00:00:00 crond
>>>> root 1038 1 0 10:40 ? 00:00:04
>>>> /usr/java/j2sdk1.4.2/bin/java
>>>> -Djava.endorsed.dirs=/home/las/las_servlet/jakarta/bin:/home/las/las_servlet/jaxfs
>>>> 1070 1 0 10:40 ? 00:00:00 xfs -droppriv -daemon
>>>> daemon 1088 1 0 10:40 ? 00:00:00 /usr/sbin/atd
>>>> root 1112 1 0 10:40 ? 00:00:00 rhnsd --interval 120
>>>> root 1127 1 0 10:40 ? 00:00:00
>>>> /usr/local/rsi/idl_6.1/bin/bin.linux.x86/lmgrd
>>>> root 1128 1127 0 10:40 ? 00:00:00
>>>> /usr/local/rsi/idl_6.1/bin/bin.linux.x86/idl_lmgrd -T
>>>> maud.cims.nyu.edu
>>>> 9.2 3 --lmgrd_start 440711e1
>>>> root 1148 1 0 10:40 tty1 00:00:00 /sbin/mingetty tty1
>>>> root 1149 1 0 10:40 tty2 00:00:00 /sbin/mingetty tty2
>>>> root 1150 1 0 10:40 tty3 00:00:00 /sbin/mingetty tty3
>>>> root 1151 1 0 10:40 tty4 00:00:00 /sbin/mingetty tty4
>>>> root 1152 1 0 10:40 tty5 00:00:00 /sbin/mingetty tty5
>>>> root 1153 1 0 10:40 tty6 00:00:00 /sbin/mingetty tty6
>>>> root 1154 1 0 10:40 ? 00:00:00 /usr/bin/gdm-binary
>>>> -nodaemon
>>>> root 1198 1154 0 10:40 ? 00:00:00 /usr/bin/gdm-binary
>>>> -nodaemon
>>>> root 1199 1198 1 10:40 ? 00:00:30 /usr/X11R6/bin/X :0
>>>> -auth
>>>> /var/gdm/:0.Xauth
>>>> cshaji 1211 1198 0 10:41 ? 00:00:00 -/bin/csh -c
>>>> /usr/bin/ssh-agent /etc/X11/xinit/Xclients
>>>> cshaji 1302 1211 0 10:41 ? 00:00:00 /usr/bin/gnome-session
>>>> cshaji 1303 1302 0 10:41 ? 00:00:00 /usr/bin/ssh-agent
>>>> /etc/X11/xinit/Xclients
>>>> cshaji 1308 1 0 10:41 ? 00:00:00 /usr/libexec/gconfd-2
>>>> 9
>>>> cshaji 1310 1 0 10:41 ? 00:00:00
>>>> /usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=14
>>>> cshaji 1312 1 0 10:41 ? 00:00:01 /usr/bin/metacity
>>>> --sm-client-id=default1
>>>> cshaji 1315 1 0 10:41 ? 00:00:00 gnome-settings-daemon
>>>> --oaf-activate-iid=OAFIID:GNOME_SettingsDaemon --oaf-ior-fd=12
>>>> cshaji 1318 880 0 10:41 ? 00:00:00 fam
>>>> cshaji 1323 1 0 10:41 ? 00:00:00 esd -terminate
>>>> -nobeeps
>>>> -as 2 -spawnfd 22
>>>> cshaji 1327 1 0 10:41 ? 00:00:00 xscreensaver -nosplash
>>>> cshaji 1333 1 0 10:41 ? 00:00:01 gnome-panel
>>>> --sm-client-id
>>>> default2
>>>> cshaji 1335 1 0 10:41 ? 00:00:01 nautilus
>>>> --no-default-window --sm-client-id default3
>>>> cshaji 1337 1 0 10:41 ? 00:00:01 magicdev
>>>> --sm-client-id
>>>> default4
>>>> cshaji 1340 1 0 10:41 ? 00:00:00 pam-panel-icon
>>>> --sm-client-id default0
>>>> cshaji 1342 1 0 10:41 ? 00:00:10 /usr/bin/python
>>>> /usr/bin/rhn-applet-gui --sm-client-id default5
>>>> root 1343 1340 0 10:41 ? 00:00:00
>>>> /sbin/pam_timestamp_check
>>>> -d root
>>>> cshaji 1350 1 0 10:41 ? 00:00:02
>>>> /usr/bin/gnome-terminal
>>>> cshaji 1351 1350 0 10:41 pts/0 00:00:00 -sh
>>>> cshaji 1390 1350 0 10:41 pts/1 00:00:00 -sh
>>>> root 1429 1390 0 10:41 pts/1 00:00:00 su
>>>> root 1432 1429 0 10:41 pts/1 00:00:00 bash
>>>> cshaji 1460 1 1 10:42 ? 00:00:25
>>>> /usr/lib/mozilla-1.0.2/mozilla-bin
>>>> cshaji 1503 1460 0 10:42 ? 00:00:01 java_vm
>>>> root 1625 1432 0 11:18 pts/1 00:00:00 ps -ef
>>>> ----------------------------------------------
>>>> I would hiappreciate some suggestions to gix this error.
>>>>
>>>>
>>>> Thanks in advance,
>>>>
>>>> C. Shaji.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>
>
--
Dr.C.Shaji
Courant Institute of Mathematical Sciences (CIMS)
New York University (NYU)
251 Mercer Street, Room # 1311
New York, NY 10012, U.S.A.
Phone: 212-998-3331 (O); 212-677-9047 (R)
Fax: 212-995-4121
Email : cshaji@cims.nyu.edu
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement