[JCA/JBoss] - how to configure the default database DefaultDS to oracle in
by jack0501
I tried to configure the default database DefaultDS to oracle 9i in the clustered environment.
The step I did is in the following:
1. delete the hsqldb.xml.
2. configure DefaultDS datasource to oracle in the oracle-ds.xml
3. change login-config.xml, oracle-jdbc2-service.xml and oracle-jdbc-state-service.xml file to use DefaultDS.
When I start the jboss, the exception occur in the jboss console. When I check the database, I found 5 tables created in order to use the JMS feature, I can not found the HILOSequence table which supposed to create in the database.
I really appreciate some one help.
Thanks.
Jack
The error message is in the following:
--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
State: FAILED
Reason: java.sql.SQLException: ORA-00942: table or view does not exist
I Depend On:
jboss:service=TransactionManager
jboss.jca:name=DefaultDS,service=DataSourceBinding
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
State: FAILED
Reason: java.sql.SQLException: ORA-00942: table or view does not exist
I Depend On:
jboss:service=TransactionManager
jboss.jca:name=DefaultDS,service=DataSourceBinding
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959295#3959295
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959295
19 years, 9 months
[JBoss jBPM] - Portlet preferences not persisted
by PeterJ
I am trying to update the portlet preferences within my code, but the preferences are not being persisted. I have based my code on what I found in the WeatherPortlet. I even added debugging to the WeatherPortlet to see how it was doing things. Here is the code:
public void processAction(ActionRequest request, ActionResponse response) throws PortletException {
| String newZip = request.getParameter("newzip");
| log.debug("newZip=" + newZip);
| if(null != newZip) {
| PortletPreferences prefs = request.getPreferences();
| try {
| prefs.setValue("RssXml", RSS_URL_PREFIX + newZip);
| prefs.store();
| String xxx = prefs.getValue("RssXml", null);
| log.debug("RssXml=" + xxx);
| } catch(Exception e) {
| e.printStackTrace();
| }
| }
| response.setRenderParameter("newzip", RSS_URL_PREFIX + newZip);
| response.setPortletMode(PortletMode.VIEW);
| }
And here is what shows up on the log file (sans leading junk):
newZip=92691
| RssXml=http://xml.weather.yahoo.com/forecastrss?p=33145
The 33145 zip is what is configured in portal.xml. So immediately after setting the preference and storing it, it disappears and reverts back to the original setting.
Should I open a JIRA issue?
Using: JBoss 4.0.4-GA, JBoss Portal 2.4.0-CR1, JDK 5.0
Standard disclaimer: I searched through the forum, JIRA, and even did a general google and could not find anything on this topic.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959294#3959294
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959294
19 years, 9 months
[JBoss Seam] - Re: Facelets: Parameters to custom tags
by MSchmidke
Yes ... and no ... :-)
Nearly everything you wrote is correct. Only one problem: kontozeile.xhtml is only doing part of what I want.
Remember the first "outputText" element in the kontozeile. It works perfect. But it's only there for debugging purposes. I was wondering: is there a local variable named konto inside of kontozeile? outputText proves: there is. As I excpected.
But what I really want is not this first outputText. The second one is it. The call to method getWert() of the corresponding Seam Bean (named kontoname, class Kontoname - look at my very first posting). I try to inject that obviously existing variable named "konto" into that bean. But it doesn't arrive there.
In other words: the variable does exist, but it is uninjectable. Why????
Thank you very much for your patience so far!
Marcus.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959289#3959289
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959289
19 years, 9 months
[JBoss Portal] - Re: Please explain the Portal URL - /portal/portal
by hamptont
Julian, I would love to hear your thoughts on this ?
I agree that it is useful to use a CMS along with a Portlet Server. I just don't see the need for the two to be the same product.
The CMS should be a service that can be used to implenent Portlets to manage the CMS. Why do those CMS management portlets need to be coupled to the Portlet Server to do that.
I think an architecture that decouples the CMS from the portal server but provides a set of CMS Management portlets would be better.
Why is it necessary to couple the CMS with the Portlet Server ? What extra functionality can you provide that couldn't otherwise be achieved ?
And if the CMS is so integral to the portal server why do you need a separate namespace for it. /context/portal vs. /context/cms. That looks like separate apps to me.
I don't care so much if the CMS is in the portal or not, since I'm not going to use it anyway. But I do care that the portal URLs are being mangled to get it there and that is causing me issues with a production system.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959286#3959286
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959286
19 years, 9 months