Version: JBoss Portal 2.2.1SP1
When I install the portal and run it the URL looks like this
http://localhost/portal/portal/default/default
I understand part of this but not the second /portal
http:///<context root>/<what's this>/<portal name>/<page name>
I don't understand where the second /portal is comming from. It's causing real problems for me. I need to use the context root because I have other apps (not Java) running on my apache web server. So I can't forward all traffic to JBoss.
If I change the context root / for the portal then the URL looks ok until I try to use some of the portlets (i.e. User Portlet). The links in the UserPortlet won't have /portal in them at all. Those link become /auth instead of /portal/auth. because the context root is gone. This means that I can't redirect /portal/* stuff from apache to JBoss. /portal/auth is not the only url that I've noticed so I'm affraid redirecting /auth/* isn't enough.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958974#3958974
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958974
Newbie007,
Thanks for your reply. Regarding your post:
"newbie007" wrote : Which JPD version you are using? I am using 3.0.9.x and you can specify
| the server port and server name during the deployment.
|
| If you are using old version, you can save the .par file locally and
| deploy it programatically if you want (using jbpmContext.deployProcessDefinition method).
|
| Thanks.
The problem isn't the host or the port. The problem is the web context /jbpm. The actual URL the test uses is:
http://localhost:8080/jbpm
I need to change the path after the host and port. If you know how to do this, let me know!
Thanks,
Brad
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958973#3958973
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958973
"gavin.king(a)jboss.com" wrote : What I can absolutely definitively promise you is that this has nothing to do with @Embedded/@Embeddable.
Thanks again for your comment, Gavin!!!
Wow, if you even promise the embedded objects are working properly in combination with MyFaces, I'll take that as granted (and especially if you're saying "absolutely definitely" - wow!). So I'll throw in more time to find out what's wrong with my code. No idea yet, since I thought I just tried about everything, but we'll see...
My honest apologies again for causing a bad mood. Looks like using "???", "!!!", and italics is my way to emphasize a point (and actually I wasn't aware this looks strange these days). Sorry about that!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958972#3958972
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958972
Hi,
I have two Beans, wheras one is solely used within the other:
@Stateful...
Bean1 implements Bean1If {
@In(create=true)
EntityManager em;
Bean2 b2 = new Bean2();
...
}
Bean2 implements Bean2If {
@In(create=true)
EntityManager em;
}
now in Bean2, if I want to access the em, I always end up with a null pointer (for Bean1 it works), I guess I cannot just say new Bean2() - but I don't know how else I would instantiate the second bean...
Thanks,
Joey
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958965#3958965
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958965