You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Niki Diulgerov <nd...@imx.fr> on 2009/02/05 10:41:11 UTC

request for advice Tomcat-weblogic

Hello there,
I need an advice about how to transfer the settings in tomcat-users.xml 
to weblogic.
And I hope someone is familiar with both and could help.

For example, in tomcat-users.xml I have
<role rolename="configurator"/>
 <user username="tomcat" password="tomcat" 
roles="tomcat,admin,administrator,manager,configurator"/>

And in the application, there are some parts restricted like 
/management/* which needs user with the specified role to authenticate 
itself before get access (here is the example)

<security-constraint>
    <web-resource-collection>
      <web-resource-name>HTMLManger and Manager command</web-resource-name>
      <url-pattern>/management/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <!-- NOTE:  This role is not present in the default users file -->
      <role-name>configurator</role-name>
    </auth-constraint>
  </security-constraint>

Does someone know how to setup weblogic so I can get the same 
functionality like in tomcat.

-- 
Best regards,
Niki



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: HTTP Status 404 - /openipmp/jsp/login.jsp

Posted by Mark Thomas <ma...@apache.org>.
geethkp@tataelxsi.co.in wrote:
> Dear all,
>  Good afternoon.
> I need a help.

Please don't hijack threads. Not only is it a general nuisance and makes
searching of the archives confusing, many of the folks on this list will ignore
any post that hijacks a thread.

Mark

> I am trying to install an open source DRM server in my system.from OPENIPMP
> Here they are using Tomcat server.
> To access the DRM server we are using JBOSS Application server.After
> installation I am trying to acccess the server by
> 
> http://localhost:8080/openipmp/jsp/login.jsp.
> 
> But its giving error message
> 
> "
> HTTP Status 404 - /openipmp/jsp/login.jsp
> 
> type  Status report
> 
> message  /openipmp/jsp/login.jsp
> 
> description  The requested resource (/openipmp/jsp/login.jsp) is not
> available.
> Apache Tomcat/5.5.9
> 
> "
> Whether any path settings to be changed or any files to be modified. please
> share your ideas?
> 
> If anyone is having any idea to resolve this problem, please share it.
> 
> Thanking you in advance..
>  
> GEETHAKRISHNAN P
> D&D Senior Engineer
> Tata Elxsi Ltd
> Techno Park,Neyyar Building
> Kazhakootam
> Thiruvananthapuram
>  
>  
> " Nothing happens in my life that God and I can't resolve... "
>  
> 
> 
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


HTTP Status 404 - /openipmp/jsp/login.jsp

Posted by ge...@tataelxsi.co.in.
Dear all,
 Good afternoon.
I need a help.
I am trying to install an open source DRM server in my system.from OPENIPMP
Here they are using Tomcat server.
To access the DRM server we are using JBOSS Application server.After
installation I am trying to acccess the server by

http://localhost:8080/openipmp/jsp/login.jsp.

But its giving error message

"
HTTP Status 404 - /openipmp/jsp/login.jsp

type  Status report

message  /openipmp/jsp/login.jsp

description  The requested resource (/openipmp/jsp/login.jsp) is not
available.
Apache Tomcat/5.5.9

"
Whether any path settings to be changed or any files to be modified. please
share your ideas?

If anyone is having any idea to resolve this problem, please share it.

Thanking you in advance..
 
GEETHAKRISHNAN P
D&D Senior Engineer
Tata Elxsi Ltd
Techno Park,Neyyar Building
Kazhakootam
Thiruvananthapuram
 
 
" Nothing happens in my life that God and I can't resolve... "
 


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: request for advice Tomcat-weblogic

Posted by Niki Diulgerov <nd...@imx.fr>.
However,
figured out how to do this, if someone face the same problem.
Additional file should exists in the WEB-INF folder
file name weblogic.xml

example which will solve the problem described below:

<?xml version='1.0' encoding='UTF-8'?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">



<security-role-assignment>
     <role-name>configurator</role-name>
     <principal-name>weblogic</principal-name>
</security-role-assignment>


</weblogic-web-app>



Best regards,

Niki




Niki Diulgerov wrote:
> Hello there,
> I need an advice about how to transfer the settings in 
> tomcat-users.xml to weblogic.
> And I hope someone is familiar with both and could help.
>
> For example, in tomcat-users.xml I have
> <role rolename="configurator"/>
> <user username="tomcat" password="tomcat" 
> roles="tomcat,admin,administrator,manager,configurator"/>
>
> And in the application, there are some parts restricted like 
> /management/* which needs user with the specified role to authenticate 
> itself before get access (here is the example)
>
> <security-constraint>
>    <web-resource-collection>
>      <web-resource-name>HTMLManger and Manager 
> command</web-resource-name>
>      <url-pattern>/management/*</url-pattern>
>    </web-resource-collection>
>    <auth-constraint>
>    <!-- NOTE:  This role is not present in the default users file -->
>      <role-name>configurator</role-name>
>    </auth-constraint>
>  </security-constraint>
>
> Does someone know how to setup weblogic so I can get the same 
> functionality like in tomcat.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: request for advice Tomcat-weblogic

Posted by Gregor Schneider <rc...@googlemail.com>.
Niki,

you seriously expect help for weblogic on a *Tomcat*-userlist? Guess
you'll be more happy with a Weblogic-mailinglist.

Anyways, mybe this helps for a start:
http://edocs.bea.com/wls/docs61/adminguide/cnfgsec.html#1052257

Gregor
-- 
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org