[Beginner's Corner] - JBoss-web.xml no longer read after moving root context.
by Jeffrey Schultz
Jeffrey Schultz [http://community.jboss.org/people/jschultz] created the discussion
"JBoss-web.xml no longer read after moving root context."
To view the discussion, visit: http://community.jboss.org/message/633903#633903
--------------------------------------------------------------
I am using JBoss 4.2.3 and have relocated the root context by defining a Context element in the jboss/server/profile/deploy/jboss-web.deployer/server.xml file. This allows me to move the root context into a folder within our application folder, which is managed by end-users. I am trying to setup security on a couple of static files within the root context by creating a web.xml and jboss-web.xml under the WEB-INF folder, but it seems that after I move the root context that the jboss-web.xml is no longer used. Note that this does work before I move the root context.
Is there something extra that I have to do if I move the root context? I also deleted the ROOT.war folder from the jboss-web.deployer folder, since it is now at another location.
web.xml
<security-constraint>
<web-resource-collection>
<web-resource-name>Test</web-resource-name>
<url-pattern>/status/Test1.html</url-pattern>
<url-pattern>/status/Test2.html</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>miuser</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<description>A user </description>
<role-name>miuser</role-name>
</security-role>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
jboss-web.xml
<jboss-web>
<security-domain>java:/jaas/MyPolicy</security-domain>
</jboss-web>
server.xml
<!-- ADD static images DIRECTORY -->
<Context path="/"
docBase="../../../app-data"
reloadable="true"
allowLinking="true">
</Context>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/633903#633903]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months
[jBPM] - Who can give me explanation of persistence tables?
by stone crasy
stone crasy [http://community.jboss.org/people/free] created the discussion
"Who can give me explanation of persistence tables?"
To view the discussion, visit: http://community.jboss.org/message/633785#633785
--------------------------------------------------------------
<class>org.drools.persistence.info.SessionInfo</class>
<class>org.jbpm.persistence.processinstance.ProcessInstanceInfo</class>
<class>org.drools.persistence.info.WorkItemInfo</class>
<class>org.jbpm.process.audit.ProcessInstanceLog</class>
<class>org.jbpm.process.audit.NodeInstanceLog</class>
<class>org.jbpm.process.audit.VariableInstanceLog</class>
<class>org.jbpm.task.Attachment</class>
<class>org.jbpm.task.Content</class>
<class>org.jbpm.task.BooleanExpression</class>
<class>org.jbpm.task.Comment</class>
<class>org.jbpm.task.Deadline</class>
<class>org.jbpm.task.Comment</class>
<class>org.jbpm.task.Deadline</class>
<class>org.jbpm.task.Delegation</class>
<class>org.jbpm.task.Escalation</class>
<class>org.jbpm.task.Group</class>
<class>org.jbpm.task.I18NText</class>
<class>org.jbpm.task.Notification</class>
<class>org.jbpm.task.EmailNotification</class>
<class>org.jbpm.task.EmailNotificationHeader</class>
<class>org.jbpm.task.PeopleAssignments</class>
<class>org.jbpm.task.Reassignment</class>
<class>org.jbpm.task.Status</class>
<class>org.jbpm.task.Task</class>
<class>org.jbpm.task.TaskData</class>
<class>org.jbpm.task.SubTasksStrategy</class>
<class>org.jbpm.task.OnParentAbortAllSubTasksEndStrategy</class>
<class>org.jbpm.task.OnAllSubTasksEndParentEndStrategy</class>
<class>org.jbpm.task.User</class>
like userguide's
h2. Chapter 7. Core Engine: Persistence and transactions:
+NodeInstanceLog:+ This table contains more detailed information about which nodes were actually executed inside each process instance. Whenever a node instance is entered from one of its incomming connections or is exited through one of its outgoing connections, that information is stored in this table. For this, it stores the process instance id and the process id of the process instance it is being executed in, and the node instance id and the corresponding node id (in the process definition) of the node instance in question. Finally, the type of event (0 = enter, 1 = exit) and the date of the event is stored as well.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/633785#633785]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months
[JBoss Cache] - ClassNotFoundException in clustered cache
by Michal Glowacki
Michal Glowacki [http://community.jboss.org/people/mglowacki] created the discussion
"ClassNotFoundException in clustered cache"
To view the discussion, visit: http://community.jboss.org/message/633791#633791
--------------------------------------------------------------
hi,
I have recently set up loadbalancing, with 2 JBosses running as single nodes and loadbalanced by Apache. The problem is, that there are data written to cache, so cache needs to be replicated. I have set up jgroups and cluster of those 2 caches. On 1st machine, it's working, on 2nd it creates, and then destroys as ClassNotFoundException is thrown - I assume when replicating cache data. The missing class is one of the classes from my WAR archive, but it is available on 2nd machine as well.
Are there any restrictions on location of replicated classes? I have some classes in lib folder (JARs) and they are replicated without problem.
I am using JBoss Cache 3, CacheJMXWrapper set up using mbean xml.
Regards,
Michal
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/633791#633791]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months