[JBoss Web Development] - Problems with SSL redirection on JBoss 5.1.0GA
by Todd Gould
Todd Gould [http://community.jboss.org/people/skidvd] created the discussion
"Problems with SSL redirection on JBoss 5.1.0GA"
To view the discussion, visit: http://community.jboss.org/message/553700#553700
--------------------------------------------------------------
Hello,
Sorry for the cross post, but thought that this may be a better place for this question.
I'm using JBoss [The Oracle] 5.1.0.GA. In previous releases I have successfully configured SSL and and the associated port redirection without any problems. However, in this environment, I am having unexpected problems. Your help will be greatly appreciated....
Here is what I have....
from server.xml:
<!-- A HTTP/1.1 Connector on port 7000 -->
<Connector protocol="HTTP/1.1" port="7000" address="${jboss.bind.address}"
connectionTimeout="20000" redirectPort="7001" />
<!-- Add this option to the connector to avoid problems with
.NET clients that don't implement HTTP/1.1 correctly
restrictedUserAgents="^.*MS Web Services Client Protocol 1.1.4322.*$"
-->
<!-- A AJP 1.3 Connector on port 8009 -->
<Connector protocol="AJP/1.3" port="8009" address="${jboss.bind.address}"
redirectPort="7001" />
<!-- SSL/TLS Connector configuration using the admin devl guide keystore-->
<Connector protocol="HTTP/1.1" SSLEnabled="true" enableLookups="true"
port="7001" address="${jboss.bind.address}"
scheme="https" secure="true" clientAuth="false"
keystoreFile="${jboss.home.dir}/certs/mysvr1.jks"
keystorePass="zzzzz" sslProtocol = "TLS"
truststoreFile="${jboss.home.dir}/certs/mysvr1Trust.jks"
truststorePass="zzzzz" />
from my apps web.xml:
from web.xml:
<security-constraint>
<web-resource-collection>
<web-resource-name>All restricted resources</web-resource-name>
<description>Protects all AppAdmin restricted resources</description>
<url-pattern>/pages/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
Symptoms:
http://myserver:7000/Myapp/login.xhtml http://myserver:7000/Myapp/login.xhtml (when I hit this URL, it produces downloadable result - as expected - this is not within the data-constraint resource-collection)
http://myserver:7000/Myapp/pages/index.jsf http://myserver:7000/Myapp/pages/index.jsf (when I hit this URl, I expect to be redirected to SSL port (inside data-constraint); but do NOT get redirected - i.e., URL stays http and port 700 - and results in Cannot find server or DNS error)
https://myserver:7001/Myapp/pages/index.jsf https://myserver:7001/Myapp/pages/index.jsf (works as expected - this shows that SSL appears to be configured and working properly)
Why is the redirect from an non SSL URL to an SSL URL (when accessing a data-constratint resource) not happening? Again, your help is greatly appreciated!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/553700#553700]
Start a new discussion in JBoss Web Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 2 months
[JBoss Web Services Development] - error when deploying a ear which has webservice
by Rajesh Kumar
Rajesh Kumar [http://community.jboss.org/people/rajzzh] created the discussion
"error when deploying a ear which has webservice"
To view the discussion, visit: http://community.jboss.org/message/553674#553674
--------------------------------------------------------------
Getting the below error when deploying an ear which has webservice, Any help would be greatly appreciated...
06:37:32,630 INFO [Server] JBoss (MX MicroKernel) [4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] Started in 13s:39ms
06:37:37,648 INFO [EARDeployer] Init J2EE application: file:/C:/Documents and Settings/e005934.xxx/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_EAP_4.3_Server/deploy/BillPayInboundWsApp.ear/
06:37:37,688 INFO [TomcatDeployer] deploy, ctxPath=/BillPayInboundWs, warUrl=file:/C:/Documents and Settings/e005934.xxx/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_EAP_4.3_Server/deploy/BillPayInboundWsApp.ear/BillPayInboundWs.war/
06:37:37,948 INFO [ContainerBase] Loading Spring root WebApplicationContext
06:37:39,180 ERROR [STDERR] Jul 21, 2010 6:37:39 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
06:37:40,071 ERROR [STDERR] Jul 21, 2010 6:37:40 AM com.sun.xml.ws.transport.http.servlet.WSServletDelegate <init>
INFO: WSSERVLET14: JAX-WS servlet initializing
06:37:40,081 INFO [EARDeployer] Started J2EE application: file:/C:/Documents and Settings/e005934.xxx/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_EAP_4.3_Server/deploy/BillPayInboundWsApp.ear/
Thanks,
Rajesh
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/553674#553674]
Start a new discussion in JBoss Web Services Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 2 months
[jBPM Development] - History details
by Maciej Swiderski
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion
"History details"
To view the discussion, visit: http://community.jboss.org/message/553528#553528
--------------------------------------------------------------
Hi,
I am about to start work on history details and before I start want to collect your ideas and expectations on what shall be included. Here is a list of items that I identified (or was already defined in code/jira) and I find them required:
* task assignment changes
* start work on task
* change priority of task
* start of the process mainly user information (who did it)
* signal wait state again, mainly user information (who did it)
* variables updates, since history can be already enabled but it will keep the most recent value
All of them will rely on provided user information, it will be secured when working with BPM console but if working though API it must be provided manually.
Please share your thoughts so we could have the most complete solution with 4.5.
Cheers,
Maciej
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/553528#553528]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 2 months
Re: [jboss-dev-forums] [JBoss Microcontainer Development POJO Server] - Seam deployments and hot deployments in AS 5.1.0
by Beaudoin Gaël
Beaudoin Gaël [http://community.jboss.org/people/gaboo] replied to the discussion
"Seam deployments and hot deployments in AS 5.1.0"
To view the discussion, visit: http://community.jboss.org/message/553499#553499
--------------------------------------------------------------
Hi,
I've just spent the day trying to figure this out. Not an easy task :)
Background : I have a Seam 2.1.2 application working well with JBossAS 4.2.3. For various reasons (one of them being up to date and working RESTEasy support), I'd like to upgrade to Seam 2.2.0 or later. This needs JBossAS 5.1.0.
So, after a few obvious fixes and adjustments, I have my application almost completely working, that is great.
But, I can't get the explode feature to work correctly. When I try workarounds mentioned on seamframework.org, I get the redeploy infinite loop. When I try to fix redeploy infinite loop, I get other deployment errors. I've tried many things advised here and there : there is always something wrong. I guess the main reason is that there is no central place that states step by step how to deal with this : reading the various topics and faqs you're never sure what you're supposed to change at the same time.
What I've not tried is building JBossAS 5.x branch : not found in svn anymore. There is Branch_5_x_BootstrapLegacyRemoval or Branch_5_x_JBM2. Is one of them suitable ?
I've not tried JBossAS 6.M3 release either. Is this suitable for an already existing seam application ? (started with the early versions of Seam).finite
It's sad seing how frustrating and complicated this is to get something working, whereas it was as simple as download and deploy before.
I'm willing to spend time testing, helping, building to make this work, please advise and thank you for your time and work !
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/553499#553499]
Start a new discussion in JBoss Microcontainer Development POJO Server at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 2 months