[jboss-user] [JBoss jBPM] - Re: JBPM 3.1 console
Yes, i am talking about the JBPM console. The one which has default users like bert...cookie monster. Not sure how you can enable password authentication using web.xml. Would appreciate if you could elaborate more on this. Also, i am not sure how you can use default JSF for rendering the HTML components. Thanks in advance Subodhc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055009#4055009 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055009 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Which certification should I take ?
Hello, I'm a student in computer science and want to be jboss certified. Which certification is the best for me (I want to have a developper certification and especially for creating webservice and EJB) ? How much does it cost ? Is the price cheaper for a student ? Is there books for preparing the certification ? If yes which one ? Thanks for giving me some explanation or links. @+ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055011#4055011 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055011 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Getting Exception - Cannot insert explicit value for identit
Good Morning, I am trying to use EJB 3 with jboss4.0.5. Ran into a (simple I hope problem). Defined a very simple class that displays a few rows from the database. I am using SQL 2000 and my Primary Key is an Identity column. When I try to add a row it attempts to insert a value into the key column as well which of course does not work: com.inet.tds.SQLException: [DB3]Cannot insert explicit value for identitycolumn in table 'Address' when IDENTITY_INSERT is set to OFF. I tried annotating the column both as: @Id and also as: @Id @GeneratedValue(strategy=GenerationType.AUTO) but got the same error. I am using jboss4.0.5 by the way. Can someone direct me in the right direction please? Regards, Ruchika View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055012#4055012 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How do I extend MessageInterpolator?
Sorry if this is not the right forum, but I couldn't find a dedicated Hibernate Validator forum. In my application, I have validation on a field which changes dynamically, at runtime. Thus, the error message displayed to the customer needs to be dynamic as well. This means that I cannot use a ResourceBundle. The reference docs state that I can extend MessageInterpolator and refers to the JavaDocs, but the JavaDoc has next to no documentation. I have tried to debug my way through all this, but I am not getting very far. So far I have deduced (probably incorrectly) that I need to register the MessageInterpolator with the property hibernate.validator.message_interpolator_class, and I (think) I have done so. However, its interpolate method is never called. I am using JBoss Seam, and have registered it in persistence.xml by adding the following: property name=hibernate.validator.message_interpolator_class value=com.x.x.x.BBMessageInterpolator/ | Can anybody shed some light on how to actually get the extended MessageInterpolator to be used? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055013#4055013 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055013 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Using Context externally returns error related to TRACE logg
Hi, I have an EJB3 application running on JBoss 4.2.0-GA. Externally, from my Eclipse, I built successfully an Initial context. When I try a lookup on the Context, I get the following exception: | Exception in thread main java.lang.NoSuchFieldError: TRACE | at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85) | at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:620) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(Unknown Source) | | | I have got jbossall-client and all the other relevant libraries in my path. I'm also using JDK6. Could this be the reason? | | Regards | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055014#4055014 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055014 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Getting Exception - Cannot insert explicit value for ide
Also with somebody'd suggestion i changed my code to the following -- @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = id, nullable = false) private Integer cNo; -- But now am getting errException Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]'last_insert_id' is not a recognized function name. Any suggestions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055015#4055015 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055015 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - DataModel refresh
Hi all, I have problem with this scenario. I have a list action which load the entities and display it in dataTable. The backing bean looks like this: | @Name(componentLayoutListAction) | public class ComponentLayoutListAction { | @In | Session ses; | | @In(create=true) | Configuration configuration; | | @Logger | Log log; | | | @DataModel | ListComponentLayout componentLayoutList; | | @SuppressWarnings(unchecked) | @Factory(componentLayoutList) | public void init() { | | componentLayoutList = ses.createCriteria(ComponentLayout.class) | .add(Restrictions.eq(lang, configuration.getLang())).list(); | log.info(loaded component list#0, componentLayoutList); | | } | | public void reset() { | log.info(reseting); | componentLayoutList = null; | } | } | From the list I have add action (or update) which add or remove children from the entity listed in previous action. After update is browser redirected to the list action (back), but there is problem, that the children count doesn't change. If I click on menu and invoke the list action again the good results are rendered. the edit.page.xml | page view-id=/admin/actions/componentlayout/edit.xhtml | navigation | rule if-outcome=updated | redirect view-id=/admin/actions/componentlayout/list.xhtml / | /rule | /navigation | /page | Know somebody where could be a problem ? Thanks Mila View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055016#4055016 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Transaction Demarcation
When you call a method from within a session bean on the same bean, you have to call it using the interface (if you want transaction attributes to work, and any other interceptors). You are probably calling on 'this' at the moment, which means the container doesn't get a chance to do its magic. You can use the SessionContext (ejb api) to get the interface, and make the call on that. The sessioncontext can be injected (if i recall correctly, put @Resource at the field). Then, getBusinessObject should do the trick. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055018#4055018 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055018 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Getting Exception - Cannot insert explicit value for ide
Also i am connecting to SQL sever 2000 My persistence.xml is ?xml version=1.0 encoding=UTF-8? persistence-unit name=shoestringPU jta-data-sourcejava:/SCMSSQLDSS/jta-data-source com.j3ltd.server.entities.Person com.j3ltd.server.entities.Address /persistence-unit I am using SQL Server2000, but am using org.hibernate.dialect.MySQLDialect in persistence.xml I am not sure if that is an issue? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055019#4055019 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055019 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Maven 2 plugin?
Thank you. This is great! It´s very hard to work on JBoss technologies (AOP, MC, AS, Cache,...) due to a lack on documentation. More when it comes to a version upgrade. There are lot of projects working with these JBoss subprojects, and doing their builds through maven2, so it´s very important for these people being able to set up their build systems easyly. There is a lack for a good JBoss artifacts repository, but that is subject of another thread. Thank you again for letting us people migrate from AspectJ to JBossAOP in the JBossAS environment. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055021#4055021 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055021 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Using Context externally returns error related to TRACE
Found the problem. I was using log4j 1.2.8 in the classpath, whereas I should have used log4j-boot.jar under %JBOSS_HOME%/lib View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055022#4055022 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055022 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem with: jbpm:processimage task=
When i use the tagjbpm:processimage task=${task.taskInstanceId} /in my jsp page, i've the image of my map on my webPage, but the red stripe oround the node is in other position. why? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055023#4055023 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055023 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Help : seamdisc problem
Hi, I am very curious to see how richfaces and trinidad run together but example seamdiscs from Seam1.3.0.Alpha does not work correctly on AS 4.2 by me: all rich components on pages can not be rendered...need help. thanx. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055024#4055024 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055024 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Module name included in Global JNDI name of SB???
Hi, I built an ear application which internally contains an EJB3 module. The ear file is named: jemos-ejb3-ear-1.0.0 I also defined a SLSB with just the @Stateless annotation (but the same happens also if I specify the name or mappedName. When I look at the Global JNDI name, I can see the following: | +- jemos-ejb3-ear-1.0.0 (class: org.jnp.interfaces.NamingContext) | | +- EmployeeSB (class: org.jnp.interfaces.NamingContext) | | | +- remote (proxy: $Proxy77 implements interface uk.co.jemos.ejb3.sessions.EmployeeService,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject) | | | So the only way I can get a reference to the SLSB from an external client, once obtained the InitialContext, is to perform a lookup like: | | EmployeeService service = | (EmployeeService) context.lookup(jemos-ejb3-ear-1.0.0/EmployeeSB/remote); | | Now this in my opinion looks ugly. I'd like to have only EmployeeSB/remote instead of specifying the ear name (also because the version number changes!!) | | What's the way of doing this? | | Regards, | | | | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055025#4055025 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Getting Exception - Cannot insert explicit value for ide
I used And my problem is resolved :) Thanks All :) Regards, Ruchika View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055026#4055026 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055026 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Module name included in Global JNDI name of SB???
Ok, solved with Jboss annotation @RemoteBinding View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055027#4055027 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to install the jbpm-jpdl-suite-3.2.GA on linux?
[EMAIL PROTECTED] wrote : There are some special switches in jBPM making sure that it doesn't run on Ubuntu... :-p | | No seriously, I also experienced that some of the build scripts are not running on linux as I switched to Fedora 7 recently. Here is the manual process: | | - extract the jbpm-jpdl-suite-3.2.GA bundle in your preferenced folder. you'll see the newly created jbpm-jpdl-3.2.GA folder which I call ${JBPM_HOME}. | | - extract the correct Eclipse version (e.g. 3.2.1) in the folder ${JBPM_HOME}/designer. | | - make sure all the extracted scripts are executable: | [EMAIL PROTECTED] ~]$ chmod 755 ${JBPM_HOME}/server/start.sh | | [EMAIL PROTECTED] ~]$ chmod 755 ${JBPM_HOME}/server/bin/run.sh | | - start the server with the command ${JBPM_HOME}/server/start.sh | | - start the designer with the command ${JBPM_HOME}/designer/eclipse/eclipse -data ${JBPM_HOME}/designer/workspace | | | You could create a start.sh script in the ${JBPM_HOME}/designer folder containing the above command. Use ${JBPM_HOME}/designer/start.bat as the example. | | Regardss | Koen Thanks for the reply. When I launch Eclipse with ${JBPM_HOME}/designer/eclipse/eclipse -data ${JBPM_HOME}/designer/workspace I am unable to create JBPM project. Do I need to do something else to enable the gpd? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055028#4055028 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Please Help! Error with db column definition
My application platform is a Apache2.2 JBoss4.05 SQL Server 2005 EJB3 pattern. Ever since I made the following amendment to my code I have had the following error: javax.persistence.PersistenceException: org.hibernate.MappingException: Could not determine type for: com.manticpoint.stream.data.BookingPassenger, for columns: [org.hibernate.mapping.Column(leadPassenger)] Here is the code in question: Before change was made: | public class BookingPassenger { | | private long id; | private String emailAddr; | private boolean leadPassenger | //more properties here | | //more methods here | @Column(name = LEAD_PASSENGER) | public boolean isLeadPassenger() { | return leadPassenger; | } | | public void setLeadPassenger(boolean leadPassenger) { | this.leadPassenger = leadPassenger; | } | } | And after the change was made: | public class BookingPassenger { | | private long id; | private String emailAddr; | private Boolean leadPassenger | //more properties here | | //more methods here | @Column(name = LEAD_PASSENGER) | public Boolean getLeadPassenger() { | return leadPassenger; | } | | public void setLeadPassenger(Boolean leadPassenger) { | this.leadPassenger = leadPassenger; | } | } | The reason for the above change is that I realised that I had accidently used 'boolean' instead of 'Boolean' and therefore my auto generated getter and setter were for the 'boolean' definition. Unlike my other data classes which use 'Boolean' and work just fine. Database = SQL server 2005 and the LEAD_PASSENGER column definition is tinyint. Nothing I have tried seems to get rid of this error, including removing the leadPassenger property and corresponding db column completely. In persistence.xml I have tried changed the hibernate.hbm2ddl.auto value from 'validate' to 'update', 'create' and 'create-drop', but to no avail. It seems to be caching or remembering the fact that I had this properties somehow. From the digging I have done so far it seems that this error occurs on classes in a one to many relationship, on the property which links to the other entity in the relationship. My BookingPassenger class is in a one to many relationship from another class Booking, but the leadPassenger property that is giving me grief is unrelated to that relationship. Any help would be much appreciated. Cheers Duncan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055029#4055029 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055029 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Can't use generics for abtract methods
Hi all! | public abstract class AbstractClassE { | | public ListE doSomething(E e) { | | return doInConcreteClass(e); | } | | public abstract ListE doInConcreteClass(E e); | } | | @Name(concreteClass) | public class ConcreteClass extends AbstractClassString { | | public ListString doInConcreteClass(String e) { | System.out.println(e); | } | } | | Having somthing like this, I get: javassist.CannotCompileException: duplicate method: ... I think I read somewhere, that this was a bug in javaassist which has been fixed by now. Looks like Seam 1.2.1 is using an older version. My question: Will javaassist be updated in 1.3.0? Or is there a way - like in hibernate - to use cglib instead? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055031#4055031 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055031 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Unable to set JBoss server from within Eclipse.
Please help me in solving the error I am getting. Please refer to the explanation below: The have installed the following: JAVA SDK: 1.5.0_12 Eclipse: 3.2.2 JBOSS: 4.2.0 JBOOS Plug-in for Eclipse: 1.6.0.GA In Eclipse, when I go to RUN - Debug..I see JBoss2.4.X to JBoss 4.0.x I don't see JBoss 4.2.X. Should I select 4.0.x? If I select any on the JBoss2.4.X to JBoss 4.0.x, I get the following error: Problems occurred when invoking code from plug-in: org.eclipse.jface. java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/debug/ui/launcher/JavaLaunchConfigurationTab at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:501) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:471) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:430) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:413) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189) 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(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at org.jboss.ide.eclipse.launcher.ui.configuration.jboss.JBoss24xTabGroup.createTabs(JBoss24xTabGroup.java:58) 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.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog$2.run(LaunchConfigurationsDialog.java:526) at org.eclipse.debug.ui.AbstractDebugView.doubleClick(AbstractDebugView.java:729) at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:796) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:843) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149) at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:794) at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1227) at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1158) at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:223) at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:220) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:281) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) 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.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:80) at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:99) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254) at
[jboss-user] [EJB 3.0] - java.lang.NoClassDefFoundError: org/jaxen/VariableContext
I am getting the following error after a few minutes of inactivity with JBoss 4.0.5GA and Seam 1.2.1 GA javax.ejb.EJBException: Could not passivate; failed to save state at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:363) at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:196) at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:129) Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) at
[jboss-user] [JBoss Seam] - Re: DataModel refresh
Have you tried a page action to reset the componentLayoutList when the page is load? Something like this: | | page view-id=/admin/actions/componentlayout/list.xhtml action=#{componentLayoutListAction.reset} | /page | | HTH View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055040#4055040 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055040 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Properly using a OneToMany relationship using EJB 3.0
I am getting the infamous: org.hibernate.LazyInitializationException: failed to lazily initialize a collection, no session or session was closed I get this when trying to access the one to many relationship. I am using JBoss 4.0.5 with ejb3.0. I have done an exhaustive search on how to fix this problem and understand that I don't have an ongoing session or something like that. What I can't find is a way to solve the problem. I would like to do this without using hibernate specific annotations or code, but at this point I am open to anything to get my project moving forward. What do I need to do to handle this properly? Is there a tutorial that can show me how to do this (I can't seem to find one). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055041#4055041 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055041 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Help : seamdisc problem
Yes I'm working with the Richfaces/Ajax4jsf guys to get this working for 1.3.0.BETA1 - sorry about that! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055043#4055043 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055043 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Page scope, SERVER state sav, etc - clear explaination fo
1. page-scoped beans can't have destroy methods, sorry. It simply can't be implemented. 2. it always works exactly like JSF components, no matter what setting you have. 3. yes, Seam works. We usually use client-side state saving in the examples because myfaces has bugs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055045#4055045 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055045 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - problem looking up my session ejb
H i! i've been experimenting issues for a week while trying to access my session ejb (MediasBean, implements Media) from a jsp page. deployment is successful thought. the jboss server is on my local machine as well as the mysql database in which data is persisted. this is the error message i encounter at the address http://localhost:8080/medias/index.jsp : anonymous wrote : | 21:48:27,747 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 21:48:28,090 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=medias-beans.ejb3,name=MediasBean,service=EJB3 with dependencies: | 21:48:28,090 INFO [JmxKernelAbstraction] persistence.units:jar=medias-beans.ejb3.jar,unitName=hpdb | 21:48:28,246 INFO [EJBContainer] STARTED EJB: org.jboss.projectland.MediasBean ejbName: MediasBean | 21:48:28,331 INFO [EJB3Deployer] Deployed: file:/home/ark/jboss-4.0.5.GA/server/default/deploy/medias-beans.ejb3 | 21:48:28,339 INFO [TomcatDeployer] deploy, ctxPath=/medias, warUrl=.../tmp/deploy/tmp6640medias-exp.war/ | 21:48:47,581 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception | javax.naming.NameNotFoundException: org.jboss.projectland.MediasBean not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) | at org.jnp.server.NamingServer.getObject(NamingServer.java:543) | | here is the jsp code : anonymous wrote : | %@ page import = javax.naming.Context % | %@ page import = javax.naming.InitialContext % | %@ page import = java.util.Properties % | %@ page import = org.jboss.projectland.* % | !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN | | | meta http-equiv=Content-Type content=text/html; charset=UTF-8 | TEST | | | % | Context ctx=new InitialContext(); | Medias medias = (Medias) ctx.lookup(MediasBean.class.getName()+/remote); | % | here is my MediasBean code : anonymous wrote : | package org.jboss.projectland; | import javax.ejb.Remote; | @Remote | public interface Medias { | public Type_media addTypeMedia(String name); | public Media addMedia(Type_media typeMedia,String mediaName); | ... | } | | jndiview in jboss returns : anonymous wrote : | ... | +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory) | +- UILConnectionFactory[link - ConnectionFactory] (class: javax.naming.LinkRef) | +- MediasBean (class: org.jnp.interfaces.NamingContext) | | +- remote (proxy: $Proxy73 implements interface org.jboss.projectland.Medias,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject) | +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair) | .. | i can't figure out what's going wrong .. thought i searched a lot . can you help me ? thanks in advance and keep up the good work. christophe View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055046#4055046 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055046 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Page scope, SERVER state sav, etc - clear explaination fo
Thank you for your answers, Gavin. I just need a clarification for you answer to 1. 1. That simply means that Page-scoped beans are abandoned after INVOKE_APPLICATION-INVOKE_APPLICATION form submission, and in case of SERVER state saving they are just immediately ready for Garbage Collector to be collected? Regards, Przemek. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055048#4055048 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055048 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.3.0.ALPHA UI example doubt
Using a managed rather than detached entity causes the UOE to go away. @Name(personAction) | @Scope(ScopeType.CONVERSATION) | public class PersonAction { | | @In(create=true) | private EntityManager entityManager; | | private Person person; | | private Integer id; | | | @Transactional | public String update() { | entityManager.joinTransaction(); | //entityManager.merge(person); | entityManager.flush(); | return Success; | } | | @Transactional | public Person getInstance() { | if (person != null entityManager.contains(person)) { | return person; | } else { | entityManager.joinTransaction(); | person = entityManager.find(Person.class, id); | return person; | } | } | | public Integer getId() { | return id; | } | | public void setId(Integer id) { | this.id = id; | } | | } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055050#4055050 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055050 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Page scope, SERVER state sav, etc - clear explaination fo
They are dereferenced when the rest of the JSF component tree is deferenced. They are just UIViewRoot attributes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055049#4055049 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055049 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam 1.3.0.ALPHA entity converter: The instance was not asso
Hello! Seam 1.3.0.ALPHA gives me the following exception: | org.hibernate.TransientObjectException: The instance was not associated with this session | at org.hibernate.impl.SessionImpl.getIdentifier(SessionImpl.java:1375) | at org.jboss.seam.persistence.HibernatePersistenceProvider.getId(HibernatePersistenceProvider.java:51) | at org.jboss.seam.framework.EntityIdentifier.init(EntityIdentifier.java:15) | at org.jboss.seam.ui.EntityConverterStore.put(EntityConverterStore.java:61) | at org.jboss.seam.ui.EntityConverter.getAsString(EntityConverter.java:68) | | I can only guess what happens: For performance reasons I have a factory that outject the result of an entity query into the user's sessions, so the db is hit only once per session. Everthing work well the first time, but the second time I hit that page - in a completly new conversation - the entities in that cached list are not associated with the current entitymanager anymore and the mentioned exception is thrown. Not sure if I am doing something wrong here but this used to work in Seam 1.2.1.GA. Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055051#4055051 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055051 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.3.0.ALPHA entity converter: The instance was not
Yeah, the way I reimplemented it requires that the entities you feed to the entityconverter are managed. I updated the docs to reflect this. File a JIRA issue and I'll see if I can work around this (won't be for 1.3 though) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055052#4055052 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam security problem
Hi, I have seam app, with folder /myApp/pages/ restricted like: | page view-id=/pages/* | restrict#{identity.loggedIn}/restrict | navigation from-action=#{myAction.myMethod} | redirect view-id=/main_page.xhtml/ | /navigation | page access is secured but if i write: http://localhost:8080/myApp/pages/ I see all of files and folders. How can I prevent this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055053#4055053 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055053 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - JBoss 4.2 ejb not bound
Hi, My JEE app contains a simple ejb session. When I deploy the EAR on JBoss the console says: [EjbModule] Deploying Calc 00:46:30,578 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'Calc' to jndi 'env/ejb/CalcLocalHome' 00:46:30,578 INFO [ProxyFactory] Bound EJB Home 'Calc' to jndi 'env/ejb/CalcHome' But when I try a lookup I get an ejb not bound exception. And my ejb is not listed in the JNDiView: Ejb Module: Calc.jar java:comp namespace of the Calc bean: +- env So, it is not bind. I do not understand. Could someone help please? Stephane View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055056#4055056 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055056 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Session Bean deployment pool
Hi - I would like to turn a session bean into a singleton by making it's pool size 1. I have looked at the jboss.xml and am having trouble doing this. Does anyone have any ideas. Thanks, doug View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055057#4055057 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055057 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Import interceptor problem
When adding an interceptor that resides in a library - a jar in server/lib - i get TypeNotPresentExceptionProxy error. application A have annotated classes to use interceptor class application B have an interceptor class and export it in a jar to the AS some idea about what is wrong here? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055059#4055059 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055059 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: how to know how many Users accessed a particular portlet
In 2.6 we expose values such as number of rendering, bumber of actions, number of errors as mbeans (that can be read graphically with JBoss ON). This wasn't a feature of 2.4 AFAIR. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055060#4055060 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Authentication
What are you trying to achieve ? Why did you change login-config.xml ? You should have a look at the JBoss Portal documentation, using the database is the default behavior, you have nothing to change. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055061#4055061 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055061 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: how to remove the
/sec/ is here to specify that this must be using https so if you type: http://localhost:8080/portal/sec/portal it redirects to: https://localhost:8080/portal/sec/portal You cannot remove it without removing the ability to use https. (You could rename it to whatever you want though) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055062#4055062 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055062 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: probleme with
Beware, you are using a lot of Internal API, your code can easily break on future releases of JBoss Portal. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055063#4055063 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Need help with Iframe portlet.
we would need more to help you on this, stack trace ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055064#4055064 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Authentication using system username and password
The blog also contains valuable information: http://jbossportal.blogspot.com/search/label/ldap http://jbossportal.blogspot.com/2007/06/ldap-support-tutorial-for-jboss-portal.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055065#4055065 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: problem looking up my session ejb
anonymous wrote : +- MediasBean (class: org.jnp.interfaces.NamingContext) | | +- remote (proxy: $Proxy73 implements interface org.jboss.projectland.Medias,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject) anonymous wrote : Medias medias = (Medias) ctx.lookup(MediasBean.class.getName()+/remote); | Change your lookup code to: Medias medias = (Medias) ctx.lookup(MediasBean/remote); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055066#4055066 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055066 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: This request requires HTTP authentication (). Error
we would need more info to be able to help you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055067#4055067 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055067 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JBoss 4.2 ejb not bound
Without looking at your configuration files and the EJB/lookup code, i am just guessing that your bean is bound to the Global JNDI namespace, by the jndi name env/ejb/CalcHome (the remote home) and env/ejb/CalcLocalHome (for the local home). So if you are looking up the remote interface then your lookup code should look like: Context ctx = new InitialContext(); | //remote bean lookup | Object obj = ctx.lookup(env/ejb/CalcHome); | CalcHome home = (CalcHome) PortableRemoteObject.narrow(obj,CalcHome.class); | //create the remote bean | bean = home.create(); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055068#4055068 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055068 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam security problem
You need to disable directory browsing in your web container. Keep in mind that an entry in pages.xml ONLY protects resources that go through Faces Servlet. It will not protect resources on the server (directory listings/static files) that aren't served through it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055069#4055069 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam security problem
You need to disable directory browsing in your web container. Keep in mind that an entry in pages.xml ONLY protects resources that go through Faces Servlet. It will not protect resources on the server (directory listings/static files) that aren't served through it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055069#4055069 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam security problem
You need to disable directory browsing in your web container. Keep in mind that an entry in pages.xml ONLY protects resources that go through Faces Servlet. It will not protect resources on the server (directory listings/static files) that aren't served through it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055070#4055070 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055070 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Help with MDB + Seam + jBPM - transaction issue?
This is now fixed in CVS, please try it out for me, thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055071#4055071 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055071 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Embedded Jboss Settings for 1.3.0.Alpha
I think Gavin is working on the docs for this but I thought it would be good to go ahead and work through the embedded stuff. After checking out the latest code from cvs, building then adding to my project, I have a few questions about getting Embedded Jboss working... What beans should we be loading in the web.xml here (and how to do it): context-param | param-namejboss-kernel-deployments/param-name | param-valuebootstrap-beans.xml/param-value |/context-param or should we still be using the old RC9 stuff? context-param | param-namejboss-kernel-deployments/param-name | param-valueembedded-jboss-beans.xml,jboss-jms-beans.xml/param-value |/context-param | and should we still use this when loading ejbs from a war (aka Jetty/Tomcat/etc) listener | listener-classorg.jboss.ejb3.embedded.ServletBootstrapListener/listener-class | /listener I've tried a ton of different combos, checked out the embedded-jboss src and looked through every web.xml in the project but I couldn't find anything specific to my jetty(standalone war) needs. Soo, I think I got the closest when I added bootstrap-beans.xml as a kernel-deployment value and I got this stack trace: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/C:/dev/freedom/ejb/target/classes/bootstrap-beans.xml | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:125) | at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:114) | at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:81) | at org.jboss.ejb3.embedded.ServletBootstrapListener.deployXmlResource(ServletBootstrapListener.java:74) | at org.jboss.ejb3.embedded.ServletBootstrapListener.contextInitialized(ServletBootstrapListener.java:174) | at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) | at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) | at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) | at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) | at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147) | at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161) | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147) | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) | at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) | at org.mortbay.jetty.Server.doStart(Server.java:220) | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) | at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132) | at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:345) | at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:286) | at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:204) | at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183) | at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) | at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) | at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) | at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at
[jboss-user] [JBoss Portal] - Re: The CMS fail when deploy JBoss-Portal-ha-2.6-RC2 on a cl
maiky wrote : I've got the same error. | | I download the jdbc connector for oracle 10 (i've got oracle 9i) and replace the 9's version in ma lib folder. | After that I don't have the error. | | I read it on a forum but I don't rememeber where. | | PS: Sorry for my bad English. It don't work either. I've tried the following hibernate config in portal: org.hibernate.dialect.Oracle9Dialect 0 It don't work either!! Is this a bug of jboss-portal-ha-2.6 RC2 ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055076#4055076 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055076 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Embedded Jboss Settings for 1.3.0.Alpha
The new stuff is very much changed from the old embeddable ejb3 container. It's expected that you install a single instance of embedded jboss into your servlet engine, instead of packaging it as part of the war. For Tomcat, the instructions are here: http://wiki.jboss.org/wiki/Wiki.jsp?page=EmbeddedAndTomcat For Jetty, we probably need to add some Jetty-specific integration code. I will point Bill at this thread. [/url] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055077#4055077 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055077 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Can't use generics for abtract methods
Yes, Javassist in CVS now has been updated to a 3.5 build from about February. Your example worked fine for me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055078#4055078 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055078 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - insert vs update in CacheLoader
Hi, I'm using jboss cache 1.4.1.SP3 and implementing a custom cache loader (that uses a database). How can I tell when a new node is inserted and when an existing node is updated? Right now the only way I found is to query the database for the node's record. I need this information in order to decide whether to do an INSERT or an UPDATE. But this extra SELECT query is clumsy and should be redundant. How can I get rid of it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055081#4055081 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055081 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Can I use JWSDP 1.6 tools and runtime with JBoss 4.0.5 GA ?
Hi, I am currently using JBoss AS 4.0.3SP1 and use (as a client), web services, whose WSDLs are compiled via wscompile in JWSDP 1.6. That works fine. Those WSDLs I use are supplied by a 3rd party, over whom I have no control, and who use the RPC encoded style extensively. I previously tried to use WSTools to compile the WSDLs, but had problems at runtime due to insufficient support for the RPC encoded style in the new JBoss WS SOAP stack. I need to move to 4.0.5 GA for a range of other reasons, and this is currently the stumbling block. It there any way I can retrofit the Sun JWSDP runtimes into JBoss 4.0.5 GA ? If so, are there any steps posted for this retrofit, or can anyone guide me in what I would need to do ? Thanks Andrew View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055082#4055082 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055082 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - MySQL Cluster (ndb) supported?
Hi, We are using JBoss 4.2.0.GA with JBM 1.3.0.GA and have successfully tested MySQL 4.0.22 and MySQL 5.0.x as the persistent storage. Is MySQL Cluster supported? When we try using a MySQL cluster (5.0.37; 2 nodes), JBMUserManager fails to start due to a duplicate key violation for the base dilbert user. Although the single instance MySQL's have the same violation, only the cluster returns an aborted state exception: | 2007-06-15 14:16:37,865 ERROR [org.jboss.messaging.util.ExceptionUtil] [EMAIL PROTECTED] startService | javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1267) | 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.messaging.core.plugin.JDBCSupport$TransactionWrapper.end(JDBCSupport.java:353) | at org.jboss.jms.server.plugin.JDBCJMSUserManager.insertUserRoleData(JDBCJMSUserManager.java:203) | at org.jboss.jms.server.plugin.JDBCJMSUserManager.start(JDBCJMSUserManager.java:100) | at org.jboss.jms.server.plugin.JDBCJMSUserManagerService.startService(JDBCJMSUserManagerService.java:78) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 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.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 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.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(NativeMethodAccessorImpl.java:39) | 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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at
[jboss-user] [JBoss Seam] - can JBSEAM-1443 be included in 1.3?
Hi Gavin team, I submitted a patch allowing slightly more extensive testing of navigation rules. (http://jira.jboss.com/jira/browse/JBSEAM-1443). Could you evaluate it and include it in 1.3? It'd be helpful. Thanks. -Matt View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055084#4055084 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055084 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - DataBase connectivity error with Seam
we try to connect oracle 10 with seam in eclipse-exadel wew getting the folloowing error can any one say why this error occuring javax.servlet.ServletException: Error calling action method of component with id _id6:_id16 org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:58) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) thanking you regards kaviarasu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055085#4055085 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055085 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: can JBSEAM-1443 be included in 1.3?
I just committed something similar invokeAction(#{}) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055086#4055086 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055086 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: ClassNotFoundException when class is present in WEB-INF/
Hi Sohil, I tried doing true, but this is even more catastrophic: I have cas.war (http://www.ja-sig.org/products/cas/) deployed on my JBoss Portal, for SSO. It has common-logging and log4j JARs. If I make above to true, then following is coming while server startup: 11:03:49,083 INFO [PortletAppDeployment] Parsing jboss-portlet.xml/portal-core 11:03:50,005 INFO [TomcatDeployer] deploy, ctxPath=/cas, warUrl=.../deploy/cas.war/ 11:03:51,036 INFO [[/cas]] Initializing Log4J from [classpath:log4j.properties] ERROR: invalid console appender config detected, console stream is looping See this: http://www.jboss.com/index.html?module=bbop=viewtopict=111078 And the start up halts :( So I never reach to the point where my original problem starts. Thanks Regards, Advait View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055088#4055088 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055088 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released
I installed JBossIDE-JBossCacheIDE-nodeps-2.0.0.Beta2 but I can't seem to do anything with it. I tried setting up a local cache with my own configuration, but it failed with an NPE (and NO stack trace), and the remote cache config seems to require JNDI, but I'm not using anything like that (it's just a standalone app). How can I use this plugin?! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055090#4055090 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: java.lang.VerifyError
Hi All, Thanks for all your response. The problem is gone, after I update the following files to eclipse plugin for jboss ide : - /lib/javassist.jar - /deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar - /deploy/jboss-aop-jdk50.deployer/trove.jar the plugin for jboss ide is in : {ECLIPSE}\plugins\org.jboss.ide.eclipse.jdt.aop.core_1.2.0.Beta2\ Regards, Ferry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055092#4055092 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055092 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user