Hi,
I would like to know how to link this new factory with the service Catalina.
Because on checking with the JConsole, the attributes of this factory do not
match with the existing one. Hence the connector is not created with the
same factory and the code doesn't work.
-Hemali
Hi,
Thanks Rajeev, i hadn't initialized the factory properly, now i don't get
a null pointer exception, and it shows in the console that http connector is
initialized and started at the port i'v given say 9002, but http is still
not enabled in the sense that an html page does not run on
http://
On Thu, Apr 1, 2010 at 4:42 PM, Hemali Doshi wrote:
> We are using Tomcat 6.0.18 with jdk 1.5 on Windows XP.
>
>
>
> line 118 is:
>
> factory.createHttpsConnector("Catalina:type=Service,serviceName=Catalina",
> "127.0.0.1", 8443);
> *
>
>
Have you instantiated the 'factory' properly?
>
> The s
We are using Tomcat 6.0.18 with jdk 1.5 on Windows XP.
line 118 is:
factory.createHttpsConnector("Catalina:type=Service,serviceName=Catalina",
"127.0.0.1", 8443);
*
The stack trace is as follows:
java.lang.NullPointerException
*
at toggle1.doPost(*toggle1.java:118*)
at javax.servlet.http.
On 01/04/2010 11:45, Hemali Doshi wrote:
> Hi,
>
> We ran jconsole and found the the service is catalina and the mbean name is
> Catalina:type=Service,serviceName=Catalina. but still the program is giving
> null pointer exception. other two parameters have been passed as ip address
> of my machine
Hi,
We ran jconsole and found the the service is catalina and the mbean name is
Catalina:type=Service,serviceName=Catalina. but still the program is giving
null pointer exception. other two parameters have been passed as ip address
of my machine and port as say 8443.
Do you know what the problem
On 01/04/2010 09:30, Hemali Doshi wrote:
> Yes, i did look at the source code. But there is a parameter called parent
> in createHttpsConnector method. I am unable to find the parent, I tried
> passing Catalina,StandardEngine, etc. It gives me a null pointer exception
> for whatever parent name I p
Yes, i did look at the source code. But there is a parameter called parent
in createHttpsConnector method. I am unable to find the parent, I tried
passing Catalina,StandardEngine, etc. It gives me a null pointer exception
for whatever parent name I pass.
Thanks.
-Hemali
On 01/04/2010 06:33, Hemali Doshi wrote:
> Hi,
> i wanted to create an https connector on a port other than 8443. There is a
> method to create HttpsConnector in MBeanFactory. Could anyone kindly tell me
> how to use this method and what parameters to pass?
Did you read the JavaDoc or look at the
Hi,
i wanted to create an https connector on a port other than 8443. There is a
method to create HttpsConnector in MBeanFactory. Could anyone kindly tell me
how to use this method and what parameters to pass?
Thanks for your help.
-Hemali
10 matches
Mail list logo