[jboss-user] [EJB 3.0] - Re: Getting Syntax error with EJB 3.0.

2006-12-16 Thread dvuday
Thanks...

I didnt find any seperate link like patch1 or patch2 or RC7 or RC9 for 
downloading.  I am trying with the link 

jboss-4.0.4.GA-Patch1-installer.jar at 

http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=416591

will that jar file be there in that patch1??

Thanks and Regards
Uday

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

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


[jboss-user] [JNDI/Naming/Network] - Re: java.lang.ClassNotFoundException: org.jnp.interfaces.Nam

2006-12-16 Thread PeterJ
I am stumped.  Based on the output you sent me, it should work.  The 
C:\jboss-4.0.4.CR2\client\jbossall-client.jar, which contains the 
org.jnp.interfaces.NamingContextFactory is in the class path, so there should 
be no problem in finding and loading that class.  It is almost as if, suddenly, 
another class loader was invoked, one which did not know about the classpath.

All I can suggest is to try it from the command line (to eliminate Eclipse 
messing something up), and to also try a simpler program that only looks up the 
EJB in jndi (you should be able to get by with a much shorter classpath and 
thus be able to more easily run it manually from the command line).

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

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


[jboss-user] [Remoting] - Re: JBoss & Java 1.6 class loading issue?

2006-12-16 Thread [EMAIL PROTECTED]
I view it as a bug and it appears to have been accepted as such.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6434149


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

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


[jboss-user] [JBoss Seam] - Future direction for Embeeded EJB

2006-12-16 Thread jboss-Nth-Fan
Hi Gavin,

Congratulations on 1.1GA!, the framework part, is a jewel to show (and 
understand) the rest of Seam's capabilities, simple yet elegant, well done!

Now, given the two alternatives for Seam applications outside JBoss AS, (for us 
dealing with other AS (Weblogic and Websphere), what would you recommend today 
and the foreseeable future? Embedded EJB or Hibernate/JPA approach, for say, 
simple database web applications. (no MDBs)

Also, I?ve noted SeamGen produces Pojos, are there plans to support direct EJB 
generation ? 

Finally, is there any possibility of Embedded EJB to become secondary given 
there is JBoss AS (Full container), and the recent added support for 
Hibernate/JPA?

Looking forward for the latest announced releases !

Yeyo

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - org.hibernate.TransactionException: Transaction not successf

2006-12-16 Thread johnybravo2004
why do I get the following error when I execute this method: 


private void updatePerson(Long personId, String firstname) { 

Session session = HibernateUtil.getSessionFactory().getCurrentSession(); 

session.beginTransaction(); 

Person aPerson = (Person) session.load(Person.class, personId); 

aPerson.setFirstname(firstname); 
session.update(aPerson); 
session.save(aPerson); 

session.getTransaction().commit(); 
} 

exception 

org.hibernate.TransactionException: Transaction not successfully started 
org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:149) 
events.PersonServlet.doGet(Unknown Source) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:697) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 
 


 


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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Error creating jboss configuration in eclipse on OSX 10.

2006-12-16 Thread [EMAIL PROTECTED]
Yes... the known issue is that you cant do it ;) 

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

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


[jboss-user] [JBoss Seam] - Re: Problem with DataModelSelection?

2006-12-16 Thread jim.farley
More on this: it seems that the @DataModel variable is not being set up as a 
context variable for some reason.  When the Seam phase listener looks for it 
(in selectDataModelRow()) to set its index to match the link index, it's not 
found in any context, so the wrapped ListDataModel's internal index remains 
unset (defaults to zero). Hence the first item is picked each time.

It still alludes me why my @DataModel is not being put into conversation 
context while the dvd example does behave as expected.  To try to isolate the 
problem, I've restructured the code along the lines of the dvd example 
(specifically, the showorders.xhtml page), and lined up my components.xml, 
web.xml and faces-config.xml to the settings in the dvd example.  Any ideas 
would be very welcome.

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

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


[jboss-user] [Microcontainer] - Re: property of type org.w3c.dom.Element

2006-12-16 Thread alesj
What about if you try?


  | 
  | 
  |
  |...
  |
  | 
  | 

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

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


[jboss-user] [Microcontainer] - Re: JMX Decorator for POJOs - suggestion

2006-12-16 Thread alesj
>> Is there an  for that is well? 
Yes, there is: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=94154

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

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


[jboss-user] [JBoss jBPM] - Re: (O/T) HOW to create new node types ???

2006-12-16 Thread kukeltje
Oh, and btw Koen, (withouth refering to the cleaning fluid)

Heineken/Amstel/... 3, http://www.alken-maes.be/PRODUCTEN/NL/zulte.php 0 ;-)

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

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


[jboss-user] [JBoss jBPM] - Re: HOW to create new node types ???

2006-12-16 Thread kukeltje
Come on Koen, it can't be that simple ;-) jBPM can't be that flexible... can it?

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

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


[jboss-user] [JBoss Seam] - Re: s:link linkStyle is now throwing a

2006-12-16 Thread [EMAIL PROTECTED]
s:button can appear anywhere s:link can appear.

The reason for the change is that HTML has different attributes for a button 
compared to a link.

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

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


[jboss-user] [JBoss Seam] - Re: s:link linkStyle is now throwing a

2006-12-16 Thread SmokingAPipe
Ah, ok, I'll look into that.  I guess it makes sense because you can use a 
s:link anywhere (ie, outside a form) but buttons require an HTML form or 
JavaScript to make them work.  I'm guessing that s:button needs to be in a 
h:form?


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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: PluggableInstrumentor

2006-12-16 Thread nort
tested with 4.0.4 and added jars from aop 1.5.2/lib50 to default/lib because 
was not able to find pluggable.jar.

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

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


[jboss-user] [JBoss Seam] - Re: SeamSelectItems - 1.1.1beta4

2006-12-16 Thread petemuir
In the latest draft selectMany's should 'just work' (without needing to specify 
the entityClass and converter).  The way SeamSelectItems determines the class 
in this case is quite fragile, so (especially if you aren't using generics) you 
may still need to specify the converter and entityClass.

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

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


[jboss-user] [JBoss Seam] - Re: s:link linkStyle is now throwing a

2006-12-16 Thread [EMAIL PROTECTED]
No - it's a change.  Use s:button for buttons now.

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

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


[jboss-user] [JBoss Seam] - Re: Problem with DataModelSelection?

2006-12-16 Thread jim.farley
Did you change anything else to get this to work?  I'm seeing the same behavior 
(in an app running Seam 1.0.1), and can't isolate the issue.  The JSF 
ListDataModel seems to be using a rowIndex of 0 no matter which item I select.  
I've restructured the code and configuration to resemble the DVD JBoss example, 
and now your code, but the broken behavior remains.

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: PluggableInstrumentor

2006-12-16 Thread nort
Have the same problem on my Mac X. Using AOP 1.5.2 and Jboss 4.0.5. Have done 
loadtime weaving in service.xml, changed the run.sh and copied pluggable.jar to 
/bin.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Error creating jboss configuration in eclipse on OSX 10.

2006-12-16 Thread minixman
Aaah are there known problems ?

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

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


[jboss-user] [JBoss Seam] - s:link linkStyle is now throwing a "not in TLD" expression?

2006-12-16 Thread SmokingAPipe
I'm using Seam 1.1.0 GR.  All my pages that used to have linkStyle attributes 
in them are no longer working since I switched from CR2 to GR.  Surely this is 
a bug in the TLD file?  It's no big deal; buttons and links are both fine in my 
usage here, but I'm wondering.


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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Error creating jboss configuration in eclipse on OSX 10.

2006-12-16 Thread [EMAIL PROTECTED]
Are you trying to use eclipse 3.2 with JBoss IDE 1.6.0? If so, dont. 

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Error creating jboss configuration in eclipse on OSX 10.4

2006-12-16 Thread minixman
All i get this error in my error log when i try and create a jboss 
configuration in eclipse on os x 10.4


Message: org/eclipse/jdt/internal/debug/ui/launcher/JavaLaunchConfigurationTab

error


  | java.lang.NoClassDefFoundError: 
org/eclipse/jdt/internal/debug/ui/launcher/JavaLaunchConfigurationTab
  | at java.lang.ClassLoader.defineClass1(Native Method)
  | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  | at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:160)
  | at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:498)
  | at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:468)
  | at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:427)
  | at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:410)
  | at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
  | at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
  | at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
  | at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
  | at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  | at 
org.jboss.ide.eclipse.launcher.ui.configuration.RemoteServerTabGroup.createTabs(RemoteServerTabGroup.java:42)
  | at 
org.eclipse.debug.internal.ui.launchConfigurations.CreateLaunchConfigurationAction.performAction(CreateLaunchConfigurationAction.java:70)
  | at 
org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationAction$1.run(AbstractLaunchConfigurationAction.java:103)
  | at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
  | at 
org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationAction.run(AbstractLaunchConfigurationAction.java:106)
  | at 
org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
  | at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
  | at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
  | at 
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441)
  | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
  | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
  | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
  | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
  | at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
  | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
  | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
  | at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
  | at org.eclipse.jface.window.Window.open(Window.java:796)
  | at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1086)
  | at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:383)
  | at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
  | at 
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:387)
  | at 
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:329)
  | at 
org.jboss.ide.eclipse.ejb3.wizards.ui.wizards.pages.JBossSelectionPage.createJBossConfiguration(JBossSelectionPage.java:139)
  | at 
org.jboss.ide.eclipse.ejb3.wizards.ui.wizards.pages.JBossSelectionPage.access$0(JBossSelectionPage.java:137)
  | at 
org.jboss.ide.eclipse.ejb3.wizards.ui.wizards.pages.JBossSelectionPage$2.widgetSelected(JBossSelectionPage.java:101)
  | at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
  | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
  | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
  | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
  | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
  | at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
  | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
  | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
  | at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
  | at org.eclipse.jface.window.Window.open(Window.java:796)

[jboss-user] [JBoss AOP] - Re: Can't read parameter annotations through reflection

2006-12-16 Thread nort
Have dicovered the same effect this friday. Reflection code is running 
standalone but not in jboss. Thanks for the fix.

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

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


[jboss-user] [The Lizzard's corner] - Testing testing 1.2.3

2006-12-16 Thread [EMAIL PROTECTED]
This is my first post under my new username

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

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


[jboss-user] [JBoss Seam] - Re: if no-conversation-view-id redirect bug / question

2006-12-16 Thread [EMAIL PROTECTED]
NP, its actually a good change. I'm using it in both the booking demo and in 
seam-gen.

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

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


[jboss-user] [The Lizzard's corner] - Re: On the quality of user posts.

2006-12-16 Thread [EMAIL PROTECTED]
Adrian, you are the lizzard master :-)

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

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


[jboss-user] [JBoss Seam] - Re: if no-conversation-view-id redirect bug / question

2006-12-16 Thread spambob
Ah, I see - i had a thinking error: thought it's using my .jpdl.xml file, but 
why should it if there's no cid.

Now it's working as expected - thanks again for the change :)

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: User credentials lost after remote EJB call

2006-12-16 Thread [EMAIL PROTECTED]
The problem is that JndiLoginInitialContextFactory is not designed to be used 
in a server environment. It should be updated to for this usage:
http://jira.jboss.com/jira/browse/JBAS-3948

For now you need to use a jaas login using the 
org.jboss.security.ClientLoginModule to set the caller for the remote ejb.


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

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


[jboss-user] [JBoss Seam] - Re: if no-conversation-view-id redirect bug / question

2006-12-16 Thread [EMAIL PROTECTED]
If there is no conversation, then there is most definitely no pageflow. You 
need to put it in pages.xml. Note that it is allowed to go on a wildcard view 
id.

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

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


[jboss-user] [JBoss Seam] - Re: if no-conversation-view-id redirect bug / question

2006-12-16 Thread spambob
Hello Gavin,

I just saw that you introduced 'conversation-required' for pages.xml - thanks 
for that!

But how can I use that in pageflow.jpdl.xml files? I'm asking because the CVS 
booking demo has only pages.xml examples and there's no similar attribute in 
the pageflow.Page class.

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

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


[jboss-user] [JBoss jBPM] - Re: HOW to create new node types ???

2006-12-16 Thread [EMAIL PROTECTED]
To use the 'extends' construct in Java?

Regards,
Koen

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

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


[jboss-user] [Remoting] - Re: JBoss & Java 1.6 class loading issue?

2006-12-16 Thread alexg79
So is this a JDK6 bug? I know the behavior was changed, but is it broken in 
JDK6, or do the other software just have catching up to do?

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

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


[jboss-user] [JBoss Seam] - Re: Quartz TimerService

2006-12-16 Thread dilator
Ok getting a bit closer - been rooting about FishEye and I came across a new 
ejb-timer-service.xml yay!


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | jboss:service=Naming
  | 
  | jboss:service=TransactionManager
  | jboss.jca:service=DataSourceBinding,name=DefaultDS
  | 
  | 
  | 
org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreCMT
  | org.quartz.jobStore.nonManagedTXDataSource=myDS
  | 
org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.HSQLDBDelegate
  | org.quartz.jobStore.tablePrefix=QRTZ_
  | org.quartz.jobStore.dataSource=myDS
  |  
  | # To get it to work with hypersonic
  | # FIXME: this doesn't lock the row
  | org.quartz.jobStore.selectWithLockSQL=SELECT * FROM qrtz_locks 
WHERE lock_name = ?
  |  
  | # from quartz.properties
  | org.quartz.scheduler.instanceName=JBossEJB3QuartzScheduler
  | org.quartz.scheduler.rmi.export=false
  | org.quartz.scheduler.rmi.proxy=false
  | org.quartz.scheduler.wrapJobExecutionInUserTransaction=false
  |
  | org.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool
  | org.quartz.threadPool.threadCount=10
  | org.quartz.threadPool.threadPriority=5
  | 
org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread=true
  |
  | org.quartz.jobStore.misfireThreshold=6
  | 
  | 
  | CREATE_DB_ON_STARTUP = TRUE
  | 
  | CREATE_TABLE_JOB_DETAILS = CREATE TABLE 
qrtz_job_details(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, 
\
  |DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME 
VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, \
  |IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL 
VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, \
  |JOB_DATA BINARY NULL, PRIMARY KEY 
(JOB_NAME,JOB_GROUP))
  | CREATE_TABLE_JOB_LISTENERS = CREATE TABLE 
qrtz_job_listeners(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT 
NULL, \
  |JOB_LISTENER VARCHAR(80) NOT NULL, PRIMARY KEY 
(JOB_NAME,JOB_GROUP,JOB_LISTENER), FOREIGN KEY (JOB_NAME,JOB_GROUP) \
  |REFERENCES QRTZ_JOB_DETAILS(JOB_NAME,JOB_GROUP))
  | CREATE_TABLE_TRIGGERS = CREATE TABLE 
qrtz_triggers(TRIGGER_NAME VARCHAR(80) NOT NULL, TRIGGER_GROUP VARCHAR(80) NOT 
NULL, \
  |JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) 
NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, DESCRIPTION VARCHAR(120) NULL, \
  |NEXT_FIRE_TIME NUMERIC(13) NULL, PREV_FIRE_TIME 
NUMERIC(13) NULL, TRIGGER_STATE VARCHAR(16) NOT NULL, \
  |TRIGGER_TYPE VARCHAR(8) NOT NULL, START_TIME 
NUMERIC(13) NOT NULL, END_TIME NUMERIC(13) NULL, CALENDAR_NAME VARCHAR(80) 
NULL, \
  |MISFIRE_INSTR NUMERIC(2) NULL, JOB_DATA BINARY NULL, 
PRIMARY KEY (TRIGGER_NAME,TRIGGER_GROUP), FOREIGN KEY (JOB_NAME,JOB_GROUP) \
  |REFERENCES QRTZ_JOB_DETAILS(JOB_NAME,JOB_GROUP))
  | CREATE_TABLE_SIMPLE_TRIGGERS = CREATE TABLE 
qrtz_simple_triggers(TRIGGER_NAME VARCHAR(80) NOT NULL, \
  |TRIGGER_GROUP VARCHAR(80) NOT NULL, REPEAT_COUNT 
NUMERIC(7) NOT NULL, REPEAT_INTERVAL NUMERIC(12) NOT NULL, \
  |TIMES_TRIGGERED NUMERIC(7) NOT NULL, PRIMARY KEY 
(TRIGGER_NAME,TRIGGER_GROUP), FOREIGN KEY (TRIGGER_NAME,TRIGGER_GROUP) \
  |REFERENCES QRTZ_TRIGGERS(TRIGGER_NAME,TRIGGER_GROUP))
  | CREATE_TABLE_CRON_TRIGGERS = CREATE TABLE 
qrtz_cron_triggers(TRIGGER_NAME VARCHAR(80) NOT NULL, \
  |TRIGGER_GROUP VARCHAR(80) NOT NULL, CRON_EXPRESSION 
VARCHAR(80) NOT NULL, TIME_ZONE_ID VARCHAR(80), \
  |PRIMARY KEY (TRIGGER_NAME,TRIGGER_GROUP), FOREIGN 
KEY (TRIGGER_NAME,TRIGGER_GROUP) \
  |REFERENCES QRTZ_TRIGGERS(TRIGGER_NAME,TRIGGER_GROUP))
  | CREATE_TABLE_BLOB_TRIGGERS = CREATE TABLE 
qrtz_blob_triggers(TRIGGER_NAME VARCHAR(80) NOT NULL, \
  |TRIGGER_GROUP VARCHAR(80) NOT NULL, BLOB_DATA BINARY 
NULL, PRIMARY KEY (TRIGGER_NAME,TRIGGER_GROUP), \
  |FOREIGN KEY (TRIGGER_NAME,TRIGGER_GROUP) REFERENCES 
QRTZ_TRIGGERS(TRIGGER_NAME,TRIGGER_GROUP))
  | CREATE_TABLE_TRIGGER_LISTENERS = CREATE TABLE 
qrtz_trigger_listeners(TRIGGER_NAME VARCHAR(80) NOT NULL, \
  |TRIGGER_GROUP VARCHAR(80) NOT NULL, TRIGGER_LISTENER 
VARCHAR(80) NOT NULL, \
  |

[jboss-user] [EJB 3.0] - Re: ClassCastException with ActiveMQ RA

2006-12-16 Thread [EMAIL PROTECTED]
The following thread

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

takes a step by step approach to integrating JBoss with ActiveMQ. 



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

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


[jboss-user] [JBoss jBPM] - Re: Deactivate logging in JBPM_LOG in Jbpm 3.0.0?

2006-12-16 Thread [EMAIL PROTECTED]
I am afraid the only way is to tweak the jBPM code. The deactivation of logging 
is indeed not added until 3.1.1.

Regards,
Koen

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

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


[jboss-user] [JBoss Seam] - Re: Quartz TimerService

2006-12-16 Thread dilator
I've not tried using Quartz via the resource adapter - I'll have to check that 
out.  I was more interested in using Quartz as a drop-in replacement for the 
EJB TimerService.

My main reason for this is I would like to create an arbitrarily large set of 
timers (for example 2 or 3 timers for each user on a website).  As I understand 
(and have done a bit of testing which confirms this), that whilst the default 
TimerService implementation uses java.util.Timer, it creates a new 
java.util.Timer for every ejb Timer requested, rather than scheduling a new 
entry on an existing Timer - so basically 1 thread per ejb Timer, which 
obviously does not scale.  As far as I can see there is no reason why this 
could not be implemented differently?

Anyways http://jira.jboss.org/jira/browse/EJBTHREE-619 says you simply have to 
change a system property to get the Quartz implementation running.  I've done 
this, and can see that the QuartzTimerServiceFactory is being created, but no 
TimerServices are being injected anymore, so something isn't quite right...

I'm suprised I don't have to change anything in the ejb-timer-service.xml?

Thanks again - i'll cross post this to the EJB3 forum too

ben



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

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


[jboss-user] [EJB 3.0] - Re: ClassCastException with ActiveMQ RA

2006-12-16 Thread dyzma
I have a similar problem with MDB from EJB 2 (not from EJB 3). To access 
ActiveMQ from JBoss I am following the instructions from this article 
http://devzone.logicblaze.com/site/integrating-apache-activemq-with-jboss.html. 
The only difference is I have ActiveMQ running on a separate machine, whereas 
in the article ActiveMQ runs in embedded mode. That is why I have the following 
entry in ra.xml:



  Sets the XML configuration file used to configure the embedded ActiveMQ 
broker via
  Spring if using embedded mode.
 
  BrokerXmlConfig is the filename which is assumed to be on the classpath 
unless
  a URL is specified. So a value of foo/bar.xml would be assumed to be on 
the
  classpath whereas file:dir/file.xml would use the file system.
  Any valid URL string is supported.  

BrokerXmlConfig
java.lang.String



(the difference is that in the article the config-property-value is set to 
xbean:broker-config.xml, and in my ra.xml it is empty).

During JBoss startup I am getting the following error:


17:06:25,546 WARN  [JMSContainerInvoker] JMS provider failure detected for 
ApplicationRecieve
org.jboss.deployment.DeploymentException: Error during queue setup; - nested 
throwable: (java.lang.ClassCastException: 
org.apache.activemq.command.ActiveMQQueue)
at 
org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:811)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:839)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:194)
at 
org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.se

[jboss-user] [JBoss Seam] - Re: Partial ICEfaces usage

2006-12-16 Thread ccurban
For everybody interested in this watch the ICEfaces forum entry:
http://www.icefaces.org/JForum/posts/list/3180.page

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

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


[jboss-user] [JBoss Seam] - Re: Partial ICEfaces usage

2006-12-16 Thread ccurban
Thanks Gavin, I'll do that.

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

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


[jboss-user] [JBoss Seam] - Re: Partial ICEfaces usage

2006-12-16 Thread [EMAIL PROTECTED]
Ask in the icefaces forum.

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

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


[jboss-user] [JBoss Seam] - Partial ICEfaces usage

2006-12-16 Thread ccurban
I was wondering if there is a possible configuration solution, that allows me 
to use ICEfaces only for dedicated JSF pages?

The only thing I came up with is using separate url-patterns in the web.xml for 
the ICEfaces Servlets and the normal JSF Servlet.
But this would leave me with the problem of having one view-handler specified 
in my faces-config.xml.

Any ideas?



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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Multiple databases

2006-12-16 Thread [EMAIL PROTECTED]
How can I split a class into two different databases and explain it to 
Hibernate ?
Could it be possible to map a set of attributes to a service that returns 
theses attributes instead of a table ?

We often have this kind of situation in a enterprise where you've shared 
repositories.

This is almost the same question than 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=90468

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

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


[jboss-user] [JBoss jBPM] - Re: AssignmentHandler problem

2006-12-16 Thread bnsbr
Btw, I'm using jBPM starter's kit  3.1.3

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

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


[jboss-user] [JBoss jBPM] - AssignmentHandler problem

2006-12-16 Thread bnsbr
Hi all,

I was trying to implement an AssignmentHandler to replace the 
ExpressionAssignmentHandler. In the docs, the section '11.11.3. Removing the 
identity component', says:

anonymous wrote : 
  | The ExpressionAssignmentHandler is dependent on the identity component so 
you will not be able to use it as is. In case you want to reuse the 
ExpressionAssignmentHandler and bind it to your user data store, you can extend 
from the ExpressionAssignmentHandler and override the method 
getExpressionSession.
  | 

Following these instructions, I especified my AssignmentHandler implementation 
(that extends ExpressionAssignmentHandler)  at the 'class' attribute of the 
assignment tag and found that my AssignmentHandler wasn't instantiated when the 
'expression' attribute is especified in the same tag.

There are any other necessary steps to take, other than extending the 
ExpressionAssignmentHandler, override its method and specify the new class at 
the 'class' attribute in the assignment tag ?

Any help appreciated!

Thanks,
Bruno

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Are RMI Stubs in JNDI Thread-safe?

2006-12-16 Thread micho
For stateful beans, is there an other pattern, than getting the initial context 
and looking up the manager in every call of the servelet?

InitialContext ctx = new InitialContext();
  | mm = (MandantenManager) ctx.lookup("BBCS/MandantenManagerBean/remote")

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

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


[jboss-user] [JBoss jBPM] - Re: org.jbpm.JbpmException: setRollbackOnly was invoked

2006-12-16 Thread [EMAIL PROTECTED]
Hi Meghana,

Are you combining Tomcat and HSQL? If yes, did you create and start the 
database?

Regards,
Koen

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm needs a symbol!

2006-12-16 Thread [EMAIL PROTECTED]
Just post the image here or send it via email to Tom.

Regards,
Koen

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

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


[jboss-user] [JBoss jBPM] - Re: Checking for RuntimeActions in GraphElement

2006-12-16 Thread [EMAIL PROTECTED]
Rainer,

This is almost certainly a bug. Filing a JIRA issue would be great.

Cheers,
Koen

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

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


[jboss-user] [JBoss jBPM] - Re: Problem testing Hello BPEL sample

2006-12-16 Thread [EMAIL PROTECTED]
Hi Meghana,

I have not tried using BPEL for some time now, but I had this very issue before 
and it is because of an incompatibility in the xml parsing libraries of the jdk 
1.5.0_05. I know that there is a workaround by moving around some of these xml 
parsing libraries, but I am not exactly sure what has to be done.
I know Alex is on holiday, but once he gets back he will certainly be able to 
give some more detail.

Regards,
Koen

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

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


[jboss-user] [JBoss Portal] - hibernate exception

2006-12-16 Thread m.heidari
hello,
i have a portlet that connection to MSsql server via hibernate but time of this 
query is very long and at last i see exception on my page.
in portal-sqlserver-ds.xml i locate this code:
200
  |  1
  |  100
  | but yet i see this exception:
  | javax.servlet.ServletException: Transaction is not active: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=portalserver/4717, 
BranchQual=, localId=4717]
  | 
org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:214)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  | 
  | if you have solution for this problem please help me.
  | thanks
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.1.5 & SeamSecurity...

2006-12-16 Thread fcorneli
anonymous wrote :  is gone, it's been replaced with EL expressions 
s:hasRole and s:hasPermission. 

Does this mean that the "view" will also have servlet container security 
enabled on it? In my own Seam application I've places only the controller Seam 
BBs within a security domain. Thus these components can use the @RolesAllowed 
stuff. I'm using a servlet filter to push the session credentials to the 
client-login JAAS context. My view has no servlet container security enabled on 
it, but it can access the current used via #{currentUser} if needed for view 
purposes only, since that's the only task of the view (SoC). For this I used a 
simple Tomcat valve configured via context.xml.
IMHO the view should not have security enabled on it, since it can only expose 
data or perform operations via the controller components. Thus placing the 
controller components inside a security domain does the trick. Servlet 
container security doesn't bring anything in case of an MVC framework like 
Seam. And, since Seam 1.1 we can have a nice error page in case of an RBAC 
exception, thus the view does not need to get access to the RBAC itself. This 
is also in line with another security aspect: input validation. Via the 
Hibernate annotations, they've also made the view "dumb" as it comes to input 
validation. Anyone has opinion on this? Can anyone already shed some light on 
which direction this is going to take? At JavaPolis someone of JBoss said they 
where going to use a rules thingy for the Seam security... KISS please... we 
already have a security system via EJB3, one should be enough.

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

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


[jboss-user] [JBoss Seam] - Re: SeamSelectItems - 1.1.1beta4

2006-12-16 Thread petemuir
Done as described above.  Also, I added in a schema for components.xml.



Also, the changes made in 1.1.1-beta4 broke the caching, so even you have 
cache=true, it won't actually cache anything.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Are RMI Stubs in JNDI Thread-safe?

2006-12-16 Thread [EMAIL PROTECTED]
Stateless beans = yes, stateful beans = no.


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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Is it possible to access request parameters within custo

2006-12-16 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExtendedFormAuthenticator
http://wiki.jboss.org/wiki/Wiki.jsp?page=CustomizingSecurityUsingValves

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: FORM based authenticated session not logged out properly

2006-12-16 Thread [EMAIL PROTECTED]
BASIC auth sends credentials regardless of the session state. There is no way 
to force the browser to redisplay its basic login.


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

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


[jboss-user] [Security & JAAS/JBoss] - Re: How to avoid caching username and password in sharedstat

2006-12-16 Thread [EMAIL PROTECTED]
Disable caching
http://wiki.jboss.org/wiki/Wiki.jsp?page=CachingLoginCredentials

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

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


[jboss-user] [JBoss jBPM] - Re: how to get jBPM working without the starterkit

2006-12-16 Thread kukeltje
hmm... don't know what to think, let alone say, about that signatur, but  I DO 
kind of take that personal... should I ?

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

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


[jboss-user] [JBoss jBPM] - Re: Missing processdefinition after Jboss server restart

2006-12-16 Thread kukeltje
uhhmm... do you use the in-memory hsqldb?

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

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


[jboss-user] [Remoting] - Re: JBoss & Java 1.6 class loading issue?

2006-12-16 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBREM-651

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

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


[jboss-user] [JBoss jBPM] - Re: Jbpm on Tomcat 5.5

2006-12-16 Thread kukeltje
you most likely missed some libs on the jbpm scheduler classpath 

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Flushing credential cache upon EAR redeploy

2006-12-16 Thread [EMAIL PROTECTED]
Use an mbean service to flush the case in its destroy or stop method.


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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Bug in SecurityAssociation(?) - EJB3 MDB Calls a SLSB wh

2006-12-16 Thread [EMAIL PROTECTED]
The anonymous or configured run-as principal should be used the same as in the 
ejb2 mdb case. The current ejb3 security is being refactored to use a common 
and consistent codebase with the j2ee1.4 behaviors.

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-16 Thread mzeijen
I have been look through the current JBoss maven2 repository at 
http://repository.jboss.com/maven2. I have noticed that it isn't really 
maintained. I also have some remarks on the JBoss artifact structure within it:

1. Most JBoss artifacts have a groupId of 'jboss' and some 'org.jboss'.  
I.M.H.O this should be 'org.jboss'. The idea behind the groupId is the same 
idea behind packages of Java. You should use the domain of the creators of the 
library as groupId.

2. The current 1.01-GA artifacts (core, ui, debug) of seam have the groupId 
'jboss'. I.M.H.O this should be 'org.jboss.seam'. This groups the seam 
libraries within on group and makes it easier to find/maintain.

3. The current version used is 1.0.1-GA. This reflects the version that is used 
by JBoss itself. I am not so sure if it is a good id to use the GA within 
Maven2 versions. In Maven2 the -{code} behind a version number represents a 
qualifier. A qualifier is intended to indicate a version prior to a release. So 
the use of -alpha, -beta, -cr1, etc isn't a problem, but we probably shouldn't 
use the GA because Maven2 then doesn't see the library as a release. The GA  
could result in problems with the dependency management of Maven2.

Is there someone who I can contact about the Maven2 repository of JBoss?

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

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


[jboss-user] [JBoss Seam] - Re: Quartz TimerService

2006-12-16 Thread msduk
This worked fine for me. I have the quartz jar in the lib folder and I believe 
that was it. This is on 4.0.5 GA.

I noticed that I have jobs.xml, .properties and the xsd in my WEB-INF from an 
earlier attempt to run it the non-ejb way. Maybe it requires this?

@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = 
"cronTrigger", propertyValue = "0/15 * * * * ?") })
  | @ResourceAdapter("quartz-ra.rar")
  | 
  | public class TestQuartzTarget implements Job {
  | 
  | @PersistenceContext
  | EntityManager em;
  | 
  | private static final Logger log = Logger
  | .getLogger(TestQuartzTarget.class);
  | 
  | public PendingOrderQuartzTarget() {
  | super();
  | System.out.println("Quartz-bean is constructed()");
  | }
  | 
  | public void execute(JobExecutionContext jobExecutionContext)
  | throws JobExecutionException {
  | 
  | long start = System.currentTimeMillis();
  | 
  | log.debug(this.getClass().getName() + " STARTING RUN");
  | log.debug(em);
  | 
  | //Do your work here
  | 
  | log.debug(this.getClass().getName() + " FINISHING RUN");
  | log.debug("RUNTIME: " + (System.currentTimeMillis() - start) + 
" ms");
  | }
  | 
  | }

>From web.xml


  |  QuartzInitializer
  |  
org.quartz.ee.servlet.QuartzInitializerServlet
  | 
  |  
  |config-file
  |quartz-nrg2.properties
  |  
  | 
  |  
  |shutdown-on-unload
  |true
  |  
  | 
  |  
  |start-scheduler-on-load
  |true
  |  
  |  1
  | 

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Maixmum Open Cursors-Even After Closing them

2006-12-16 Thread Jbharath
Hi,
In my application we get a database error ORA-01000 ERROR eveb after closing 
the result set,stmt and connections in java code.we are using a connection pool.

1.can i solve this problem by decreasing the  parameter 
in -ds.xml file.

2.what will be side effect of this?will it affect the performance of tha 
application?

Please help me regarding this.

Regards,
B

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-16 Thread mzeijen
@ccanning: What did you do with the thirdparty-all.jar? Did you simply make it 
a dependency or did you unravel it in multiple dependencies? 

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

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


[jboss-user] [JBoss/Spring Integration] - Re: EJB3 SLSB from Spring MVC

2006-12-16 Thread alesj
Try Spring forum.
JBoss/Spring integration deals with different topic.

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Spring deployer + cluster

2006-12-16 Thread alesj
anonymous wrote : Does the applicationcontext get registred under jndi?

Yes.
This is the code that does it (AbstractBeanFactoryLoader class):
NonSerializableFactory is used, since we don't want to impound Serializability 
to all of our beans.


  | // JNDI stuff
  | 
  |public static void bind(BeanFactory beanFactory, String name) throws 
BeansException
  |{
  |   InitialContext ctx = null;
  |   try
  |   {
  |  ctx = new InitialContext();
  |  NonSerializableFactory.rebind(ctx, name, beanFactory);
  |   }
  |   catch (NamingException e)
  |   {
  |  throw new FatalBeanException("Unable to bind BeanFactory into 
JNDI", e);
  |   }
  |   finally
  |   {
  |  if (ctx != null)
  |  {
  | try
  | {
  |ctx.close();
  | }
  | catch (Throwable ignored)
  | {
  | }
  |  }
  |   }
  |}
  | 

anonymous wrote : Would it mean that using a cluster jndi I would have a single 
bean shared through the cluster

Hmm ... never tried it. But you can probably try HAJndi.

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

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


[jboss-user] [JBoss/Spring Integration] - EJB3 SLSB from Spring MVC

2006-12-16 Thread leetgeezer
Hello,

I am designing an app using Spring MVC + EJB3. Both Web and EJB modules get 
packaged into MyApp.ear and deployed into JBoss 4.0.5GA. Currently, to 
reference the stateless session bean (local if.) from one of the Controllers, I 
say:


  | InitialContext ctx = new InitialContext();
  | userService = (UserService) ctx.lookup(
  | "MyApp/UserServiceBean/local");
  | 

What I don't like, however, is that this method relies on 
"MyApp/UserServiceBean/local" string (What if, say, MyApp name changes?)

My question is: is there any better way (DI?) to reference the stateless 
session bean locally? I checked Spring's LocalStatelessSessionProxyFactoryBean 
but it appears that it applies to EJB 2.1 (Home IF's & stuff). Does @EJB or 
@Resource apply here?

Regards,
Leet Geezer

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

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


[jboss-user] [JBossCache] - Re: Buddy Replication and data consistency

2006-12-16 Thread mica
Is it for efficiency or corectness reasons?
i can imagine put with auto gravity option on as an atomic operation of 
subsequently:
get() resulting in gravity of data
put() performed 'locally'
than according to my understanding the get() has to remove the node from other 
servers when the dataGravitationRemoveOnFind set on true - that's where the 
question about the difference between INVAL and REPL came from.

Yet what if I invoke concurrently get() on 2 or more servers. Do I have any 
guarantees that at the end I will have only one main copy of the node?

-- 
cheers,
mj


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

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


[jboss-user] [JBoss jBPM] - Re: problem in jbpm1.3.2 with oracle9i backend

2006-12-16 Thread vamsikirankumar.k
Hi 
I am begginer to the jbpm I want to replace my hsql-db to oracle-db i have done 
all configurations that are specfied in the documentation but i am getting 
Datasource not found and EntityMedia(jndi-name) not bound errors while running 
the server.I am unable to download u r Zip file.Help me pls.


Thanks
vamsikirankumar.

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

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


[jboss-user] [EJB 3.0] - Re: ClassCastException when casting to remote interface

2006-12-16 Thread santosh291
Hello, I ran into a similar problem few days ago, and the issue was with 
packaging the ear, there were some class files copied incorrectly.

How are you packaging your ear? can you list the contents?

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

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


[jboss-user] [EJB/JBoss] - Re: Class.cast.Exception when Accessing a Session bean on 4.

2006-12-16 Thread santosh291
how are you packaging the ear? can you list the contents?

i ran into a similar problem few days back, and the problem was that there were 
class files copied incorrectly during packaging the ear

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

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