[JBoss-user] [Clustering/JBoss] - Re: Data file synchronization

2006-06-22 Thread andytsoy
THX~~ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952859#3952859 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3952859 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly

[JBoss-user] [Clustering/JBoss] - Data file synchronization

2006-06-20 Thread andytsoy
Dear all, I am using JBoss 4.0.3sp1 . I have some applications that need to read some xml files in the server. In two nodes, there have 2 set of xml files. I want that if I change the file in 1 node, the other node can also change its local copy. I know I can put in farm directory, but

[JBoss-user] [JBoss Portal] - Question on JBoss Portal in cluster

2006-06-13 Thread andytsoy
Dear all, JBoss 4.0.3ps1 + JBoss Portal 2.2.1sp1 In my cluster, there are 2 nodes. When I start JBoss in node A, I can view the Portal and login. When I start JBoss in node B, I can also view the Portal, however, it is directed to the login page instead of the default page. When I login with

[JBoss-user] [Clustering/JBoss] - Clustering auto-discovery -- TCP

2006-06-12 Thread andytsoy
Dear all, JBoss-4.0.3sp1 + JBoss Portal I want to use TCP instead of UDP in clustering because my company's restriction. Can anyone help me on the following? In cluster-server.xml, I set the flag to true to disable udp auto discovery : !-- A flag to disable the auto discovery via multicast

[JBoss-user] [JBoss Portal] - JBoss Portal Cluster :Can use TCP?

2006-06-11 Thread andytsoy
Dear all, JBoss 4.0.3sp1 + JBoss Portal 2.2.1 In my cluster, when I point to server A in IE(e.g. http://altair:8180/portal), it can show the default portal page and can login to the portal. But when I point to server B, it shows the login page of the portal, when I input admin/admin, it has

[JBoss-user] [JBoss Portal] - Re: JBoss Portal on Cluster

2006-06-11 Thread andytsoy
I have build portal for the source, it works fine to Start JBoss. So it means the guidline of manual setup for the binary may miss some of the setting. Thanks for the advise. (But it seems the portal use UDP to communicate between node, My compant is restricted to use UDP, I don't know how to

[JBoss-user] [JBoss Portal] - JBoss Portal on Cluster

2006-06-09 Thread andytsoy
Dear all, JBoss-4.0.3 + JBoss Portal 2.2.1 I want to run JBoss Portal in cluster. I have set all the xml files as shown in the JBoss Portal document site to support clustering. However, when I start the server, there are many exceptions. I guess it is related to HASingleton, but I didn't

[JBoss-user] [JBoss Portal] - [Help] JBoss Portal Roles and Users

2006-05-19 Thread andytsoy
Dear All, Platform: JBoss 4.0.3sp1 + JBoss Portal 2.2.1 Database for portal: Oracle When I use JBoss Portal 2.2.0, after login as admin role, it will have a List all user link in User portlet, However, after upgrading to Portal 2.2.1, this link disappeared. Can anyone help me to show

[JBoss-user] [JBoss Portal] - Disable create user

2006-05-17 Thread andytsoy
Dear all, Platform: JBoss 4.0.3 sp1 + JBoss Portal 2.2.1 In the User Portlet, there is an message : Don't have an account yet? You can create one How can I disable it? Because I don't want to let the guest to create accouts. On the other hand, I see a table to log the user last login time,

[JBoss-user] [JBoss Portal] - JBoss Portal Concurrent login

2006-05-17 Thread andytsoy
Dear All, Platform: JBoss 4.0.3-sp1 + JBoss Portal 2.2.1 I am using Oracle DB for JBoss Portal, I found that JBoss Portal allow concurrent login , How can I ensure that 1 single account only allow 1 user to login at a time but not at the same time, 2 users use the same account? Thank you!

[JBoss-user] [JBoss Portal] - Re: [HELP] File Upload Question

2006-03-29 Thread andytsoy
I am the core deveper of my portal. I have commited the changed and everything work fine. For more detail. In the JSP page, you should have a form like : input type=file .. In the portlet corresponding .java public void processAction(JBossActionRequest aReq, JBossActionResponse aRes)

[JBoss-user] [JBoss Portal] - Re: [HELP] File Upload Question

2006-03-28 Thread andytsoy
you can read the code for JBos portal 2.2 source code \jboss-portal-2.2.0-src\core\src\main\org\jboss\portal\core\portlet\cms\admin\CMSAdminPortlet.java Method processAction() for op=UPLOAD_CONTENT you can also see cms in the portal interface in the IE In the JSP, use actioNURL instead of

[JBoss-user] [JBoss Portal] - Re: [HELP] File Upload Question

2006-03-25 Thread andytsoy
I have fixed the problem. In JBoss Portal 2.2 . It has implement the commons-fileupload.jar. The only thing is to call u . In the jsp, Use ActionURL In the portlet core, it will call processAction method. You can take a reference of the code in JBoss portal 2.2 cms portlet. Thx! View the

[JBoss-user] [JBoss Portal] - JBoss 4.0.2 +JBoss Portal- You cannot set autocommit during

2006-03-13 Thread andytsoy
Dear all, JBoss 4.0.2 + JBoss Portal + Oracle When I use JBoss Portal (localhost:8080/portal) to call my portlet to do some database access in my JAVA class, it will connect to Oracle database and run the statement ?connection.setAutoCommit(false)?( Because I may need rollback). When I call