[EJB/JBoss] - Embeddable roadmap
by MichaelCouck
Hi,
I have looked around but can't seem to find anything relating to the remote capabilities of the embedded EJB container. This would be paramount for a decision. Could anyone please tell me if and when JBoss will develop the remote communication for the embedded container, and if they will support this in the future? Not only the JMS remotely but the JNDI access and of course the session beans, i.e. remote access.
All works well locally of course. Setup the container with about five lines of code, all is deployed from the classpath scan by the container! Great one, couldn't be easier. But the remote thing is REALLY important. Without which I'll have to use OpenEJB, but fiddling around with configuration files and the like really annoys me. So please tell me that the enbedded container will go remote soon.
Thanks in advance.
Michael
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996000#3996000
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996000
19 years, 4 months
[Clustering/JBoss] - Re: What is processCallbacks status 2?
by Lauri
I'm getting this error too.
Approximately once per 20 minutes.
related line from server.log
2006-12-23 06:41:52,445 WARN [org.apache.jk.common.ChannelSocket] processCallbacks status 2
--------- configuration details -----------------
I'm using jboss behind apache2, mod_jk
block from server.xml of jboss's tomcat:
apache configuration:
a) workers.properties
# Define list of workers that will be used
# for mapping requests
worker.list=jboss,status
# Define Node1
# modify the host as your host IP or DNS name.
worker.jboss.port=8009
worker.jboss.host=localhost
worker.jboss.type=ajp13
worker.jboss.local_worker=1
worker.jboss.cachesize=10
# Status worker for managing load balancer
worker.status.type=status
b) uriworkermap.properties
# Mount the Servlet context to the ajp13 worker
JkMount /* jboss
c) .conf
# Load mod_jk module
# Specify the filename of the mod_jk lib
LoadModule jk_module modules/mod_jk.so
# Where to find workers.properties
JkWorkersFile conf/workers.properties
# Where to put jk logs
JkLogFile logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel error
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
# JkOptions indicates to send SSK KEY SIZE
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat
JkRequestLogFormat "%w %V %T"
JkShmFile logs/jk.shm
JkShmSize 1024
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995998#3995998
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995998
19 years, 4 months
[JBoss Seam] - Validation Error Messages...
by tony.herstell@gmail.com
Getting a validation message raised in an Action to appear in the GUI next to the right field?
| if (usernameExists) {
| //facesMessages.addFromResourceBundle(FacesMessage.SEVERITY_WARN, "username", "user_create_username_exists");
| facesMessages.addFromResourceBundle("submitAttempt", "user_create_username_exists");
| return null;
| } else {
|
| <div align="right">
| <ice:outputLabel for="username" value="#{messages.label_username}"/>
| </div>
| <s:decorate>
| <ice:inputText id="username" value="#{user.username}"
| required="true" title="#{messages.hint_username}" /> <!-- partialSubmit="true" - Don't use yet as something eats the input focus [Bug with IceFaces team]-->
| </s:decorate>
| <ice:outputText value="#{messages.tag_mandatory}" styleClass="mandatory" />
| <ice:outputText value=""/>
| <div align="left">
| <ice:message errorClass="error" for="username" />
| </div>
| <ice:outputText value=""/>
|
| <ice:panelGrid columns="2" width="100%">
| <div align="right">
| <ice:commandButton action="#{userRegistrationManager.cancel}" value="#{messages.button_cancel}" immediate="true" type="submit" />
| <ice:commandButton id="submitAttempt" type="submit" value="#{messages.button_create}" action="#{userRegistrationManager.processUserDetails}" styleClass="button" /> <!-- disabled="#{!user.readyForSubmission}" -->
| </div>
| </ice:panelGrid>
|
| <ice:panelGrid columns="1">
| <ice:message infoClass="error" for="submitAttempt" />
| </ice:panelGrid>
|
In the above code segment I want to see the error message with the username (as per the commented out line) field as apposed to the button... however how do you make it appear?
The severtity appears to have no effect.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995995#3995995
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995995
19 years, 4 months