portal and apache? style.css not found?
by Nedim Ozan Tekin
Hı all,
I configured my httpd.conf as follows:
The apache balances the load..
The portal home page comes, however, some images and colours cannot be
seen..
When I examined the access_log , I see such errors...
10.10.0.74 - - [13/Jul/2009:17:40:47 +0300] "GET
/portal-core/themes/renewal/portal_style.css HTTP/1.1" 404 241
10.10.0.74 - - [13/Jul/2009:17:40:47 +0300] "GET
/portal-core/themes/renewal/images/animated_favicon1.gif HTTP/1.1" 404 253
10.10.0.74 - - [13/Jul/2009:17:40:47 +0300] "GET /portal-identity/style.css
HTTP/1.1" 404 223
10.10.0.74 - - [13/Jul/2009:17:40:47 +0300] "GET /portal-core/js/modal.js
HTTP/1.1" 404 221
10.10.0.74 - - [13/Jul/2009:17:40:47 +0300] "GET /portal-core/css/modal.css
HTTP/1.1" 404 223
10.10.0.74 - - [13/Jul/2009:17:40:47 +0300] "GET
/portal-ajax/dyna/prototype.js HTTP/1.1" 404 227
10.10.0.74 - - [13/Jul/2009:17:40:47 +0300] "GET
/portal-ajax/dyna/effects.js HTTP/1.1" 404 225
10.10.0.74 - - [13/Jul/2009:17:40:47 +0300] "GET
/portal-ajax/dyna/dragdrop.js HTTP/1.1" 404 226
10.10.0.74 - - [13/Jul/2009:17:40:47 +0300] "GET /portal-ajax/dyna/dyna.js
HTTP/1.1" 404 222
10.10.0.74 - - [13/Jul/2009:17:40:47 +0300] "GET /portal-ajax/dyna/style.css
HTTP/1.1" 404 224
10.10.0.74 - - [13/Jul/2009:17:40:47 +0300] "GET /portal HTTP/1.1" 200 13939
Httpd.conf content
...
....
SSLSessionCache dbm:/openssl/ssl_gcache_data ErrorLog
/mms/httpd-2.2.11/logs/SSL.log LogLevel debug
<VirtualHost *:443>
SSLEngine On
SSLProxyEngine On
SSLCertificateFile /openssl/server.crt
SSLCertificateKeyFile /openssl/server.key SSLCACertificateFile
/openssl/ca.crt ProxyPreserveHost On <Proxy balancer://portalcluster>
BalancerMember https:// 10.10.0.138:9443/portal
BalancerMember https:// 10.10.0.138:9443/portal
route=portaltomcat1
</Proxy>
<Location /portal>
Allow From All
ProxyPass balancer://portalcluster/ stickysession=JSESSIONID
nofailover=off
</Location>
</VirtualHost>
<VirtualHost *:90>
<Proxy balancer://portalcluster>
BalancerMember http://10.10.0.138:8080/portal
BalancerMember http://10.10.0.138:8080/portal route=portaltomcat1
</Proxy> <Location /portal>
Allow From All
ProxyPass balancer://portalcluster/ stickysession=JSESSIONID
nofailover=off
</Location>
</VirtualHost>
Could you please help to solve this problem? I couldn't find any solution?
Thanks in advance..
Internal Virus Database is out-of-date.
Checked by AVG.
Version: 7.5.557 / Virus Database: 270.12.10/2088 - Release Date: 4/30/2009
6:01 AM
Dikkat: Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmektedir. Mesajdaki gorusler gondericiye ait olup HAVELSAN A.S. resmi gorusu olmak zorunda degildir.
Attention: This e-mail message is private and privileged.If you are not the recipient for whom this e-mail message is intended, please notify the sender immediately and delete this e-mail message from your system.All sent and received e-mail messages go through a virus scan. Any opinions presented in this e-mail message are solely those of the author and do not necessarily represent HAVELSAN A.S.`s formal and authorized views.
17 years
[Security & JAAS/JBoss] - From Servlet Standalone Tomcat to EJB on JBoss
by GFEMajor
Hi, i have a Problem with security on standalone Tomcat and JBoss.
But first, what I try to do:
I have a Google Web Toolkit (GWT) Application. The servercomponent of this GWT app is a servlet. This GWT app is running on an standalone tomcat.
>From this servlet, I try to access a stateless session bean running on an remote JBoss server.
Without any security solutions, it's running fine.
Now I try to add some security to this system.
So the GWT app is authenticating against the tomcat server with a form base authentication against an database.
The JBoss server is also authenticating against the same database (because on tomcat and JBoss there should be the same users and roles).
My problem is, that tomcat does not populate the username und password from the logged in principal to JBoss, so when calling my EJB, I have to do it in that way (otherwise I get an authentication failed error):
| Properties env = new Properties();
| env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.security.jndi.JndiLoginInitialContextFactory");
| env.setProperty(Context.SECURITY_PRINCIPAL, "TestUser");
| env.setProperty(Context.SECURITY_CREDENTIALS, "password");
|
| InitialContext ctx;
| try {
| ctx = new InitialContext(env);
| connector = (MyBean) ctx.lookup("java:comp/env/ejb/MyBean");
| } catch (NamingException e) {
| //do something
| }
|
Does somebody have a solution for this problem?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243431#4243431
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243431
17 years