[JBossWS] - Re: Problem accessing generated WSDL
by moksha2007
Hi,
Did a little more investigation, and it seems the problem is somewhere in the server.xml (jboss-web.deployer), at least that is what I think.
In there I have a Host configuration that matches with the virtual host. Meaning all request go through that specific web application, including the web-service requests.
| <Host name="x"
| errorReportValveClass="org.apache.catalina.core.StandardHostValve"
| autoDeploy="false"
| deployOnStartup="false"
| deployXML="false"
| configClass="org.jboss.web.tomcat.security.config.JBossContextConfig"
| >
| <Alias>x.xxx.com</Alias>
| ...
|
and apache proxy config:
| <VirtualHost *:80>
| ServerName x.xxx.com
| ServerSignature Off
| ProxyPass / ajp://127.0.0.105:8009/
| ProxyPassReverse / ajp://127.0.0.105:8009/
| </VirtualHost>
|
Using that, I cannot reach the 'standard' services (sars) like jmx-console and such, but my application just fine.
When I add another virtual host config in apache, like:
| <VirtualHost *:80>
| ServerName y.xxx.com
| ServerSignature Off
| ProxyPass / ajp://127.0.0.105:8009/
| ProxyPassReverse / ajp://127.0.0.105:8009/
| </VirtualHost>
|
Then, I can see the wsdl, but it is located under http://y.xxx.com/...?wsdl
How to configure the server.xml correctly? I am using a default server.xml with one addition, namely the host config as mentioned above.
Any help on this?
Mike
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145989#4145989
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145989
18 years
[JBoss Portal] - Portal Customization and User module
by portaluser
Hi,
I am new to JBoss and JBoss portal. My employer wanted me to look into portals. So, I started exploring JBoss Portal. Read the User doc and the reference doc - understood the broad picture but can't really say figured everything.
Now to my Question:) I am thinking of customizing the registration process (similar to this forum registration), the login flow and also enforce password restrictions (some need database interaction) and a host of other things. I am kind of lost in this microarchitecture thing, being used to the traditional j2ee architecture.
Can you please tell me briefly/broadly, how do I go about adding new profile information to the User and enforce password restrictions? I am mainly concerned about the backend.
Thanks
Jay
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145987#4145987
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145987
18 years
[JBoss jBPM] - Detaching process definition from hibernate
by jaydub
Hello,
The throughput requirements of my application dictate that I do not persist process instances in my database. It simply processes too many process instances per second. I would however, still like to use the database to store process definitions, so I can use the webapp for process definition deployment.
For example:
// Get PD from the DB
| pd = jbpmContext.getGraphSession().findLatestProcessDefinition(name);
|
| // Create a new PI
| pi = new ProcessInstance(pd);
The problem I have is that the process instance created still contains some collections which are lazy-loaded and when the process instance is accessed later, I get a lazy load exceptions. (Trying to explicitly load all possible fields of the process def still did not fix things, since some collections remain empty)
Is there any way to somehow detach the process definition so it can be used outside the hibernate context? There do not appear to be any methods to turn a process definition back into an XML string. One solution is to just use XML files for process definition deployment, but that takes away many of the nifty features such as hot-deployment of process definitions and process definition versioning support.
Thanks for the help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145986#4145986
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145986
18 years
[JBossWS] - ERROR [org.jboss.wsf.stack.jbws.RequestHandlerImpl] Cannot c
by Lauri
Hello.
Do you probably know if such (see subject) error message mean serious trouble?
Jboss 4.2.2 + jbossws 3.0.1 are installed.
Quite often, may be on every WS call a error message is posted to the log
18:40:52,551 ERROR [org.jboss.wsf.stack.jbws.RequestHandlerImpl] Cannot close output stream
| 18:40:56,699 ERROR [org.jboss.wsf.stack.jbws.RequestHandlerImpl] Cannot close output stream
| 18:41:21,552 ERROR [org.jboss.wsf.stack.jbws.RequestHandlerImpl] Cannot close output stream
source of org.jboss.wsf.stack.jbws.RequestHandlerImpl
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossws/branches/jbossws-2.0/i...
gives no explanation
| ......
| try
| {
| ServletRequestContext reqContext = new ServletRequestContext(context, req, res);
| handleWSDLRequest(endpoint, out, reqContext);
| }
| catch (Exception ex)
| {
| handleException(ex);
| }
| finally
| {
| try
| {
| out.close();
| }
| catch (IOException ioex)
| {
| log.error("Cannot close output stream");
| }
| }
| ....
|
Questions
1) Do you probably know if such (see subject) error message mean serious trouble?
2) What can be reason of the error message?
3) Can it be that WS code has inappropriate code which somehow closes that stream?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145980#4145980
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145980
18 years