[jboss-user] [JBossWS] - Re: Ejb3 JMSTransportSupport

2006-11-27 Thread jgilbert
JIRA Issue created: http://jira.jboss.com/jira/browse/JBWS-1402

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988973#3988973

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988973
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - ClientDeployer

2006-12-01 Thread jgilbert
I am trying to get org.jboss.deployment.ClientDeployer to work in the 
microcontainer. It is successfully finding my client jar, but then gets errors 
about missing mbeans such as MainDeployer.

Any suggestion on how to make this work or an alternate solution?

Btw, I am using the ejb3 embedded container.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990696#3990696

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990696
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JSR-181 Annotation Based UDDI Registration

2006-12-04 Thread jgilbert
Here is some more info:

http://taylor.sourceforge.net/index.php/Endpoint_Address_Discovery#Client_Handler

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991098#3991098

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991098
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JSR-181 Annotation Based UDDI Registration

2006-12-04 Thread jgilbert
This discussion outlines what I did and where to find the code:

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=94403

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991097#3991097

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991097
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - ICEFaces

2006-12-06 Thread jgilbert
Has anyone tried using an ICEFaces JSF portlet with JBoss Portal.

I just modified the portal swap HellWorldJSFPortlet to use 
com.icesoft.faces.webapp.xmlhttp.PersistentFacesPortlet.

The portlet comes up buy the navigation doesn't work.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991838#3991838

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991838
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - ICEFaces Seam Portlet

2006-12-06 Thread jgilbert
Has anyone succesfully implemented an ICEFaces Seam Portlet?

I have a helloworld jsf portlet working with icefaces. 

when i try to port one of my seam portlets to icefaces i get a bunch of error. 
I posted more infor to the icefaces forum:
http://www.icefaces.org/JForum/posts/list/3066.page

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991840#3991840

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991840
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: ICEFaces

2006-12-08 Thread jgilbert
I have successfully deployed a portlet that uses seam, icefaces, and facelets. 
I posted the example to the seam wiki: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=IcefacesSeamFaceletsPortlet

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992310#3992310

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992310
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: ICEFaces Seam Portlet

2006-12-08 Thread jgilbert
I have successfully deployed a portlet that uses seam, icefaces, and facelets. 
I posted the example to the seam wiki: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=IcefacesSeamFaceletsPortlet

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992309#3992309

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992309
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - could not get id of: org.jboss.seam.framework.Home.instance

2006-12-09 Thread jgilbert
Does anyone have an idea why I am getting this error? 

I am experimenting with the new framework classes in the 1.1.0.CR release.


java.lang.IllegalStateException: could not get id of: 
org.jboss.seam.framework.Home.instance
  | at 
org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.entityRefsToIds(ManagedEntityIdentityInterceptor.java:149)
  | at 
org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:83)
  | at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | at 
org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23)
  | at sun.reflect.GeneratedMethodAccessor296.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | at 
org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:33)
  | at sun.reflect.GeneratedMethodAccessor295.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | at 
org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:51)
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992446#3992446

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992446
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: could not get id of: org.jboss.seam.framework.Home.insta

2006-12-09 Thread jgilbert
This only happens when my entities have validation errors.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992447#3992447

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992447
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: could not get id of: org.jboss.seam.framework.Home.insta

2006-12-14 Thread jgilbert
OK. I have a simple test app that reproduces the error. I can send it to you.

One thing of note it that I am using portlets, but that shouldn't make a 
difference.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993934#3993934

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993934
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - jboss-5.0.0.Beta1

2006-12-18 Thread jgilbert
Has anyone tried deploying jbportal 2.6.DR1 on jboss-5.0.0.Beta1?

I tried because I thought it might just work, but there are many class not 
found exceptions.

Is this on the roadmap in the near future?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994803#3994803

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994803
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - bookmarkable portlet urls

2006-12-26 Thread jgilbert
I have a JSF portlet and I would like to make some of the views bookmarkable. 
any ideas on how to do this or if it is possible.

for exxample, i have a portlet that tracks Orders. It can filter and list 
Orders. Then it can navigate to a selected Order. 

I would like to create a URL that can be used later to go directly to the 
specific Order view. 

Maybe something like /portal/default/orderPage?id=1234

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996291#3996291

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996291
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - SelectDate Component classpath issue

2006-12-26 Thread jgilbert
I have two apps that use the Seam SelectDate component. Each app works fine 
independently. But when I deploy both apps at the same time the 2nd one to be 
accessed gets the following exception. 

Any ideas? It looks like a classpath issue.



  | com.sun.facelets.tag.TagAttributeException: /ReleaseEdit.xhtml @83,41 
for="milestoneDate" object is not an instance of declaring class
  | at 
com.sun.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:53)
  | at 
com.sun.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:36)
  | at 
com.sun.facelets.tag.MetaTagHandler.setAttributes(MetaTagHandler.java:62)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:140)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | at 
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
  | at 
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
  | at 
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
  | at 
com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:140)
  | at 
com.sun.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:60)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | at 
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
  | at 
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
  | at 
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
  | at 
com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:140)
  | at 
com.sun.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:60)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:102)
  | at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
  | at 
com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:481)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:523)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:322)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:297)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:379)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265)
  | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133

[jboss-user] [JBoss Seam] - Re: SelectDate Component classpath issue

2006-12-26 Thread jgilbert
i'm pretty sure I saw the same issue when running two of the seam sample apps 
at the same time. for example, booking and jpa

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996317#3996317

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996317
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Linking Components from different Ears

2006-12-27 Thread jgilbert
I have SFSB components in multiple Ears. One ear contains a SFSB component that 
I would like to access from views in all the other Ears. When I tried this I 
received an exception saying that the JNDI name did not exist.

This is because the components.properties file in the ear has:

jndiPattern my-second-app-0.0.1/#{ejbName}/local

So it is expecting all the components to be in the same Ear. Is there a way 
around this?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996463#3996463

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996463
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: SelectDate Component classpath issue

2006-12-27 Thread jgilbert
I does only appear to happen between portlet apps.

Each of my portlet apps declares its own loader in a jboss-app.xml in the 
web-inf directory:

  | 
  |   portlet-app-one
  |
  |   seam.jboss.org:loader=portlet-app-one
  |
  |  

I will try moving this to the ear meta-inf directory.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996476#3996476

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996476
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Linking Components from different Ears

2006-12-27 Thread jgilbert
Hmmm...

Why do you think this is asking for trouble?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996482#3996482

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996482
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: SelectDate Component classpath issue

2006-12-27 Thread jgilbert
i pulled the seam-ui jar out of the war and put it in the ear and all is work 
well now.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996519#3996519

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996519
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - EL not working across facelet include params

2007-03-26 Thread jgilbert
I am getting the following exception:


  | java.lang.NullPointerException
  | at org.jboss.seam.core.Expressions.getValidator(Expressions.java:198)

Here is the scenario. I am trying to decompose my facelets into multiple 
reusable fragments. For example:

EditPanel.xhtml


  | 
  | 
  | 
  | 
  | 

I then do an include in various places such as:


  | 
  | 


The edit panel retrieves the data properly using #{myentity.code} leveraging 
the entity param.
However, validation appears to ignore the param and uses #{entity.code} which 
returns null.

Shouldn't this work or is it a seam enhancement? Obviously I can refactor my 
facelets to get around this, but it would be nice to leverage all the feature 
of facelets.





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031702#4031702

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031702
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: EL not working across facelet include params

2007-03-26 Thread jgilbert
Thanks for the food for thought. I haven't tried the tag files yet, but the 
idea pushed me in the right direction.

It looks like the problem was with the tag I used to start the file.

It needs to be


  | 
  |...
  |   
  |

instead of just


  | ...
  |   

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031838#4031838

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031838
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Non-default Hibernate NamingStrategy with EJB3?

2007-03-29 Thread jgilbert
here is the property that i found. so far it appears to be working well.
i just added this to the persistence.xml file

  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032864#4032864

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032864
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Using Seam PDF in a portlet

2007-04-14 Thread jgilbert
I am using seam in a portlet and I would like to start using the seam pdf 
support. So far the only way I have found to do this is to create a separate 
non-portlet war for all my pdf xhtml files.

what would it take to get the pdf stuff working in a portlet app?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037336#4037336

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037336
___
jboss-user mailing list
[EMAIL PROTECTED]
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using Seam PDF in a portlet

2007-04-14 Thread jgilbert
true. i want to use a link and direct the target to blank, so that the pdf 
opens in a new tab/window.

this is what i have working by putting the pdf xhtml files in a separate war, 
which may be the best solution.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037341#4037341

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037341
___
jboss-user mailing list
[EMAIL PROTECTED]
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Creating PDFs Programmatically

2007-04-16 Thread jgilbert
I have the seam-pdf functionality working in my application. Now I want to have 
a background process create PDFs periodically. Currently I am using 
commons-httpclient to call out and back into my app and handle the redirect to 
create a PDF.

It works but does anyone have a better way to do this?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037540#4037540

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037540
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Creating PDFs Programmatically

2007-04-16 Thread jgilbert
actually, i don't think i asked the question right. i'm looking for an api to 
call the pdf stuff without having to go over http.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037618#4037618

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037618
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: securing a portal page

2007-04-16 Thread jgilbert
i would like to do the same thing. i can hide windows but i don't see how to 
hide pages/tabs.

is this possible? if not, where should i look to potentially add this feature?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037772#4037772

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037772
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Creating PDFs Programmatically

2007-04-18 Thread jgilbert
i am currently using commons-http client to access it. 

1 - i make the inital http GET
2 - then i parse the redirect response to calculate the new url
3 - then i do another GET

it works but...

a wrapper similar to the mail render would be nice, but for my scenario it 
would need to work outside the scope of a JSF UI request.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038372#4038372

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038372
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - EnumConvertor fails in myfaces 1.1.5

2007-04-18 Thread jgilbert
Has anyone seen this?

EnumConvertor was working great in myfaces 1.1.4 but fails with the following 
error in 1.1.5.

"myEnumField": Value is not a valid option.

I don't see where it is going wrong.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038656#4038656

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038656
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Access to JAAS Subject

2007-04-23 Thread jgilbert
I am using 2.6 BETA1 with the Hibernate security implementation.

In 2.4 I use to be able to access the Jaas Subject from 
SecurityAssociation.getSubject() once a user was logged in through the portal 
login page.

In 2.6 BETA1 this always returns null and 
PolicyContext.getContext("javax.security.auth.Subject.container") also returns 
null.

Any ideas what has changed or what I am missing?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=403#403

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=403
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Access to JAAS Subject

2007-04-26 Thread jgilbert
My bad...

The SFSB from which I was accessing the Subject had the @SecurityDomain 
annotation commented out.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041046#4041046

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041046
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - PageCustomizerInterceptor not restricting tabs based on role

2007-04-28 Thread jgilbert
Looking at the PageCustomizerInterceptor class it performs security checks 
before rendering tabs but it does not seem to be working. 
JACCPortalAuthorizationManager is always returning true for checkPermission.

I'm fairly certain that I have setup my security constraints properly in my 
*-object.xml file because when i click on a tab i get the right security 
message.

Any ideas what is going wrong?


  | 
  | 
  | MyRole
  | view
  | viewrecursive
  | personalizerecursive
  | 
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041658#4041658

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041658
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: PageCustomizerInterceptor not restricting tabs based on

2007-04-30 Thread jgilbert
2.6 CR1

Shouldn't the tab only be displayed if the user has the MyRole role?

i have things set to hide so when the user clicks on the tab the page content 
is hidden.

   hide
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041820#4041820

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041820
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: PageCustomizerInterceptor not restricting tabs based on

2007-04-30 Thread jgilbert
assume!!

i changed jboss-portal.sar\conf\data\default-object.xml and now the tabs are 
restricted.

thanks!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041827#4041827

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041827
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Programmatic Portlet Resizing with JSF

2007-05-03 Thread jgilbert
How do I programmatically resize a JSF/Seam based portlet? As far as I can tell 
I don't have access to the actionUrl from within a managed bean.

I suspect that adding a param to my commands wont work.

 
  |  
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042817#4042817

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042817
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Programmatic Portlet Resizing with JSF

2007-05-04 Thread jgilbert
thanks.

are you referring to the org.apache.portals.bridges? We are already using the 
portlet filter provided by this.

alternatively, how would I create a link in one portlet to launch into another 
portlet that is maximized?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043186#4043186

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043186
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Stateful Session Bean Instances and Conversations

2006-09-14 Thread jgilbert
I have a SFSB involved in a conversation that manages an instance of an entity 
bean. and the user can have multiple conversations. when i switch between 
conversations the state seems to be the state of the last used conversation. Is 
an instance of the SFSB created for each conversation? I would think the answer 
is no. If no, does it make sense to use a SFSB? Or should I just use bijection 
to store the entity bean in the conversation?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971775#3971775

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971775
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - image/png Content type not accepted

2006-09-15 Thread jgilbert
I am trying to create a portlet that just returns content of type image/png. So 
I have configured my portlet with:


  | image/png
  | VIEW
  | 

and in my portlet I set the type as:

response.setContentType("image/png");

But when I run the portlet I get the following exception: 
java.lang.IllegalArgumentException: Content type not accepted

According to the spec this exception is thrown when the content type does not 
match request.getResponseContentType().

When I add a debug statement, I see that request.getResponseContentType() 
returns text/html.

Shouldn't this return image/png since I configured it as above? Or is this a 
bug or am I trying to do something that I shouldn't?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972015#3972015

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972015
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Group By Error

2006-09-19 Thread jgilbert
I get the following execption:

java.sql.SQLException: Not in aggregate function or group by clause: 

when I try to run this EQL statement:

select p.agency.name, p.customer.name, sum(p.amount) 
  | from Payment p 
  | group by p.agency.name, p.customer.name 
  | having p.date between :startDate and :endDate

If I change the group by statement to this: 

group by p.agency.name, p.customer.name, p.date

Then the error goes away, but obviously I don't get the result I wanted.

Any thoughts? Am I doing something wrong? Or is this a bug?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972738#3972738

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972738
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Group By Error

2006-09-20 Thread jgilbert
Thanks!

I changed the having to a where and everything is good.


  | select p.agency.name, p.customer.name, sum(p.amount) 
  | from Payment p 
  | where p.date between :startDate and :endDate
  | group by p.agency.name, p.customer.name 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973100#3973100

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973100
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Is it possible to deploy an exploded sar inside an ear?

2006-09-28 Thread jgilbert
So far, based on testing I think the answer is no. But it seems like a 
reasonable thing to do.

I created the ear with this structure:

my.ear
  |META-INF
  |   application.xml
  |   jboss-app.xml
  |my.jar
  |my.sar
  |   META-INF
  |  jboss-service.xml

In the jboss-app.xml i tried both


  | my.sar
  | 
  | 

  | my.sar/
  | 

The 1st one receives an error that it can not find my.sar.
The 2nd one got farther, but receives an error that the jboss-service.xml can 
not be found.

I bit the bullet and jared up my.sar and all works well.

BUT, is it possible to deploy an exploded sar inside an ear? Did I do something 
wrong? Or would this be an exhancement to the EARDeployer?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974951#3974951

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974951
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Clustered Beans and Testing with the Embedded Container

2006-10-09 Thread jgilbert
I have been using the embedded container to do my ejb3 unit testing. Now I am 
starting to use the @Clustered annotation to cluster my beans. However, I still 
want to unit test them. But I get a "HAPartition not bound" exception when 
running my unit tests.

Obviously I need to find the minimum set of entries to add to the 
micro-container configuration to bind enough of an HAPartition to make 
everything happy.

Has anyone tried this and found the necessary entries?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977023#3977023

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977023
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Clustered Beans and Testing with the Embedded Container

2006-10-09 Thread jgilbert
I created a JIRA issue: http://jira.jboss.com/jira/browse/EJBTHREE-731

If you have any hints I can take a swing at the proper micro-container 
configuration.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977039#3977039

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977039
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Clustered Beans and Testing with the Embedded Container

2006-10-09 Thread jgilbert
OK. I hacked together a simple solution with a mock partion that seems to work 
fine. I'll add the details to the jira issue.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977050#3977050

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977050
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Non-serializable objects in session break clustered app

2006-10-09 Thread jgilbert
Has anyone solved this?

I deployed my seam 1.0.1.GA app to jboss/all and I get the same error.

In my web.xml I had added:




In my jboss-web.xml I had added:


  |SET_AND_NON_PRIMITIVE_GET
  | SESSION
  | 
  | 

When I back these changes out the error goes away, but obviously this is not 
what I want to do.

Also, all my SLSBs & SFSBs are marked as @Clustered and the SFSBs are 
Serializable.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977086#3977086

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977086
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - java.lang.ClassCastException: org.jboss.messaging.core.plugi

2006-10-11 Thread jgilbert
I'm trying to configure a Topic in a cluster. I have configured ports-01 and 
ports-02. If either server is started first then it successfully starts. And I 
can publish messages to my topic on the first server.

However, the 2nd server fails with the following exception.

Am I doing something wrong or is this a bug?


  | 
  | 13:48:02,658 ERROR [ExceptionUtil] Topic[null, name=net.taylor.TestTopic] 
startService
  | java.lang.ClassCastException: 
org.jboss.messaging.core.plugin.postoffice.cluster.RemoteQueueStub
  | at 
org.jboss.jms.server.destination.TopicService.startService(TopicService.java:74)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
  | at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy115.start(Unknown Source)
  | at 
org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
  | at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
 

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
Yes, I just ran the distributed-topic example successfully.

I'm using an ejb3 mdb and I am registering the topic in both nodes. Does any of 
this make a difference?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977649#3977649

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977649
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
At the moment I am not using Durable because I get an error that a clientID is 
required. When I add the clientID to the activationSpec I get an error that it 
is not a valid property. I'll try again.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977653#3977653

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977653
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
OK. I made the subscriptions Durable. I had to use clientId instead of clientID.

I still get the original exception on the 2nd server.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977659#3977659

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977659
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
I haven't solved it yet, but a pattern is emerging. I removed the definition of 
my topic and decided to try the testDistributedTopic defined in the jboss 
messaging sar.

This one also fails with the same exception on the 2nd server. So it looks like 
it has something to do with the last topic or queue that is defined.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977671#3977671

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977671
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
rock on! that was it! 

now my 2 servers are properly sharing the load of the messages published to the 
topic!


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977685#3977685

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977685
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
One more thing. I appears that I have to delete the entries from the table 
every time. For example, I had my 2 servers running and killed one in the 
middle of a test to see the messages fail over to the other server. they did, 
but i couldn't restart the server. i had to bring both down, delete the data 
from the table, and then restart them.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977693#3977693

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977693
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam and maven projects

2006-10-11 Thread jgilbert
I have been building Seam applications with Maven2 in my Taylor project.

http://taylor.sourceforge.net

The current version builds the ejb3 jar, war, and ear with one maven project. 
The next release will generate seperate jar, war, and ear projects for more 
flexibility.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977729#3977729

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977729
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Quartz JobStore Hibernate Impl

2006-10-18 Thread jgilbert
Is anyone aware of a Hibernate implementation of the Quartz JobStore?

I couldn't find one, so I put together a prototype using EJB3 Cached Entity 
beans and a Clustered SLSB. It works, but there is plenty more to do. So if 
anyone has one we could join forces...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979174#3979174

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979174
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Problem with EmbeddedId

2006-10-18 Thread jgilbert
Has anyone else seen this and figured out why it is happening. I am getting the 
same thing. 

I am using alpha8 with hsql. 

All my beans with non-compound keys work fine.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979193#3979193

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979193
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - org.hibernate.exception.GenericJDBCException: Cannot open co

2006-10-23 Thread jgilbert
I am trying to use jboss-portal-ha.sar in the All server with Ejb3 installed. I 
have a bean that accesses the portal:service=CMS mbean to add content to the 
repository. It works in the Default server, but get the following exception in 
the All server.

Any ideas? 
I tried to add the Lookup Mgr but got a class not found exception.


10:43:41,093 WARN  [JTATransaction] You should set 
hibernate.transaction.manager_lookup_class if cache is enabled
  | 10:43:41,093 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: null
  | 10:43:41,093 ERROR [JDBCExceptionReporter] Transaction is not active: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=JGILBERT2XP/87, BranchQual=, 
localId=87]; - nested throwable: (javax.resource.ResourceException: Transaction 
is not active: tx=TransactionImpl:XidImpl[FormatId=257, 
GlobalId=JGILBERT2XP/87, BranchQual=, localId=87])
  | 10:43:41,093 WARN  [JTATransaction] You should set 
hibernate.transaction.manager_lookup_class if cache is enabled
  | 10:43:41,093 ERROR [HibernatePersistenceManager] failed to read references: 
e72f79b2-7a87-4328-82dd-aaad32714423
  | org.hibernate.exception.GenericJDBCException: Cannot open connection
  | at 
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
  | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:420)
  | at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
  | at 
org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1560)
  | at org.hibernate.loader.Loader.doQuery(Loader.java:661)
  | at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
  | at org.hibernate.loader.Loader.doList(Loader.java:2144)
  | at 
org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028)
  | at org.hibernate.loader.Loader.list(Loader.java:2023)
  | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:393)
  | at 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
  | at 
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
  | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
  | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | at 
org.jboss.portal.cms.hibernate.state.HibernatePersistenceManager.load(HibernatePersistenceManager.java:471)
  | at 
org.apache.jackrabbit.core.state.SharedItemStateManager.getNodeReferences(SharedItemStateManager.java:270)
  | at 
org.apache.jackrabbit.core.state.SharedItemStateManager.updateReferences(SharedItemStateManager.java:970)
  | at 
org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:472)
  | at 
org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:662)
  | at 
org.apache.jackrabbit.core.state.XAItemStateManager.prepare(XAItemStateManager.java:150)
  | at 
org.apache.jackrabbit.core.TransactionContext.prepare(TransactionContext.java:128)
  | at 
org.apache.jackrabbit.core.XASessionImpl.prepare(XASessionImpl.java:300)
  | at org.jboss.portal.cms.impl.jcr.JCRCMS.execute(JCRCMS.java:441)
  | at 
org.jboss.portal.cms.impl.jcr.ha.HAJCRCMS.execute(HAJCRCMS.java:51)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy338.execute(Unknown Source)
  | at 
net.pay.batch.service.ContentManagementSer

[jboss-user] [JBoss Seam] - Re: Seam and maven projects

2006-10-23 Thread jgilbert
I have created the following maven2 site with all the jars I couldn't find else 
where.

http://taylor.sourceforge.net/maven2/

Here are links to sample pom.xml files:
http://taylor.cvs.sourceforge.net/taylor/taylor/bpm/
http://taylor.cvs.sourceforge.net/taylor/taylor/taylor-bpm-web/
http://taylor.cvs.sourceforge.net/taylor/taylor/taylor-bpm-app/

taylor-commons has JUnit TestSetup classes for initialize the EJB3 container 
and Seam in JUnit. Here are some samples:
http://taylor.cvs.sourceforge.net/*checkout*/taylor/taylor/bpm/src/test/java/net/taylor/worklist/service/TaskServiceTest.java
http://taylor.cvs.sourceforge.net/taylor/taylor/bpm/src/test/java/net/taylor/worklist/entity/TaskSeamTest.java

Here are samples of all the container config files:
http://taylor.cvs.sourceforge.net/taylor/taylor/bpm/src/test/resources/

To load the database for testing I create an import.sql file in the 
src/test/resources directory and I use an in-memory hsql datasource.





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980231#3980231

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980231
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - No LoginModules configured for java:

2006-10-24 Thread jgilbert
I am using the embedded container and setting the security-domain in the 
jboss.xml file. when i set it up like this

java:/jaas/other

i get the following exception:

Caused by: javax.security.auth.login.LoginException: No LoginModules configured 
for java:
  | at javax.security.auth.login.LoginContext.init(Unknown Source)
  | at javax.security.auth.login.LoginContext.(Unknown Source)
  | at javax.security.auth.login.LoginContext.(Unknown Source)
  | at 
org.jboss.security.plugins.SubjectActions$LoginContextAction.run(SubjectActions.java:132)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
org.jboss.security.plugins.SubjectActions.createLoginContext(SubjectActions.java:236)
  | at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:586)
  | at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:521)
  | at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:330)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.authenticate(AuthenticationInterceptor.java:125)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:67)
  | ... 31 more
  | 


if i set it up like this

other

then it works in the embedded container but not in the app server.

is this a bug or am i missing something?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980478#3980478

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980478
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Hibernate JACC in the embedded container

2006-10-24 Thread jgilbert
Has anyone tried to use Hibernate JACC in the embedded container?

I have added the entries to the persistence.xml:


  |   
  |   
  | 

I see the entries processed:

2006-10-24 15:28:17,307 DEBUG [org.hibernate.secure.JACCConfiguration] adding 
permission to role User: (javax.security.jacc.EJBMethodPermission 
net.pay.security.entity.Payment insert)[*:insert()]
  | 2006-10-24 15:28:17,307 DEBUG [org.hibernate.secure.JACCConfiguration] 
adding permission to role User: (javax.security.jacc.EJBMethodPermission 
net.pay.security.entity.Payment update)[*:update()]
  | 2006-10-24 15:28:17,307 DEBUG [org.hibernate.secure.JACCConfiguration] 
adding permission to role User: (javax.security.jacc.EJBMethodPermission 
net.pay.security.entity.Payment read)[*:read()]
  | 2006-10-24 15:28:17,307 DEBUG [org.hibernate.secure.JACCConfiguration] 
adding permission to role Admin: (javax.security.jacc.EJBMethodPermission 
net.pay.security.entity.Payment delete)[*:delete()]
  | 

But I get the following exception:

Caused by: java.lang.IllegalArgumentException: No PolicyContextHandler for 
key=javax.security.auth.Subject.container
  | at javax.security.jacc.PolicyContext.getContext(PolicyContext.java:107)
  | at 
org.hibernate.secure.JACCPermissions$3.getContextSubject(JACCPermissions.java:88)
  | at 
org.hibernate.secure.JACCPermissions.getContextSubject(JACCPermissions.java:97)
  | at 
org.hibernate.secure.JACCPermissions.checkPermission(JACCPermissions.java:36)
  | at 
org.hibernate.secure.JACCPreInsertEventListener.onPreInsert(JACCPreInsertEventListener.java:29)
  | 

So I added the JACCSecurityService to the container and switched to 
JaccAuthorizationInterceptorFactory.

  
  |  
  | 

But now I just get:

  | java.lang.SecurityException: Denied: 
(javax.security.jacc.EJBMethodPermission CustomerServiceBean 
save,Local,net.pay.security.entity.Customer)[Local:save(net.pay.security.entity.Customer)],
 caller=Subject:
  | Principal: user
  | Principal: Roles(members:User)
  | 
  | at 
org.jboss.ejb3.security.JaccHelper.checkPermission(JaccHelper.java:285)
  | at 
org.jboss.ejb3.security.JaccAuthorizationInterceptor.checkSecurityAssociation(JaccAuthorizationInterceptor.java:93)
  | at 
org.jboss.ejb3.security.JaccAuthorizationInterceptor.invoke(JaccAuthorizationInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
  | at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
  | at $Proxy49.save(Unknown Source)
  | 

So it looks like the permissions are registered under a different context.

Any suggestions?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980514#3980514

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980514
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - SessionContext.getCallerPrincipal() throws NullPointerExcept

2006-10-24 Thread jgilbert
Has anyone seen this?

In the embedded container I get this exception from the sessionContext:

Caused by: java.lang.NullPointerException
  | at 
org.jboss.security.plugins.JaasSecurityManager.getPrincipal(JaasSecurityManager.java:348)
  | at 
org.jboss.ejb3.BaseSessionContext.getCallerPrincipal(BaseSessionContext.java:177)
  | at 
net.pay.security.service.PaymentServiceBean.save(PaymentServiceBean.java:97)
  | 

I set up the initial ctx with the user/pwd and the slsb is annotated with the 
RolesAllowed and SecurityDomain.

The interesting thing is that if I comment out the annotations then 
getCallerPrincipal() works fine.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980541#3980541

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980541
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: SessionContext.getCallerPrincipal() throws NullPointerEx

2006-10-25 Thread jgilbert
I have reported this as an issue with a patch. 

http://jira.jboss.com/jira/browse/EJBTHREE-761

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980743#3980743

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980743
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: No LoginModules configured for java:

2006-10-25 Thread jgilbert
Turns out I was wrong. With ejb3 I can specify the security domiain in 
jboss.xml as just:

other

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980838#3980838

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980838
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: MyFaces Portlet in JBoss Portal Cluster

2006-10-26 Thread jgilbert
I am having the same problem and was considering the same type of solution.
Can you share your code?

I've searched high and low for info on this issue. I'm surprised it hasn't been 
encountered more

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981090#3981090

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981090
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Non-serializable objects in session break clustered app

2006-10-26 Thread jgilbert
Turns out this is an issue with the MyFaces portlet impl. 
See related posting: 
http://jboss.org/index.html?module=bb&op=viewtopic&t=92976&start=0

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981092#3981092

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981092
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: MyFaces Portlet in JBoss Portal Cluster

2006-10-26 Thread jgilbert
Here is a link to my workaround:

http://taylor.cvs.sourceforge.net/taylor/taylor/commons/src/main/java/net/taylor/portlet/MyFacesGenericPortlet.java?view=markup

I would still like to see other solutions. For example, plugging in a different 
FacesContextFactory impl.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981103#3981103

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981103
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: MyFaces Portlet in JBoss Portal Cluster

2006-10-26 Thread jgilbert
I created a MyFaces JIRA issue:
http://issues.apache.org/jira/browse/MYFACES-1481


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981106#3981106

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981106
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EJB3.0 annotation security and webservices.

2006-10-29 Thread jgilbert
Take a look at the JBossWS user guide chapter on securing endpoints:
http://labs.jboss.com/portal/jbossws/user-guide/en/html/secure-ejb.html

You basically set properties on the Stub. 

I haven't tried it but I bet calling the the ClientSideLogingModule would to 
the trick also.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981610#3981610

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981610
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: javax.ejb.EJBAccessException: Authentication failure

2006-10-29 Thread jgilbert
You need to use "org.jboss.security.jndi.LoginInitialContextFactory".

http://wiki.jboss.org/wiki/Wiki.jsp?page=LoginInitialContextFactory

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981611#3981611

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981611
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: MyFaces Portlet in JBoss Portal Cluster

2006-10-30 Thread jgilbert
I think you are a head of me. I have done the following:

- installed jboss-portal-ha.sar in an all server
- using a single mysql db for jbossportal
- validated that the out of the box portlets like weather "appear" to be 
clustered

then tried my jsf seam portlets and got the error discussed in this thread.

now i have no errors, but i got dragged off in another direction for a while.
so i can't say it is really clustered yet.

i believe you are supposed to have only one shared database for the portal 
cluster. maybe the if-exists tags in the *-object.xml descriptors play a role 
here

i'll post any progress i make.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981778#3981778

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981778
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - @SecurityDomain must be used?

2006-10-30 Thread jgilbert
Has anyone seen this?

I have a test where my ejb3 SLSB, jsr181 endpoint works only if I use the 
@SecurityDomain annotation. If I try to define the security-domain in the 
deployment descriptor I get a 401 http response code.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981893#3981893

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981893
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Signature is invalid

2006-11-03 Thread jgilbert
I am getting the following exception on the server side when trying to encrypt 
individual elements:

  | org.jboss.ws.wsse.FailedCheckException: Signature is invalid.
  | at 
org.jboss.ws.wsse.SignatureVerificationOperation.process(SignatureVerificationOperation.java:59)
  | at 
org.jboss.ws.wsse.SecurityDecoder.decode(SecurityDecoder.java:123)
  | at 
org.jboss.ws.wsse.SecurityDecoder.decode(SecurityDecoder.java:185)
  | at 
org.jboss.ws.wsse.WSSecurityDispatcher.handleInbound(WSSecurityDispatcher.java:143)
  | at 
org.jboss.ws.wsse.WSSecurityHandler.handleInboundSecurity(WSSecurityHandler.java:68)
  | at 
org.jboss.ws.wsse.WSSecurityHandlerInbound.handleRequest(WSSecurityHandlerInbound.java:42)
  | 


I am following this example from the wiki with a few differences:
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecurityComplexExample

- i am declaring rules globally instead of at the operation level
- i want to sign the complete message
- i want to encrypt individual elements

when i sign and encrypt everything then it all works. when i just encrypt 
individual elements without signing then it all works.

any ideas?

jboss-wsse-client.xml

  | http://www.jboss.com/ws-security/config"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   xsi:schemaLocation="http://www.jboss.com/ws-security/config 
http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd";>
  |
  |  
  |  
  | 
  |{http://service.security.pay.net/jaws}creditCardNumber
  | 
  |  
  |  
  |
  |
  |   
  |  {http://service.security.pay.net/jaws}creditCardNumber
  |   
  |
  |  
  |
  | 


jboss-wsse-server.xml

  | http://www.jboss.com/ws-security/config"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   xsi:schemaLocation="http://www.jboss.com/ws-security/config 
http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd";>
  |   META-INF/wsse.keystore
  |   jbossws
  |   META-INF/wsse.truststore
  |   jbossws
  |   
  | 
  | 
  |
  |   {http://service.security.pay.net/jaws}creditCardNumber
  |
  | 
  | 
  |   
  |   
  |  
  | {http://service.security.pay.net/jaws}creditCardNumber
  |  
  |   
  | 
  |   
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983095#3983095

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983095
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - org.jboss.remoting.CannotConnectException: Can not connect h

2006-11-07 Thread jgilbert
I am trying to call a secured web service from a SLSB. I have injected the port 
using @Resource but get a connection exception because the credentials are not 
set. I have come up with a workaround to propagate the credentials (see below). 
But I would like to know if there is a standards based way to propagate 
credentials to the jaxrpc stub.

Do I just need to wait for the full JaxWS implementation in JBossWS 2.0?


@Stateless
  | @RolesAllowed(value = { "User" })
  | @SecurityDomain("portal")
  | public class AuthorizationCallbackServiceAdapterBean implements 
AuthorizationCallbackServiceLocal {
  | 
  |   @Resource(mappedName = 
"jbossws-client/service/AuthorizationCallbackService")
  |   protected AuthorizationCallbackService_PortType port;
  | 
  |   public void authorizationResponse(Long paymentId, Boolean status) {
  |  try {
  |   Stub stub = (Stub) port;
  |   stub._setProperty(Stub.USERNAME_PROPERTY, 
SecurityAssociation.getCallerPrincipal().getName());
  |   stub._setProperty(Stub.PASSWORD_PROPERTY, 
SecurityAssociation.getCredential());
  |  
  |   port.authorizationResponse(paymentId, status);
  | 
  |  } catch (Exception e) {
  | throw new RuntimeException(e);
  |  }
  |   }
  | }
  | 

Calling SecurityAssociation and setting the properties on the stub is the 
prioritary workaround that i would like to avoid.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983812#3983812

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983812
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - JSR-181 Annotation Based UDDI Registration

2006-11-07 Thread jgilbert
I have been looking at the following wiki entries:

http://wiki.jboss.org/wiki/Wiki.jsp?page=UDDIExample
http://wiki.jboss.org/wiki/Wiki.jsp?page=UDDIAccesspointLocator

And I am wondering if there are any plans to roll this into the product? For 
example, I can envision a deployer that automatically registers services 
annotated with @WebService.

I don't want to duplicate any existing efforts.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983998#3983998

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983998
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Hibernate JACC in the embedded container

2006-11-08 Thread jgilbert
Thanks for the idea. I had to move on to other things, so i'll give it a try 
when i can get back to it.

I ended up writing something similar that also does instance level security.
http://jroller.com/page/jgilbert01?entry=securing_ejb3_entity_beans_at


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984189#3984189

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984189
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Reliable Messaging

2006-11-13 Thread jgilbert
Is anyone aware of a good example for this scenario?

I want to make an asynchronous call to a @Oneway operation in a fire and forget 
fashion.

All the examples I have found for WS-RM seem to be focused on conversational 
sessions.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985669#3985669

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985669
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - JMS Transport

2006-11-14 Thread jgilbert
Has anyone written or are there plans to write a JMS transport for jboss 
remoting?

My scenario is that I would like to use a jms transport behind a oneway web 
service operation.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985834#3985834

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985834
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: JMS Transport

2006-11-14 Thread jgilbert
Do you think this is something reasonable that I should take a stab at or is 
there a better approach?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985848#3985848

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985848
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: JMS Transport

2006-11-14 Thread jgilbert
Makes sense. 

I am just trying to reproduce the kind of capability with jbossws that i could 
do with the axis jms transport.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985852#3985852

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985852
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: JMS Transport

2006-11-14 Thread jgilbert
Reliability. My scenario is a Oneway asynchronous soap message. So, jbossws 
makes the request and moves on without waiting for a response. I then want 
jboss messaging to ensure the message gets to the otherside. So far it is 
working good. I created a straight forward JmsClientInvoker.

Now I am working through the jbossws mdb support on the otherside: 
http://labs.jboss.com/portal/jbossws/user-guide/en/html/jms-transport.html

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985974#3985974

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985974
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Ejb3 JMSTransportSupport

2006-11-14 Thread jgilbert
Has anyone tried using JMSTransportSupport with an Ejb3 MDB?

The error I get is: 
Cannot find serviceID for: queue/AuthorizationCallbackQueue

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985993#3985993

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985993
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Ejb3 JMSTransportSupport

2006-11-15 Thread jgilbert
I extended JMSTransportSupport and overrode processSOAPMessage() to get 
something to work with Ejb3 MDBs.

For starters the the WebService is implements per usual as a SLSB. I am just 
using the MDB as an alternate path in the WebService.

The MDB just defines the ObjectName for the real web service.


  | @MessageDriven(activationConfig = {...})
  | public class AuthorizationCallbackMDB extends MyJmsTransportSupport 
implements
  | MessageListener {
  | ObjectName getObjectName() {
  | try {
  | return new ObjectName(
  | 
"jboss.ws:context=payment-authorizer-0,endpoint=AuthorizationCallbackServiceMockBean");
  | } catch (Exception e) {
  | throw new RuntimeException(e);
  | }
  | }
  | }
  | 

  | public abstract class MyJmsTransportSupport extends JMSTransportSupport {
  | 
  | private static final long serialVersionUID = 1L;
  | 
  | abstract ObjectName getObjectName();
  | 
  | protected SOAPMessage processSOAPMessage(String fromName,
  | InputStream reqMessage) throws SOAPException, 
IOException,
  | RemoteException {
  | try {
  | ServiceEndpointManagerFactory factory = 
ServiceEndpointManagerFactory
  | .getInstance();
  | ServiceEndpointManager epManager = factory
  | .getServiceEndpointManager();
  | ServiceEndpoint sep = epManager
  | 
.getServiceEndpointByID(getObjectName());
  | return sep.handleRequest(null, null, reqMessage);
  | } catch (BindingException ex) {
  | throw new WSException("Cannot bind incomming soap 
message", ex);
  | }
  | }
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986246#3986246

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986246
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Ejb3 JMSTransportSupport

2006-11-15 Thread jgilbert
This could be handle generically without writing code. Just define the mdb in 
the deployment descriptor with an env-entry for the real service.

  | 
  | AuthorizationCallbackMDB
  | 
  |   
org.jboss.webservice.transport.jms.JMSTransportSupport
  | 
  | 
javax.jms.MessageListener
  | Container
  | 
javax.jms.Queue
  | 
  | 
  |serviceName
  |String
  |
AuthorizationCallbackServiceMockBean
  | 
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986251#3986251

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986251
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Ejb3 JMSTransportSupport

2006-11-15 Thread jgilbert
one thing that is not right with this approach is that there is no jms address 
in the wsdl, because only the SLSB is deployed as a web service.

any thoughts?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986336#3986336

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986336
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam conflict with a4j:include and a4j:support

2007-08-21 Thread jgilbert
I have already shared this with the ajax4jsf forum, but they believe this is 
more of a seam issue.

http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076264#4076264


I am using a4j:support and onblur to do field validation on an edit screen.

The edit page works fine standalone.

When the edit screen is included using a4j:include i get some weird conflicts.

1 - When no field is selected the Save button works fine.

2 - When a field is selected and the save button is pressed then 2 requests are 
fired. One for onblur and one for pressing the button. Sometimes this works 
fine, but most times a NPE is thrown.

Is there anyway to ensure these 2 requests don't conflict?




  | Caused by: java.lang.NullPointerException
  | at 
org.jboss.seam.core.Manager.isReallyLongRunningConversation(Manager.java:247)
  | at 
org.jboss.seam.core.Conversation.isLongRunning(Conversation.java:312)
  | at 
org.jboss.seam.ui.UIConversationId.getValue(UIConversationId.java:33)
  | at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlLinkRendererBase.addChildParametersToHr
  | ef(HtmlLinkRendererBase.java:381)
  | at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlLinkRendererBase.renderOutputLinkStart(
  | HtmlLinkRendererBase.java:399)
  | at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlLinkRendererBase.encodeBegin(HtmlLinkRe
  | ndererBase.java:101)
  | at 
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:512)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
  | at 
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
  | at 
org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:59)
  | at 
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
  | at 
org.ajax4jsf.portlet.application.PortletViewHandler.renderView(PortletViewHandler.java:42
  | )
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at 
org.ajax4jsf.portlet.AjaxFacesPortlet.render(AjaxFacesPortlet.java:266)
  | at 
org.ajax4jsf.portlet.AjaxFacesPortlet.doView(AjaxFacesPortlet.java:177)
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076325#4076325

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076325
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Myfaces vs Sun RI

2007-12-11 Thread jgilbert
I noticed that the JBoss Portal 2.6.2 Admin portlets are using MyFaces instead 
of the Sun RI packaged with the app server

Is this just because they haven't been upgraded or is there a technical reason?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112146#4112146

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112146
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 2 + JBoss Portal 2.6 portlets

2007-12-12 Thread jgilbert
Any news on Seam+Richfaces portlets? I tried to use the 3.1.3.CR2 portlet 
bridge but got no where.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112351#4112351

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112351
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - strict not working

2007-12-28 Thread jgilbert
I am using JBoss AS 4.2.0.GA and trying to order the deployment of my ejb 
modules. I have seen the postings about using the strict setting but it does 
not  appear to work.

Here is my jboss-app.xml. Does anyone have any ideas what I am missing?


  | 
  | strict
  | 
  | my.sar
  | 
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115942#4115942

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115942
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - XA Datasource?

2008-01-03 Thread jgilbert
Does JBM support XA Datasources? This posting seems to indicate that I should 
not use an XA Datasource with JBM. 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=119217

I have an MDB that creates a timer using the EJB TimerServer. I have DefaultDS 
setup to use the Oracle XA driver and I have a non xa oracle datasource setup 
for JBM. When the MDB executes I get an 
javax.transaction.HeuristicMixedException.

When I switch the TimerService to use the non xa datasource the exception goes 
away. However, this doesn't feel like the right solution.

Can I use an XA datasource with JBM?


My Environment:
  JBM 1.3
  JAS 4.2
  Oracle

Stacktrace
2008-01-03 15:12:31,076 ERROR 
[org.jboss.resource.adapter.jms.inflow.JmsServerSession] [EMAIL PROTECTED] 
failed to commit/rollback
  | javax.transaction.HeuristicMixedException
  | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1264)
  | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
  | at 
com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
  | at 
org.jboss.resource.adapter.jms.inflow.JmsServerSession$XATransactionDemarcationStrategy.end(JmsServerSession.java:494)
  | at 
org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:248)
  | at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
  | at 
org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
  | at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
  | at java.lang.Thread.run(Thread.java:595)
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116896#4116896

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116896
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Conditional Cross Field Validation on Entity Bean

2007-10-17 Thread jgilbert
http://www.jroller.com/jgilbert01/entry/extending_the_hibernate_validation_framework

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096161#4096161

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096161
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: UsernameToken and Basic Auth

2007-10-24 Thread jgilbert
jboss-wsse-server.xml

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098589#4098589

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098589
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Persistent MBean Attributes

2007-10-03 Thread jgilbert
When using the @Service and @Management annotations is it possible to persist 
attributes when changed through the jmx-console?

Based on some prototyping it doesn't appear possible. Do I have to use good old 
xmbeans to do this?


  | @Service
  | @Management
  | class MyServiceBean implements MyService {
  | 
  |private String attributeOne;
  |// setter and getter
  | 
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091305#4091305

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091305
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - jboss-embedded-all.jar MQ classes broken

2007-10-06 Thread jgilbert
The MQ classes in this jar are broken in the 2.0.0.CR2 release and up on 
http://repository.jboss.org/maven2/org/jboss/embedded/jboss-embedded-all/beta2/

For example org.jboss.mq.server.jmx.Topic is not in sync with SVN. I get the 
error java.lang.NoSuchFieldError: destinationName.

Who owns http://repository.jboss.org and could put out a new build?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092299#4092299

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092299
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: jboss-embedded-all.jar MQ classes broken

2007-10-08 Thread jgilbert
i went ahead and built it myself from source. However, I had to make the 
following changes to the build script to get the right MQ classes included.

  
  | 
  |  

It appears that these jars redefine some of the classes and do not work at 
runtime.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092765#4092765

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092765
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - DLQ Question

2008-05-22 Thread jgilbert
Is it possible to add additional information to a message before it is sent to 
the DLQ?

For example, I would like to attach information about the exception that caused 
the delivery failure, so that I can route messages appropriately when I pull 
them off the DLQ.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152845#4152845

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152845
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - No bridge detected for application factory org.jboss.seam.js

2007-07-02 Thread jgilbert
I just downloaded the 2.6 release and received this error. My portlet was 
working in 2.6-CR3. What do I need to change?


  | 23:10:37,531 ERROR [STDERR] Caused by: java.lang.NullPointerException
  | 23:10:37,531 ERROR [STDERR] at 
org.jboss.portal.faces.portlet.JSFMetaBridgeLifecycleFactoryImpl.(JSFMetaBridgeLifecycleFactoryImpl.java:42)
  | 23:10:37,531 ERROR [STDERR] at 
sun.reflect.GeneratedConstructorAccessor65.newInstance(Unknown Source)
  | 23:10:37,531 ERROR [STDERR] at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  | 23:10:37,531 ERROR [STDERR] at 
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  | 23:10:37,531 ERROR [STDERR] at 
java.lang.Class.newInstance0(Class.java:350)
  | 23:10:37,531 ERROR [STDERR] at 
java.lang.Class.newInstance(Class.java:303)
  | 23:10:37,531 ERROR [STDERR] at 
javax.faces.FactoryFinder.newFactoryInstance(FactoryFinder.java:163)
  | 23:10:37,531 ERROR [STDERR] at 
javax.faces.FactoryFinder.getFactory(FactoryFinder.java:107)
  | 23:10:37,531 ERROR [STDERR] at 
org.ajax4jsf.portlet.AjaxFacesPortlet.init(AjaxFacesPortlet.java:62)
  | 23:10:37,531 ERROR [STDERR] at 
org.apache.portals.bridges.portletfilter.FilterPortlet.init(FilterPortlet.java:101)
  | 23:10:37,531 ERROR [STDERR] at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.initPortlet(PortletContainerImpl.java:359)
  | 23:10:37,531 ERROR [STDERR] at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.start(PortletContainerImpl.java:233)
  | 23:10:37,531 ERROR [STDERR] ... 120 more
  | 23:10:37,531 WARN  [JSFMetaBridgeFactory] No bridge detected for 
application factory org.jboss.seam.jsf.SeamApplicationFactory
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059782#4059782

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059782
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - disappearing topic

2007-07-02 Thread jgilbert
i am trying to get messaging 1.3.0 to work with AS 4.2. the first time i deploy 
everything is fine. when i restart the server my topic disappears.

any idea what is wrong?

note, this only happens when i have deployed an ejb3 mdb that subscribes to the 
topic.

btw, this mdb has been working with messaging 1.0.1.SP5 and AS 4.0.5 with no 
problems.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059785#4059785

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059785
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: No bridge detected for application factory org.jboss.sea

2007-07-03 Thread jgilbert
JBoss AS 4.2 with MyFaces


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059985#4059985

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059985
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: disappearing topic

2007-07-03 Thread jgilbert
i can start and stop my server with just the topic deployed and everything is 
fine. every time i restart my topic is still in the jndi tree.

however, as soon as i deploy an ear with an mdb that uses the topic, the topic 
will disappear from the jndi tree on a restart.

also, when i look in the DefaultDS the post office table does have the 
subscription for the mdb to the topic.

this same ear worked fine on 4.0.5 with 1.0.1.SP5

my ejb3 mdb does explicitly define all the various metadata like client id, 
subscription name, etc.. which is different from the example included with 
messaging.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059989#4059989

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059989
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: No bridge detected for application factory org.jboss.sea

2007-07-03 Thread jgilbert
yes, i followed the directions on the jboss portal wiki to replace the sun jars 
with myfaces. after doing that the portal admin portlet worked.

then i tried my seam based portlet which works with CR3. it looks like there 
has been new code added to the portal in JSFMetaBridgeFactory which assumes the 
application factory will be either from myfaces or sun. 

however, it appears that Seam initializes a different app factory, so 
JSFMetaBridgeLifecycleFactoryImpl gets a null pointer exception because 
JSFMetaBridgeFactory does not initialize the metaBridge.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060033#4060033

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060033
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: No bridge detected for application factory org.jboss.sea

2007-07-03 Thread jgilbert
i'll work up a simple example over the next day or so.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060052#4060052

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060052
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >