[jboss-user] [JBoss Tools (users)] - 2.0.1beta ?
http://jira.jboss.com/jira/browse/JBIDE?report=com.atlassian.jira.plugin.system.project:roadmap-panel shows that a lot of bugs are fixed. Will a public beta be available? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125836#4125836 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125836 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - How to configure EJB3 for JBoss 4.x for MyEclipse
hi all has anyone managed to runa simple ejb3 example using MyEclipse for Jboss 4.x. I have problems in configurations of Jboss to run ejb3. many thanks Amir View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125835#4125835 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @DataModel vs. EL
After all that I have read, it makes no difference whether the logger is static or not. I didn't try that yet, but I will. But I don't think that this is the problem here, because the status messge from finishEditing is shown correctly (which does not solve the problem that the object isn't merged to the database. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125834#4125834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125834 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: why commit twice?
what shows me in pages is anonymous wrote : kokyaku 11already exist kokyaku 11already exist and i retrieve my message like this | | also in console anonymous wrote : |14:54:38,546 INFO [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed. | sourceId=kokyaku:kokyakuCdDecoration:kokyakuCdCreate[severity=(ERROR 2), summary=(å¤ã¯忠é Âã§ãÂÂ), detail=(å¤ã¯忠é Âã§ãÂÂ)] | 14:54:54,671 INFO [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed. | sourceId=kokyaku:kokyakuCdDecoration:kokyakuCdCreate[severity=(ERROR 2), summary=(å¤ã¯忠é Âã§ãÂÂ), detail=(å¤ã¯忠é Âã§ãÂÂ)] | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125832#4125832 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125832 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - why commit twice?
when i create a object using id whick is already in database when i press the create button i check if it exists,but i got my message age,why | try { | | Kokyaku k = (Kokyaku) getEntityManager().createQuery( | "select k from Kokyaku k where k.kokyakuCd = :id") | .setParameter("id", this.instance.getKokyakuCd()) | .getSingleResult(); | if (k != null) { | FacesMessages.instance().add( | "kokyaku " + this.instance.getKokyakuCd() + "already exist"); | isSuccess = false; | } | | } catch (NoResultException ex) { | } | | i see in other posts it seems there is something like tx1,tx2,but i can't find anything about this transaction behaviour in reference. anyone helps me View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125831#4125831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to define a task that can auto complete when the actorId
Hi, every one. I have a process definetion like this: Task1 -> Task2 -> Task3 -> -> Task10 -> Task11 -> END I want all the tasks can automatically complete when the token points to one of the task and the actorId of the task instance is null or "". It seems that Decision nodes can help, but it will make the process definetion too complicated and ugly. So can anyone please tell me how to do, or just provide some threads for me to follow... Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125830#4125830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:link without the href? Only for the onclick
That's a good idea. I could. The advantage is that by doing that, it could refresh the values (just in case they have changed), or otherwise check that the object in question is still editable. I guess the round-trip time for doing that would be minimal. I'll try it both ways and see how it feels. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125829#4125829 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125829 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Need seam to load XXX.jar!/META-INF/pages.xml
| @Scope(ScopeType.APPLICATION) | @BypassInterceptors | @Name("org.jboss.seam.navigation.pages") | @Install(precedence = Install.APPLICATION) | public class EpstarPages extends SeamPages { | | @Override | public void initialize() { | super.initialize(); | | // å è½½ XXX.jar!/META-INF/pages.xml | for (URL url : ResourcesUtils | .findClassLoaderResources("/META-INF/pages.xml")) { | try { | InputStream stream = url.openStream(); | parse(stream); | } catch (IOException e) { | } | } | } | | } | as org.jboss.seam.navigation.Pages made "initialize" method with "private", i just create new SeamPages class which extends org.jboss.seam.navigation.Pages, by coping all Pages class's source, and make "initialize" method with "public". right? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125828#4125828 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125828 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Programmaticaly create queue
I have some questions relating this topic: 1. How many Queues can we safely create dynamically under JBoss 4.0.3? Is it a recommended way? 2. What is default persistence of Queues created in this way? Can we set persistent method for these Queues? 3. What API can we use to remove Queues dynamically? Does it clean up all related data of this Queue in database (presume that we can set JDBC persistent model for dynamic created Queues)? Thanks a lot in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125827#4125827 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125827 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:link without the href? Only for the onclick
Can you just have a bean that just holds a boolean value and use that as a rendered=#{myBean.staticViewOn} and just AJAX4JSF? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125825#4125825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - using Active Directory for Authorization in Seam apps
we have several Seam apps that will need a security solution involving using AD for authentication and authorization. Authentication is ok (we're using NTLM with IE browsers). We need advice for authorization. Our security model involves having the owner's of the applications add members (end-users) to AD distribution groups via Outlook. We have a custom Java AD library that allows us to get a list of the groups an authenticated user belongs to. We need to know whether or not it's ok to query AD real-time for multiple apps with a potential centralized AD cluster for all field sites. Any performance issues? This would happen on every JSF page load, for example, when a drop down needs to be populated for a particular role filter (e.g. only show the list of technicians). We are considering copying the added/deleted member info from the AD distro groups to RDBMS tables but then we have the syncing issue of when/how to do this. We are also considering augmenting our db schema to add user_role info to our user table by adding multiple tables (i.e., each user can have multiple roles in multiple apps). Any advice on this authorization portion? I can't find any best practices heuristics from microsoft regarding AD and we need to integrate our security framework with Seam ultimately. What is the JBoss best practice? The JBoss 4 official guide doesn't go into authorization in detail. thx. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125824#4125824 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125824 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:link without the href? Only for the onclick
That was not so clever of me. I should have had "return false" instead of just "false". Obviously I'm not a JavaScript programmer, which is why I love RichFaces, so I can avoid having to do JS programming. Which leads me to my question: is there some way of doing this in RichFaces, perhaps using componentControl, that would make me not need to write any JavaScript? There must be but I can't figure it out. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125823#4125823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125823 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - EVENT_LOGIN_SUCCESSFUL handled twice
I just upgraded to 2.0.1GA and overrode facesSecurityEvents. addLoginSuccessfulMessage() which used to be in identity so I could suppress the "Welcome, user" message. >From my logs, I can tell authenticator.authenticate is only being called once >but addLoginSuccessfulMessage(), the event handler for >EVENT_LOGIN_SUCCESSFUL(org.jboss.seam.security.loginSuccessful) is being >called twice. What gives? | @Name("org.jboss.seam.security.facesSecurityEvents") | @Scope(ScopeType.APPLICATION) | @Install(precedence = APPLICATION, classDependencies = "javax.faces.context.FacesContext") | @BypassInterceptors | @Startup | public class SecurityEventsHandler extends org.jboss.seam.security.FacesSecurityEvents { | | @Logger Log log; | | @Override @Observer(Identity.EVENT_LOGIN_SUCCESSFUL) | public void addLoginSuccessfulMessage() | { |log.info("\n\n\nEVENT_LOGIN_SUCCESSFUL handled\n\n\n"); | } | | | } | My identity.login ff: @Override | public String login() { | super.login(); | return loginFailed ? null : this.destination; | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125822#4125822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Connection timed out
Ok, then that is a problem I am running into as well. You have an xml file somewhere that is getting read by JBoss that has the DTD or schema specification in it. JBoss is supposed to validate against local files but it doesn't appear to (again, this is with 5.0), instead it tries to pull the file from the net. Since there is no access it will never work. The only solution I have found is to comment out the DTD or schema specification in the xml file (one of the deployment descriptors) and then try again. JBoss should then just accept the file and not try to validate against anything. This solution works for me when deploying a datasource that has the dtd defined when I am not connected to the network. Edward View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125808#4125808 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125808 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:link without the href? Only for the onclick
Simple question here: I'm setting up my entire site in such a way that it will display pages, and the various sections of the page will have an "edit" button next to them. When the user clicks "edit", there is a DHTML operation that transforms the static display into a form. The user can then do things on the form, and click "save", and the data are updated as an AJAX request and the form returns to its static view, and the "edit" button is back. This seems like a very friendly way to display a lot of information on a page, and have it editable in a simple way. At this stage, I have it working like this: | . | | | | . | | | | And a corresponding JavaScript function: function showAndHide($showId, $hideId) { | | var $showElement = document.getElementById($showId); | var $hideElement = document.getElementById($hideId); | | $showElement.style.display = 'inline'; | $hideElement.style.display = 'none'; | | return false; | | } I put all this together, and it works. Then I enclose it in an , and it starts doing a whole-page reload on clicking. I tried s:link, h:commandButton, s:button, and it's all the same behavior. Any suggestions on this? I'm also thinking of using rich:componentControl, which seems like it is intended for doing things like this, but I can't figure out how to use it. Or are there some other RichFaces components I should try out? Any pointers would be welcome! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125807#4125807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125807 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Here is a Richfaces Ajax Datascroler and Seam Example
Here is a more recent version of the code. This time I have the query return a List of maps for an HQL query. I just override get id and it works. Try this more recent version. Are you using Seam 2.0.x? I have not seen too much interest in my method. If people like the technique employed, I can post an example when I get some time. | | import java.io.IOException; | import java.io.Serializable; | import java.util.ArrayList; | import java.util.HashMap; | import java.util.List; | import java.util.Map; | | import javax.faces.context.FacesContext; | | import org.ajax4jsf.model.DataVisitor; | import org.ajax4jsf.model.ExtendedDataModel; | import org.ajax4jsf.model.Range; | import org.ajax4jsf.model.SequenceRange; | import org.jboss.seam.annotations.Logger; | import org.jboss.seam.log.Log; | | import com.xxx.ui.Idable; | | public abstract class BaseExtendedDataModel extends ExtendedDataModel implements BaseExtendedDataModelDAO{ | | private @Logger Log log; | | int rowNum=-1; | | public int getRowNum() | { | return ++rowNum; | } | | public List listRow; | | private ID currentId; | private Map wrappedData = new HashMap(); | private List wrappedKeys; | private Long rowCount; // better to buffer row count locally | | public abstract Long getCount(); | public abstract List getList(Integer firstRow, Integer maxResults); | public abstract T findById(ID id); | | public ID getId(T row) | { | Idable idable = (Idable) row; | ID id = (ID) idable.getId(); | return id; | } | | public void wrap(FacesContext context, DataVisitor visitor, Range range, Object argument, List list) throws IOException | { | wrappedKeys = new ArrayList(); | wrappedData = new HashMap(); | for (T row : list) | { | ID id = getId(row); | wrappedKeys.add(id); | wrappedData.put(id, row); | visitor.process(context, id, argument); | } | } | | public boolean hasById(ID id) | { | for (T row : listRow) | { | ID rowId = getId(row); | if (rowId.equals(id)) | { | return true; | } | } | return false; | } | | @Override | public void walk(FacesContext context, DataVisitor visitor, Range range, Object argument) throws IOException | { | int firstRow = ((SequenceRange) range).getFirstRow(); | int maxResults = ((SequenceRange) range).getRows(); | log.info("("+firstRow +", "+ maxResults+")"); | wrap(context, visitor, range, argument, getList(firstRow, maxResults)); | } | | /* | * This method normally called by Visitor before request Data Row. | */ | @Override | public void setRowKey(Object key) | { | this.currentId = (ID) key; | } | | @Override | public int getRowCount() | { | if(rowCount == null) | return (rowCount = this.getCount()).intValue(); | else | return rowCount.intValue(); | } | | @Override | public boolean isRowAvailable() | { | if (currentId == null) { | return false; | } else { | return hasById(currentId); | } | } | | /** | * This is main way to obtain data row. It is intensively used by framework. | * We strongly recommend use of local cache in that method. | */ | @Override | public Object getRowData() { | if (currentId == null) { | return null; | } else { | T ret = wrappedData.get(currentId); | if (ret == null) { | ret = this.findById(currentId); | wrappedData.put(currentId, ret); | return ret; | } else { | return ret; | } | } | } | | | // Unused rudiment from old JSF staff. | @Override public int getRowIndex() { throw new UnsupportedOperationException(); } | @Override public void setRowIndex(int rowIndex) { throw new UnsupportedOperationException(); } | @Override public Object getWrappedData() { throw new UnsupportedOperationException(); } | @Override public void setWrappedData(Objec
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Passivation time configuration
Hi, I've deployed an EJB (in a .ear file using EJB3 annotations) to my JBoss server, and for some reason, they always take 10 minutes of inactivity to passivate (and then seem to be hours until they are removed from the container entirely). I'm running the default configuration and I've modified the JBoss standardjboss.xml file (in server\default\conf) that relates to the container configuration to look as follows: | Standard Stateful SessionBean | false | stateful-unified-invoker | | org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor | org.jboss.ejb.plugins.LogInterceptor | | org.jboss.ejb.plugins.TxInterceptorCMT | org.jboss.ejb.plugins.CallValidationInterceptor | org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor | | org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor | org.jboss.ejb.plugins.TxInterceptorBMT | org.jboss.ejb.plugins.CallValidationInterceptor | org.jboss.resource.connectionmanager.CachedConnectionInterceptor | org.jboss.ejb.plugins.SecurityInterceptor | | org.jboss.ejb.plugins.StatefulSessionInstanceCache | org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager | | org.jboss.ejb.plugins.LRUStatefulContextCachePolicy | | 50 | 100 | 30 | 30 | 30 | 30 | 5 | 5 | 1 | 0.75 | | | | 100 | | | I would think the beans should now passivate within 30 seconds of inactivity (or in my case, after the application shuts down -- I wrote a small test app that just looks up the bean then ends so the bean becomes inactive). Can anyone explain why passivation still takes 10 minutes? Thanks. Jeff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125800#4125800 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125800 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Cannot build JBPM source from CVS
It's of course jmx-console, not JNDI View. JNDI View should show jbpm/JbpmConfiguration under the java: namespace. regards, Karl View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125799#4125799 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125799 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Cannot build JBPM source from CVS
Hi all, when compiling jBpm CVS HEAD, I stumbled upon the same problem, "Missing required plug-in org.jbpm.gd.common_0.0.0", but managed to get the build run to completion with some "manual intervention". Steps to reproduce (jbpm.3 is the local CVS module root folder): | * Set up a copy of Eclipse SDK 3.3.1.1, unzip dtp-sdk_1.5.1, emf-sdo-xsd-SDK-2.3.1, GEF-SDK-3.3.1, wtp-sdk-R-2.0.1-20070926042742 (all from the local jBPM repo) into the eclipse dir, and switch to a clean workspace. | * Import the projects under jbpm.3/designer (org.jbpm.gd.bpel, org.jbpm.gd.bpel.runtime, org.jbpm.gd.common, org.jbpm.gd.pf). | * All projects should build, except org.jbpm.gd.bpel.runtime, which depends on org.eclipse.bpel, so I installed the BPEL plugins from http://download.eclipse.org/technology/bpel/update-site. | * For some strange reason, org.jbpm.gd.bpel.runtime still does not compile, having troubles with "The import org.eclipse.bpel cannot be resolved", although the plugin is there, and I reloaded the target platform under Preferences / Plug-in Development / Target Platform, but still no luck. Can anyone help here? | * Export org.jbpm.gd.common (File / Export / Deployable plug-ins and fragments) to jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\target\workspace, deselect option "Package plug-ins as individual JAR archives". | By the way, I found that when checking out jBpm HEAD inside Eclipse, not all folders are checked out, so I used cvs command line client to check out the complete source. What was missing from the build was jbpm.sar, which I built using the following steps: | * Run jbpm.3\jpdl\jar>ant config.profile.datasource. Although this is marked as old stuff in the main build.xml, it seems to work. | * Manually copy jbpm.3\jpdl\jar\target\profiles\jbpm.config.profile.datasource.jar to JBPM_REPO\jbpm\jpdl\3.2.2\lib\jbpm.config.profile.datasource.jar | * Run the package target in jboss/sar: jbpm.3\jboss\sar>ant package | Testing jbpm.sar: | * Copy jbpm.sar from jbpm.3\jboss\sar\target to jboss-4.2.2.GA\server\default\deploy | * Copy jbpm-ds.xml from jbpm.3\jboss\configuration\4.2.2.GA\target\configuration\deploy to jboss-4.2.2.GA\server\default\deploy | * Copy the application-policy name="jbpm" from jbpm.3\jboss\configuration\4.2.2.GA\target\configuration\conf\login-config.xml into jboss-4.2.2.GA\server\default\conf\login-config.xml | * Copy jbpmDB.properties and jbpmDB.script from jbpm.3\jboss\configuration\4.2.2.GA\target\configuration\data\hypersonic to jboss-4.2.2.GA\server\default\data\hypersonic | * Copy the JbpmCommandQueue and JbpmJobQueue mbean definitions from jbpm.3\jboss\configuration\4.2.2.GA\target\configuration\deploy\jms\jbossmq-destinations-service.xml to jboss-4.2.2.GA\server\default\deploy\jms\jbossmq-destinations-service.xml | * Copy jbpm-console.war from jbpm.3\console\target\jbossas-4.2.x to jboss-4.2.2.GA\server\default\deploy | * Start jboss-4.2.2.GA | * jbpm-console should be functional | * JNDIView should show the JbpmService MBean under jboss.jbpm:name=DefaultJbpm,service=JbpmService | And, seriously folks, what about migrating the build process to maven 2? With the current build system, several targets get re-run over and over again during a build, hinting at broken dependency checking of build artifacts, and resulting in unneccessary long build times. As far as I can see, JBoss is gradually moving all project builds to maven, so this might be worth considering (I know, the current build system has certainly taken lots of time and energy, but maven does this, well, even better). regards, Karl Karl Traunmueller Objectbay Software & Consulting GmbH Softwarepark 35 4232 Hagenberg, Austria www.objectbay.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125795#4125795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125795 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - ClassCastException: org.jnp.interfaces.NamingContext
Dear guys, How do I interpret the following stacktrace after upgrading to 4.2.2.GA: 2008-02-02 19:12:28,151 DEBUG [org.jboss.web.tomcat.security.SecurityFlushSessionListener] Obtaining SecurityManagerService failed:: | java.lang.ClassCastException: org.jnp.interfaces.NamingContext | at org.jboss.web.tomcat.security.SecurityFlushSessionListener.getSecurityManagerService(SecurityFlushSessionListener.java:201) | at org.jboss.web.tomcat.security.SecurityFlushSessionListener.getSubjectAndSecurityDomain(SecurityFlushSessionListener.java:168 | ) | at org.jboss.web.tomcat.security.SecurityFlushSessionListener.sessionDestroyed(SecurityFlushSessionListener.java:81) | at org.apache.catalina.session.StandardSession.expire(StandardSession.java:702) | at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:592) | at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:681) | at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:666) | at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1315) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1600) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1609) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1609) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1589) | at java.lang.Thread.run(Thread.java:595) | 2008-02-02 19:12:28,151 DEBUG [org.jboss.web.tomcat.security.SecurityFlushSessionListener] Unable to obtain SecurityDomain | 2008-02-02 19:12:45,555 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - first pass | 2008-02-02 19:12:45,555 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule: first pass | 2008-02-02 19:12:45,555 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - | TORecoveryModule - first pass | 2008-02-02 19:12:45,555 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARec | overyModule - first pass | 2008-02-02 19:12:55,557 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - second pass | 2008-02-02 19:12:55,557 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] AtomicActionRecoveryModule: Second pass | 2008-02-02 19:12:55,557 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - | TORecoveryModule - second pass | 2008-02-02 19:12:55,557 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARe | coveryModule - second pass | Best regards Niklas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125792#4125792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Illegal @PersistenceUnit? Help!
Hi all. I'm a newbie trying to get JBoss to persist data into a MySql db, using an EJB3. You folks were kind enough to help me get JBoss set up to use MySql, which now seems set. I see new tables, like JMS_MESSAGES, in my MySql db. If it matters, I'm using the JBoss 4.2 Eclipse plugin. Next, though, my EJB is failing to register when JBoss starts up. I'm getting an "Illegal @PersistenceUnit" message. I should say I'm also a newbie at EJB. Below is the JBoss log. Below that is my EJB3. I'd really appreciate any help you folks could give me (again...). Thanks! 15:55:59,029 INFO [Server] Starting JBoss (MX MicroKernel)... 15:55:59,030 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139) 15:55:59,031 INFO [Server] Home Dir: C:\jboss-4.2.2.GA 15:55:59,031 INFO [Server] Home URL: file:/C:/jboss-4.2.2.GA/ 15:55:59,033 INFO [Server] Patch URL: null 15:55:59,033 INFO [Server] Server Name: default 15:55:59,034 INFO [Server] Server Home Dir: C:\jboss-4.2.2.GA\server\default 15:55:59,034 INFO [Server] Server Home URL: file:/C:/jboss-4.2.2.GA/server/default/ 15:55:59,034 INFO [Server] Server Log Dir: C:\jboss-4.2.2.GA\server\default\log 15:55:59,034 INFO [Server] Server Temp Dir: C:\jboss-4.2.2.GA\server\default\tmp 15:55:59,034 INFO [Server] Root Deployment Filename: jboss-service.xml 15:55:59,354 INFO [ServerInfo] Java version: 1.6.0-oem,Sun Microsystems Inc. 15:55:59,354 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0-oem-b104,Sun Microsystems Inc. 15:55:59,354 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 15:55:59,586 INFO [Server] Core system initialized 15:56:01,118 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ 15:56:01,120 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml 15:56:01,423 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. 15:56:01,423 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 15:56:01,546 INFO [TransactionManagerService] Starting recovery manager 15:56:01,659 INFO [TransactionManagerService] Recovery manager started 15:56:01,659 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference 15:56:03,448 INFO [EJB3Deployer] Starting java:comp multiplexer 15:56:03,650 INFO [STDOUT] no object for null 15:56:03,652 INFO [STDOUT] no object for null 15:56:03,663 INFO [STDOUT] no object for null 15:56:03,674 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType 15:56:03,680 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType 15:56:05,686 INFO [NativeServerConfig] JBoss Web Services - Native 15:56:05,686 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837) 15:56:06,365 INFO [Embedded] Catalina naming disabled 15:56:06,482 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;c:\Program Files\Java\jre1.6.0\bin\client;c:\Program Files\Java\jre1.6.0\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\Common Files\Adobe\AGL 15:56:06,521 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080 15:56:06,522 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009 15:56:06,522 INFO [Catalina] Initialization processed in 157 ms 15:56:06,522 INFO [StandardService] Starting service jboss.web 15:56:06,524 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA 15:56:06,556 INFO [Catalina] Server startup in 33 ms 15:56:06,631 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/ 15:56:07,156 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/ 15:56:07,251 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/ 15:56:07,329 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 15:56:07,813 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/ 15:56:08,146 INFO [MailService] Mail Service bound to java:/Mail 15:56:08,272 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar 15:56:08,298 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar 15:56:08,320 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar 15:56:08,346 INFO [RARDeployment] Required license terms exist, v
[jboss-user] [JBoss jBPM] - Re: Windows based automatic user authentication/authorizatio
Wrong forum btw... google is your friend View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125788#4125788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125788 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBOSS SEAM FAQ - Can Seam be used in J2EE environment
Should work. Post your problem, perhaps someone can help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125785#4125785 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125785 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm4jsf help
unfortunately there is not much 'documentation' besides the source and the console itself as an example. If you have specific issues please do not hesitate to ask View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125784#4125784 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125784 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Help with seam create-entities
Don't you hate it when you figure out what's wrong right after you post about it, and its your stupid error? My database script was creating the right database, but inserting tables into the wrong one. So, no tables. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125783#4125783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Help with seam create-entities
Same here. MYSql View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125781#4125781 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125781 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JGroups ClassCastException
Modify jg-magic-map.xml (in the JGroups JAR) and remove all array definitions, e.g. Ljava.lang.Object&; Or update to a later version of JGroups, e.g. 2.4.x View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125776#4125776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125776 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Need Form to Work Without
No error messages at all. I just fill out the form, press submit, wait a little, and then the form comes back with the fields cleared. The only difference from when I first try the page is, as I mentioned, the appending of the jsessionid to the URL. I wasn't sure if perhaps I had misused the pages.xml entry. Any idea what's going on? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125777#4125777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125777 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @DataModel vs. EL
Hi if it's just because of the EL-Expressions, maybe that somehow depends on having to have the logger static ... otherwise you possibly have to describe your problem further. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125768#4125768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125768 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBOSS SEAM FAQ - Can Seam be used in J2EE environment
Pete...Thanks for the quick reply I guess I just want to make sure that this statement found on the Product FAQ page is not valid for J2EE 5 certified application servers. I know that both application servers are J2EE 5 certified. In fact we have a seam app running in OC4J with EJB 3.0 session beans - but we are having problems. I guess I just want to make sure that the above FAQ is not saying "if you use EJB 3.0 sessions beans outside of a JBOSS application server undesirable results may occur." Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125767#4125767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125767 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @PersistenceContext
BTW: I'm using JBoss 4.2.2.GA and JBoss Seam 2.0.1.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125766#4125766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBOSS SEAM FAQ - Can Seam be used in J2EE environment
OC4J 11 and Glassfish V2 are both JEE 5 certified. So, I'm not sure what you mean. (Also, we recently got Seam with EJB3 working in WebSphere, but no joy in WebLogic yet). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125765#4125765 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125765 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Problem using ssl from JBoss 4.2.2
Hi, Since we upgraded from JBoss AS 4.0.5 to JBoss AS 4.2.2 we ran into problems using ssl sockets to connect to a remote service. This works fine with JBoss 4.0.5 but we got the following exception when using 4.2.2: --- 16:01:13,281 ERROR [ExceptionFilter] handling uncaught exception javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.AbstractMethodError: com.verifyeasy.protocol.DTJSSESSLProtocolSocketFactory.createSocket(Ljava/lang/String;ILjava/net/InetAddress;ILorg/apache/commons/httpclient/params/HttpConnectionParams;)Ljava/net/Socket; at org.apache.commons.httpclient.HttpConnection.open(Unknown Source) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source) at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source) at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source) at com.verifyeasy.protocol.HTTPClient.execute(HTTPClient.java:359) at com.verifyeasy.protocol.HTTPClient.post(HTTPClient.java:310) at com.verifyeasy.protocol.HTTPClient.post(HTTPClient.java:270) at com.verifyeasy.server.VEServer.doConnectRaw(VEServer.java:1335) at com.verifyeasy.server.VEServer.doConnect(VEServer.java:1351) at com.verifyeasy.server.VEServer.askIf3DSEnrolled(VEServer.java:585) at servlets.se.eavtal.egreement.Thre
[jboss-user] [JBoss Seam] - JBOSS SEAM FAQ - Can Seam be used in J2EE environment
I just wanted to verify if the following FAQ answer is still correct: Q: Can I run Seam in a J2EE environment? A: Yes, as of Seam 1.1, you can use Seam in any J2EE application server, with one caveat: you will not be able to use EJB 3.0 session beans. However, you can use either Hibernate or JPA for persistence, and you can use Seam JavaBean components instead of session beans. Specifically the caveat mentions that you will not be able to use EJB 3.0 session beans. But the examples for Glassfish and OC4J seem to contradict this. Is this FAQ still correct? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125763#4125763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Detect client disconnection
Thanks ! Charles View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125762#4125762 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125762 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Need seam to load XXX.jar!/META-INF/pages.xml
Call your pages.xml files unique names - like META-INF/foo-pages.xml or, you could submit a patch for this. I would consider adding this functionality to Seam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125761#4125761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - PageContext Size limit
How much load can the Page Context handle? Is it an appropriate context to hold multiple object graphs? How is the the data held in the client? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125760#4125760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125760 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Join natural conversation ? how ??
Did you look at the seambay example? This has an example of natural conversations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125759#4125759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125759 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Need seam to load XXX.jar!/META-INF/pages.xml
"[EMAIL PROTECTED]" wrote : You can specify the pages.xml files to use in components.xml | | | |/WEB-INF/pages.xml | |/META-INF/pages.xml | | not work yet, by config "/META-INF/pages.xml", only one jar's pages.xml is loaded, not all jar's, because i have multiple jar files contains the "/META-INF/pages.xml" file. Any idea? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125758#4125758 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125758 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Need Form to Work Without
Any error messages from JSF in h:messages? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125757#4125757 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125757 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: How to start a session bean as soon as it is deployed
I think I m using ejb timer service. Pl. see my code. Can you provide me with an example please. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125756#4125756 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125756 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - @DataModel vs. EL
I am displaying a list of entities (Student) with a @DataModel on a JSF Page with two links: one for editing and one for delting. For some reason the injection by DataModelSelection does not work correctly. My my status-EL messages for these two functions aren't shown correctly. Deletin entities works (except for the status message) whereas editing does not. This is my SFSB: | @Stateful | @Scope(ScopeType.SESSION) | @Name("inscription") | public class InscriptionAction implements InscriptionFacade { | | @Logger private Log log; | @PersistenceContext(type=PersistenceContextType.EXTENDED) private EntityManager em; | @DataModel private List studentList; | | @In(required=false) | @Out(required=false) | @DataModelSelection | private StudentInsc inscribben; // StudentInsc inherits Student | | public String delete() { | // | // This log shows only "Deleting inscribben student" | // | log.info("Deleting inscribben student #{inscribben.givenName} #{inscribben.familyName}"); | studentList.remove(inscribben); | StudentInsc stud = em.merge(inscribben); | em.remove(stud); | | return "insc"; | } | | public String startEdit() { | // | // This log shows only "Start editing" | // | log.info("Start editing #{inscribben.givenName} #{inscribben.familyName}"); | em.merge(inscribben); | return "editInsc"; | } | | public String finishEdit() { | // | // This log shows the correct values from the form "Finish editing Newname Newfamilyname" | // but doesn't merge the inscribben student to the database | // | log.info("Finish editing #{inscribben.givenName} #{inscribben.familyName}"); | | em.merge(inscribben); | return "insc"; | } | | [] | This is my table: | | | [] | | | | | [] | | | startEdit redirects to a form, where new values can be entered. On a button click finishEdit is invoked and the DataTable is shown again. I've already tried a lot, but nothing worked. Can somebody please help me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125754#4125754 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125754 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - help me understand memory usage
On Linux FC 6. The machine physical memory is 4G. After machine reboot, start JBoss and deploy application, the total memory usage is about 700M. After running JBoss for several hours, the memory used is increased to 3.5G. $ ps -eo rss Adding all used memory up, the total is about 580M. where does the rest memory go? $ top Tasks: 95 total, 2 running, 93 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.1%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.2%hi, 0.0%si, 0.0%st Mem: 4037992k total, 3456532k used, 581460k free, 626264k buffers Swap: 10223608k total,0k used, 10223608k free, 2119340k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 12529 root 25 0 2502m 388m 43m S0 9.9 1:27.33 java 2584 root 15 0 326m 114m 3596 S0 2.9 1491:46 yum-updatesd 2404 mysql 15 0 246m 26m 4236 S0 0.7 1:28.03 mysqld the JBoss (java): 388M. Please help me. Thanks Dave View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125751#4125751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Use of EJBs within LoginModule
The EJB I'm calling is set to @PermitAll It appears to be on the second call to the EJB, it's very odd, but I'm desperate for a solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125749#4125749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125749 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Remoting 2.4.0.Beta1 available
JBossRemoting 2.4.0.Beta1 is now available. It includes a number of improvements over Remoting 2.2.x; e.g.: * Support for server configuration by microcontainer injection * Support for multihome servers * Better support for IPv6 addresses * Improvements in the socket transport * Improved connection monitoring * Server gets client address in invocations * Multiple bug fixes Remoting 2.4.0 is meant to be compatible with Remoting 2.2.x, in the sense that you should be able to replace an old jar with a new jar and experience no disruptions. Many of the changes are internal improvements which have no impact on the API. There are new features which involve additional configuration options, new methods, and new classes, but existing functionality should remain intact. The new jboss-remoting.jar can be found in the repository: http://repository.jboss.com/jboss/remoting/2.4.0.Beta1 The distribution with source can be found at: http://labs.jboss.com/jbossremoting/downloads/ == Release Notes - JBoss Remoting - Version 2.4.0.Beta1 (Pinto) ** Bug * [JBREM-166] - JMXConnectorServer will not start if using rmi invoker elsewhere * [JBREM-645] - Need to cleanup locatorURI parsing * [JBREM-675] - Problems with Servlet invoker * [JBREM-717] - servlet invoker illegal state exception not serializable * [JBREM-731] - Address of secondary server socket should be acquired each time a control connection is created. * [JBREM-743] - For polling callback handler, org.jboss.remoting.Client.addListener() should create only one CallbackPoller per InvokerCallbackHandler * [JBREM-745] - client unable to send if server recycles * [JBREM-747] - org.jboss.remoting.transport.Connector should unregister server invoker from MBeanServer * [JBREM-752] - SSLSocket runs into BindException * [JBREM-754] - Reset timeout on each use of HttpURLConnection * [JBREM-766] - Guard against "spurious wakeup" from Thread.sleep() * [JBREM-769] - Sucky error message when identity creation fails * [JBREM-771] - MicroSocketClientInvoker can experience socket leaks * [JBREM-772] - MicroRemoteClientInvoker.establishLease() creates two LeasePinger TimerTasks * [JBREM-774] - BisocketClientInvoker.replaceControlSocket() and handleDisconnect() should close control socket * [JBREM-775] - MicroSocketClientInvoker.initPool() should omit pool from log message * [JBREM-778] - BisocketServerInvoker.start() creates a new static Timer each time * [JBREM-779] - BisocketClientInvoker should guard agains scheduling on an expired Timer, part 2 * [JBREM-784] - Use separate maps for control sockets and ordinary sockets in BisocketClientInvoker * [JBREM-785] - BisocketClientInvoker.transport() inadvertently uses listenerId member variable * [JBREM-786] - stale sockets can be gotten from pool even with current rety logic * [JBREM-787] - Move network i/o in BisocketClientInvoker constructor to handleConnect() * [JBREM-788] - Access to BisocketClientInvoker static maps should be synchronized in handleDisconnect() * [JBREM-790] - NPE in BisocketClientInvoker$PingTimerTask * [JBREM-793] - Lease should synchronize access to client map * [JBREM-794] - LeasePinger.addClient() should not create a new LeaseTimerTask if none currently exists * [JBREM-806] - In HTTPClientInvoker remove newlines and carriage returns from Base64 encoded user names and passwords * [JBREM-811] - Privileged Block to create Class Loader * [JBREM-813] - ServletServerInvoker should return an exception instead of just an error message * [JBREM-820] - Fix race in ServerInvokerCallbackHandler.handleCallback() * [JBREM-821] - JBoss Remoting fails under load * [JBREM-822] - Avoid deadlock when Connector shuts down while callback client invoker is in handleConnect() * [JBREM-838] - allow user to set content-type for http responses (part 2: ServletServerInvoker) * [JBREM-843] - MicroSocketClientInvoker can miscount number of active sockets * [JBREM-846] - Fix race in JNIDDetector * [JBREM-851] - In LeasePinger and TimerUtil replace Timer if it has shut down * [JBREM-853] - ServletServerInvoker should not put null URL path in metadata map * [JBREM-863] - CLONE -Infinite loop in BisocketClientInvoker.createSocket [JBREM-845] * [JBREM-866] - CLONE -Eliminate delay in MicroSocketClientInvoker.getConnection() [JBREM-860] * [JBREM-870] - CLONE -MaxPoolSize value should be used in key to MicroSocketClientInvoker.connectionPools [JBREM-858] * [JBREM-874] - CLONE -HTTP Client invoker doesn't throw exceptions when using the sslservlet protocol [JBREM-871] * [JBREM-887] - ServerInvokerrCallbackHandler.createCallbackErrorHandler() inadvertently references callbackStore * [JBREM-888] - Client side connec
[jboss-user] [JBoss Seam] - Re: anyway to generate Seam PDF table in parent/childern for
Norman I was trying to achieve several levels deep record listing in parent child hirarchy. eg: university1 ---campus1 -course1 applicant1 applicant2 -course2 applicant1 ---campus2 ... ... university2 ... I wasn't aware if rendered attributes existed for any of the Seam's iText tags since I didn't see any reference to it in Seam (2.0.1CR2) doc or in JBDev. I eventually figered out facelet fragment tag supports rendered attribute; which I used to achieve the behavious I was after. Thanks, its good knowing Seam's iText tag support rendered attribute. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125747#4125747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using rich:datascroller With Seam and Hibernate Paginati
Thanks to everyone for their insight. I have got something that seems to be working. I don't know if it is the most elegant code ever written, but I will be happy to write up the general solution on SeamFramework.org. Just let me know where, Pete. For those who might be interested, let me first point out I have three components working together: 1) An action component that interacts with the user 2) A persistence component that abstracts all the search APIs 3) My own SerializedDataModel which is bijected from my Seam action component. The action component basically takes the search parameters from the user and passes them to the persistence component. That component returns the results to the action, which then passes them to the SerializedDataModel, which wraps the information in a HashMap by key as specified in the examples and Jason Long's code. As for the paging, when the user wants a different page of results (either by clicking one of the navigation buttons or by clicking an actual page number), the action component uses the DataScrollerEvent passed to the listener method within to figure out where the user wants to go next. The action component passes the desired page number to the persistence component, which of course is handling all the result paging. The persistence component then passes back the results for the desired page, and we do all the data passing around I described above. Again, I will be happy to elaborate further on SeamFramework.org since I think this will be a common issue for developers until RichFaces comes up with a better way to handle this. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125746#4125746 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125746 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Join natural conversation ? how ??
My working solution that is such a hack but now I see the power we have ;D Please comment it or provide better solution | public String select(Team team) { | conversationId = team.getId().toString(); | ConversationEntries.getInstance().updateConversationId(Conversation.instance().getId(), | conversationId); | Set existingIds = ConversationEntries.getInstance().getConversationIds(); | for (String existingConversationId : existingIds) { | String[] split = existingConversationId.split(":"); | | if(split.length == 2 && conversationId.equals(split[1])) { | | getFacesMessages().add("Conversation already exists"); | ConversationEntries.getInstance().getConversationEntry(existingConversationId). | redirect(); | return null; | | } | } | | return super.select(team); | } | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125745#4125745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user