Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Configuring Security for Tomcat Server(Configuring Security for Tomcat Server)
Configuring Security for Tomcat Server [message #494977] Tue, 03 November 2009 12:45 Go to next message
breako  is currently offline breako Friend
Messages: 57
Registered: July 2009
Member
Hi,
I wish to configure some security for a tomcat server that I have set up to be managed by eclipse.

When not using eclipse, all I have to do is update the catalina.policy file, and then execute:
catalina start -security,

I am wondering what do I do for eclipse?

I edit the catalina.policy file and then republish. This looks all ok.

I then go to the server overview for the managed tomcat server and selecting: " open launch configuration", followed by the arguments tab.

I then add as VM arguments:

-Djava.security.manager
-Djava.security.policy=" D:\docprod637ws\.metadata\.plugins\org.eclipse.wst.server.co re\tmp0\conf\catalina.policy "

but it doesn't work are my missing something?


Re: Configuring Security for Tomcat Server [message #495085 is a reply to message #494977] Tue, 03 November 2009 17:35 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
In the server editor Server Options section, you can enable the "Enable
Security" option and those java.security VM arguments will be added
automatically. However, what you have done seems fine. I will need to
know more about what "doesn't work" means to offer additional help.

Cheers,
Larry

breako wrote:
> Hi,
> I wish to configure some security for a tomcat server that I have set up
> to be managed by eclipse.
>
> When not using eclipse, all I have to do is update the catalina.policy
> file, and then execute:
> catalina start -security,
>
> I am wondering what do I do for eclipse?
>
> I edit the catalina.policy file and then republish. This looks all ok.
>
> I then go to the server overview for the managed tomcat server and
> selecting: " open launch configuration", followed by the arguments tab.
>
> I then add as VM arguments:
>
> -Djava.security.manager
> -Djava.security.policy="
> D:\docprod637ws\.metadata\.plugins\org.eclipse.wst.server.co
> re\tmp0\conf\catalina.policy "
>
> but it doesn't work are my missing something?
>
>
>
Previous Topic:What is the default url of wsdl file in eclipse-generated web services?
Next Topic:how to reference to a utility module from ejb module?
Goto Forum:
  


Current Time: Thu Apr 25 14:10:17 GMT 2024

Powered by FUDForum. Page generated in 0.39683 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top