[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3395) GWT Example not working
by Dan Mihai Ile (JIRA)
GWT Example not working
-----------------------
Key: JBSEAM-3395
URL: https://jira.jboss.org/jira/browse/JBSEAM-3395
Project: Seam
Issue Type: Bug
Components: GWT
Affects Versions: 2.1.0.BETA1, 2.0.3.CR1, 2.0.2.SP1
Environment: Windows XP, Java 5, jboss-4.2.3.GA, apache-ant-1.7.1
Reporter: Dan Mihai Ile
I am trying to deploy the examples/remote/gwt example using ant, but jboss AS gives an error on deploying.
I understand that GWT support is porr in seam but at least make sure that the example works out of the box.
Note that I didn't recompile anything, just deployed using "ant.bat deploy"
Maybe there is an easy fix for this, if someone could check I would appreciate.
Thank you.
Begining of error log:
15:50:39,531 INFO [EARDeployer] Init J2EE application: file:/C:/Tools/programe/
jboss-4.2.3.GA/server/default/deploy/jboss-seam-gwt.ear
15:51:12,796 WARN [ServiceController] Problem creating service jboss.j2ee:servi
ce=EJB3,module=jboss-seam-gwt.jar
java.lang.NullPointerException
at org.jboss.ejb3.security.JaccHelper.initialiseJacc(JaccHelper.java:73)
at org.jboss.ejb3.Ejb3JmxDeployment.createPolicyConfiguration(Ejb3JmxDep
loyment.java:53)
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2455) seam-gen dev profile does not read "WEB-INF/dev" directory for class files on Weblogic 10
by Jay Balunas (JIRA)
seam-gen dev profile does not read "WEB-INF/dev" directory for class files on Weblogic 10
------------------------------------------------------------------------------------------
Key: JBSEAM-2455
URL: http://jira.jboss.com/jira/browse/JBSEAM-2455
Project: JBoss Seam
Issue Type: Bug
Components: Tools
Affects Versions: 2.0.1.GA
Environment: RHEL 5 x86
JDK 1.6.0_02
Weblogic 10.3.TP
Reporter: Jay Balunas
A WAR application generated by seam-gen and modified as described in the new "Weblogic" chapter in the reference guide does not pick up the class files that deployed into the "WEB-INF/dev" directory.
The easiest way to describe duplicating it is to refer to the reference guide chapter. What the user sees is that no matter what is entered into the login page it is a failed login - with no errors in the logs If the class files in the "WEB-INF/dev" directory are moved to the "WEB-INF/classes" directory the login page behaves as expected.
Note the weblogic chapter to the reference guide is currently being finalized and I will note when it is checked in.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-541) ConversationEntry reports the wrong description
by Norman Richards (JIRA)
ConversationEntry reports the wrong description
-----------------------------------------------
Key: JBSEAM-541
URL: http://jira.jboss.com/jira/browse/JBSEAM-541
Project: JBoss Seam
Issue Type: Bug
Affects Versions: 1.1.0.CR1
Reporter: Norman Richards
Assigned To: Gavin King
The linked forum post shows one example of this bug, though it is not directly the issue the poster is complaining of.
Using the forum application as a guide, start a conversation and then start a nested conversation. End the nested conversation. The description of the parent conversation in the converstion list on will be incorrect. (it will have the name of the current conversation that just ended)
This happens because of the following code:
public String getDescription()
{
if ( isCurrent() )
{
String desc = Conversation.instance().description;
if (desc!=null) return desc;
}
return description;
}
public boolean isCurrent()
{
Manager manager = Manager.instance();
if ( manager.isLongRunningConversation() )
{
return id.equals( manager.getCurrentConversationId() );
}
else if ( manager.isNestedConversation() )
{
return id.equals( manager.getParentConversationId() );
}
else
{
return false;
}
}
The parent conversation entry is considered "current". (isLongRunning() is false and isNestedConversation() is true) Because of this, the ConversationEntry description is ignored in favor of Conversation.instance().description. (Again, Conversation.instance(), is the nested conversation that just ended)
Subsequent requests display the conversation description correctly since they are done in the context of the correct conversation.
The isNestedConversation() check looks to be the source of the problem. I can't figure out what case that would make sense for.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3369) No active conversation context (natural conversations)
by Arron Ferguson (JIRA)
No active conversation context (natural conversations)
------------------------------------------------------
Key: JBSEAM-3369
URL: https://jira.jboss.org/jira/browse/JBSEAM-3369
Project: Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.0.3.CR1
Environment: Linux Ubuntu 7.10, Intel Pentium 4, 3GHz, 1 GB RAM, Tomcat 6.0.16
Reporter: Arron Ferguson
Priority: Blocker
Natural conversations and rules in your pages.xml file are suppose to enforce navigation rules whereby if the user types a URL from a previous state of the conversation (or uses a bookmark), the rules set in the pages.xml should work and redirect the user without exceptions being generated.
Setup Instructions:
Please see https://jira.jboss.org/jira/browse/JBSEAM-3368 and use the exact same files. If you want to see the conversation actually existing then add the following to the template.xhtml file:
<ui:insert name="conversationlist">
<h:dataTable value="#{conversationList}" var="entry"
rendered="#{not empty conversationList}">
<h:column>
<f:facet name="header">Workspace</f:facet>
<h:commandLink action="#{entry.select}" value="#{entry.description}"/>
<h:outputText value="[current]" rendered="#{entry.current}"/>
</h:column>
<h:column>
<f:facet name="header">Activity</f:facet>
<h:outputText value="#{entry.startDatetime}">
<f:convertDateTime type="time" pattern="hh:mm a"/>
</h:outputText>
<h:outputText value=" - "/>
<h:outputText value="#{entry.lastDatetime}">
<f:convertDateTime type="time" pattern="hh:mm a"/>
</h:outputText>
</h:column>
<h:column>
<f:facet name="header">Action</f:facet>
<h:commandButton action="#{entry.select}" value="#{msg.Switch}"/>
<h:commandButton action="#{entry.destroy}" value="#{msg.Destroy}"/>
</h:column>
</h:dataTable>
</ui:insert>
Which will indeed display a conversation in memory.
Steps to reproduce bug:
1.) Start web app inside of Tomcat 6
2.) using your browser, click on the buttons and take yourself all the way up to register4.xhtml but *do not* click on the Seam link labeled "back to home". Instead type in your browser's URL text field register1.xhtml. What happens is that the register1.xhtml page shows and an exception is generated: java.lang.IllegalStateException: No active conversation context
The correct response should be for the Seam app to redirect the user back to the register3.xhtml page (based on the pages.xml rules, again see https://jira.jboss.org/jira/browse/JBSEAM-3368 for more details).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months