hi
all i am using intellij
idea.
It completely superb.Its having a lot of
code generation,factoring
capabilities.
Can i get information abt ur IDE
plus
In intellij::
Has a best refactoring
capability
1.The most best thing abt is while coding
itself
half of the errors re
highlighted
2.It has a quite good appearance-sliding
windows
it doesn't occupy the working
area
3.Go to reference and show quick javadoc are
nice additional features
-ve
features:
somewhat slow
since it has been made in java
u have to run a
inbuilt garbage collector may be once in 10
hrs
-----Original Message-----Greetings.
From: "José Ant. Vargas Alvarado" [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 8:17 PM
To: Orion-Interest
Cc: "José Ant. Vargas A."
Subject: Problems with com.evermind.server.http.TunnelServlet
Importance: High
I read the solution for mapping some content from Orion to another web server like Apache, but I'm still having some problems trying to make it work.
Right now I have an Apache web server with SSL support turned on (https://localhost/) and I have the Orion server in the same machine in port 8888 (both in a Linux platform). Apache uses mod_proxy to send Java content to Orion like this:
<IfModule mod_proxy.c>
ProxyRequests On
ProxyPass /servlet/ http://localhost:8888/servlet/
ProxyPassReverse /servlet/ http://localhost:8888/servlet/
ProxyPass /jsp/ http://localhost:8888/
ProxyPassReverse /jsp/ http://localhost:8888/
</IfModule>
I need Apache to serve some special CGI and .html content; and some JSP and servlets need to "call back" to Apache to serve this content. So in global-web-application.xml ($ORION_HOME/config/) I turned on the tunneling servlet using the com.evermind.server.http.TunnelServlet as follows:
...
<servlet><servlet-name>tunnel</servlet-name> <servlet-class>com.evermind.server.http.TunnelServlet</servlet-class> <init-param> <param-name>targetRoot</param-name> <param-value>https://localhost/</param-value> </init-param>
</servlet>
...
<servlet-mapping><servlet-name>tunnel</servlet-name> <url-pattern>/sp_*</url-pattern>
</servlet-mapping>
<servlet-mapping><servlet-name>tunnel</servlet-name> <url-pattern>/pk_*</url-pattern>
</servlet-mapping>
<servlet-mapping><servlet-name>tunnel</servlet-name> <url-pattern>/*.html</url-pattern>
</servlet-mapping>
...
...but this is not working. I tried to request some page directly from Orion with http://localhost:8888/menu.html just as a simple test (this page is located in Apache document root, not in Orion), and got the following error:
500 Internal Server Error
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:132)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:119)
at java.net.Socket.<init>(Socket.java:269)
at java.net.Socket.<init>(Socket.java:125)
at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.TunnelServlet.service(TunnelServlet.java:42)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:501)
at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:170)
at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:576)
at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:62)
Is this because we are using SSL (https://...) for the Apache? Or is it something else?Jose Ant. Vargas A.
Web & Java Developer
Online Data Systems (ODS)
PariAction.com
www.pariaction.com