[JBoss Portal Users] - Re: Only GET supported?
by thinwath
Hi Andy,
yes I've problems with post forms.
Example:
<form method="post" action="/portal/authsec/portal/Portlet_Window">
| <input type="hidden" name="action" value="1" />
| <input type="test" name="user_name" value="" />
| <input type="submit" name="submit" value="submit" />
| </form>
|
When this form is submitted no "processAction" method will be triggerd. Change the method to GET - it will work.
I've found a workaround (?) for this problem
<form method="post" action="/portal/authsec/portal/Portlet_Window?action=1">
| <input type="test" name="user_name" value="" />
| <input type="submit" name="submit" value="submit" />
| </form>
|
This piece of code will trigger the action method. The Portal has Version 2.7.0
Dunno why first solution doesn't work.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266250#4266250
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266250
16 years, 7 months
[Installation, Configuration & Deployment] - Re: User-specified log class 'org.apache.commons.logging.imp
by delbd
sorry, did not specify, informations about jboss:
jvm 1 | 09:52:36,250 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)
| jvm 1 | 09:52:36,250 INFO [ServerImpl] Bootstrap URL: null
| jvm 1 | 09:52:36,250 INFO [ServerImpl] Home Dir: /web/intraweb/apps/jboss-5.1.0.GA
| jvm 1 | 09:52:36,251 INFO [ServerImpl] Home URL: file:/web/intraweb/apps/jboss-5.1.0.GA/
| jvm 1 | 09:52:36,251 INFO [ServerImpl] Library URL: file:/web/intraweb/apps/jboss-5.1.0.GA/lib/
| jvm 1 | 09:52:36,252 INFO [ServerImpl] Patch URL: null
| jvm 1 | 09:52:36,252 INFO [ServerImpl] Common Base URL: file:/web/intraweb/apps/jboss-5.1.0.GA/common/
| jvm 1 | 09:52:36,252 INFO [ServerImpl] Common Library URL: file:/web/intraweb/apps/jboss-5.1.0.GA/common/lib/
| jvm 1 | 09:52:36,252 INFO [ServerImpl] Server Name: default
| jvm 1 | 09:52:36,252 INFO [ServerImpl] Server Base Dir: /web/intraweb/apps/jboss-5.1.0.GA/server
| jvm 1 | 09:52:36,252 INFO [ServerImpl] Server Base URL: file:/web/intraweb/apps/jboss-5.1.0.GA/server/
| jvm 1 | 09:52:36,253 INFO [ServerImpl] Server Config URL: file:/web/intraweb/apps/jboss-5.1.0.GA/server/default/conf/
| jvm 1 | 09:52:36,253 INFO [ServerImpl] Server Home Dir: /web/intraweb/apps/jboss-5.1.0.GA/server/default
| jvm 1 | 09:52:36,253 INFO [ServerImpl] Server Home URL: file:/web/intraweb/apps/jboss-5.1.0.GA/server/default/
| jvm 1 | 09:52:36,253 INFO [ServerImpl] Server Data Dir: /web/intraweb/apps/jboss-5.1.0.GA/server/default/data
| jvm 1 | 09:52:36,253 INFO [ServerImpl] Server Library URL: file:/web/intraweb/apps/jboss-5.1.0.GA/server/default/lib/
| jvm 1 | 09:52:36,253 INFO [ServerImpl] Server Log Dir: /web/intraweb/apps/jboss-5.1.0.GA/server/default/log
| jvm 1 | 09:52:36,253 INFO [ServerImpl] Server Native Dir: /web/intraweb/apps/jboss-5.1.0.GA/server/default/tmp/native
| jvm 1 | 09:52:36,254 INFO [ServerImpl] Server Temp Dir: /web/intraweb/apps/jboss-5.1.0.GA/server/default/tmp
| jvm 1 | 09:52:36,254 INFO [ServerImpl] Server Temp Deploy Dir: /web/intraweb/apps/jboss-5.1.0.GA/server/default/tmp/deploy
| jvm 1 | 09:52:37,003 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/web/intraweb/apps/jboss-5.1.0.GA/server/default/conf/bootstrap.xml
| jvm 1 | 09:52:37,745 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
| jvm 1 | 09:52:37,748 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
| jvm 1 | 09:52:38,099 INFO [CopyMechanism] VFS temp dir: /web/intraweb/apps/jboss-5.1.0.GA/server/default/tmp
| jvm 1 | 09:52:38,100 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
| jvm 1 | 09:52:39,777 INFO [ServerInfo] Java version: 1.6.0_17,Sun Microsystems Inc.
| jvm 1 | 09:52:39,777 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
| jvm 1 | 09:52:39,777 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 14.3-b01,Sun Microsystems Inc.
| jvm 1 | 09:52:39,777 INFO [ServerInfo] OS-System: Linux 2.6.24-24-xen,amd64
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266235#4266235
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266235
16 years, 7 months
[MQ] - Hibernate post delete event listner
by aejaz
The class looks like this:
public class MyClass implements PostDeleteEventListener,
PostInsertEventListener, PostUpdateEventListener, Initializable {
public void onPostDelete(PostDeleteEvent event) {
System.out.println("Post delete event");
}
public void onPostInsert(final PostInsertEvent event) {
System.out.println("Post insert event");
}
public void onPostUpdate(final PostUpdateEvent event) {
System.out.println("Post update event");
}
public void initialize(final Configuration config) {
}
}
persistence.xml values:
property
name="hibernate.ejb.event.post-insert"
value="org.hibernate.ejb.event.EJB3PostInsertEventListener, com.dgrid.htflex.services.util.MyClass"
property
name="hibernate.ejb.event.post-update"
value="org.hibernate.ejb.event.EJB3PostUpdateEventListener, com.dgrid.htflex.services.util.MyClass"
property
name="hibernate.ejb.event.post-delete"
value="org.hibernate.ejb.event.EJB3PostDeleteEventListener, com.dgrid.htflex.services.util.MyClass"
Problem is that System.out messages are coming on inserting a row in db and updating a row in db. But on a row deletion System.out message is not coming.
jboss-5.0.0.GA is used.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266231#4266231
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266231
16 years, 7 months
[MQ] - Re: PostDeleteEventListener call
by aejaz
The class looks like this:
public class MyClass implements PostDeleteEventListener,
PostInsertEventListener, PostUpdateEventListener, Initializable {
public void onPostDelete(PostDeleteEvent event) {
System.out.println("Post delete event");
}
public void onPostInsert(final PostInsertEvent event) {
System.out.println("Post insert event");
}
public void onPostUpdate(final PostUpdateEvent event) {
System.out.println("Post update event");
}
public void initialize(final Configuration config) {
}
}
persistence.xml values:
property
name="hibernate.ejb.event.post-insert"
value="org.hibernate.ejb.event.EJB3PostInsertEventListener, com.dgrid.htflex.services.util.MyClass"
property
name="hibernate.ejb.event.post-update"
value="org.hibernate.ejb.event.EJB3PostUpdateEventListener, com.dgrid.htflex.services.util.MyClass"
property
name="hibernate.ejb.event.post-delete"
value="org.hibernate.ejb.event.EJB3PostDeleteEventListener, com.dgrid.htflex.services.util.MyClass"
Problem is that System.out messages are coming on inserting a row in db and updating a row in db. But on a row deletion System.out message is not coming.
jboss-5.0.0.GA is used.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266230#4266230
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266230
16 years, 7 months
[MQ] - Re: PostDeleteEventListener call
by aejaz
The class looks like this:
public class MyClass implements PostDeleteEventListener,
PostInsertEventListener, PostUpdateEventListener, Initializable {
public void onPostDelete(PostDeleteEvent event) {
System.out.println("Post delete event");
}
public void onPostInsert(final PostInsertEvent event) {
System.out.println("Post insert event");
}
public void onPostUpdate(final PostUpdateEvent event) {
System.out.println("Post update event");
}
public void initialize(final Configuration config) {
}
}
persistence.xml values:
Problem is that System.out messages are coming on inserting a row in db and updating a row in db. But on a row deletion System.out message is not coming.
jboss-5.0.0.GA is used.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266229#4266229
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266229
16 years, 7 months
[MQ] - PostDeleteEventListener call
by aejaz
The class looks like this:
public class MyClass implements PostDeleteEventListener,
PostInsertEventListener, PostUpdateEventListener, Initializable {
public void onPostDelete(PostDeleteEvent event) {
System.out.println("Post delete event");
}
public void onPostInsert(final PostInsertEvent event) {
System.out.println("Post insert event");
}
public void onPostUpdate(final PostUpdateEvent event) {
System.out.println("Post update event");
}
public void initialize(final Configuration config) {
}
}
persistence.xml values:
Problem is that System.out messages are coming on inserting a row in db and updating a row in db. But on a row deletion System.out message is not coming.
jboss-5.0.0.GA is used.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266228#4266228
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266228
16 years, 7 months