[Installation, Configuration & Deployment] - Re: strange! halt of jboss + DB2(XA)
by richard_djs
This is the warn infomation in server.log.
2006-12-05 15:40:10,242 WARN [org.jboss.tm.TransactionImpl] Transaction TransactionImpl:XidImpl[FormatId=257, GlobalId=d31287/89, BranchQual=, localId=89] timed out. status=STATUS_ACTIVE
2006-12-05 15:41:23,351 WARN [org.jboss.tm.TransactionImpl] Transaction TransactionImpl:XidImpl[FormatId=257, GlobalId=d31287/91, BranchQual=, localId=91] timed out. status=STATUS_ACTIVE
2006-12-05 15:41:35,664 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] Running RemoverTask
2006-12-05 15:41:35,664 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] RemoverTask, PassivatedCount=0
2006-12-05 15:41:35,664 DEBUG [org.jboss.ejb.plugins.AbstractInstanceCache] removePassivated, now=1165304495664, maxLifeAfterPassivation=1200000
2006-12-05 15:41:35,664 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] RemoverTask, done
2006-12-05 15:41:54,633 WARN [org.jboss.tm.TransactionImpl] Transaction TransactionImpl:XidImpl[FormatId=257, GlobalId=d31287/97, BranchQual=, localId=97] timed out. status=STATUS_ACTIVE
2006-12-05 15:41:54,664 WARN [org.jboss.tm.TransactionImpl] Transaction TransactionImpl:XidImpl[FormatId=257, GlobalId=d31287/98, BranchQual=, localId=98] timed out. status=STATUS_ACTIVE
2006-12-05 15:42:03,086 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 450000
2006-12-05 15:49:33,086 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 450000
2006-12-05 15:51:31,992 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] Running RemoverTask
2006-12-05 15:51:31,992 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] RemoverTask, PassivatedCount=0
2006-12-05 15:51:31,992 DEBUG [org.jboss.ejb.plugins.AbstractInstanceCache] removePassivated, now=1165305091992, maxLifeAfterPassivation=1200000
2006-12-05 15:51:31,992 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] RemoverTask, done
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991201#3991201
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991201
19 years, 7 months
[JBoss Eclipse IDE (users)] - Eclipse and jbosside building workspace problems
by markjb
Hi,
Our project includes EJB 2.1 and we use eclipse,jbosside and xdoclet in our env and we have several problems that effect the develpoment time:
eclipse version 3.1.1
jbosside version 1.5.1
We have a build process (ant) that executes xdoclet which creates home,remote,local interfaces and insert them into the src directory.
the ant also compiles all src directory and then package the jars,ejb-jars and one ear.
the minute we start to change a src file in the eclipse then the eclipse starts to do building workspace (Build automatically is on in the eclipse) which means the eclipse is stuck until it removes all the classes in the output directory, compile all the src (compile by eclipse compiler) and then it is possible to continue working.
so it means after each build we do we have to wait along time for the eclipse to be ready again.
1. is there a way to tell the eclipse not to compile all the src again because the only change of the code is the new ejb interfaces (I read eclipse has incremental build which compiles only the diffs )?
2. is there another way to work with xdoclet and jbosside for better results?
thanks,
Mark
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991199#3991199
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991199
19 years, 7 months
[JBoss Portal] - configuring default dir in cms
by purna_cherukuri
Hi.
I am using jboss-portal-4.0.2. I want to configure CMS service to look into a different folder which is not there inside application. So i have modified jboss-service.xml in /deploy/jboss-portal.sar/portal-cms.sar/META-INF/jboss-service.xml accordingly. I have modified like below.
| <attribute name="DoChecking">true</attribute>
| <attribute name="DefaultContentLocation">C:\Documents and Settings\194457\Desktop\PersonalPics</attribute>
| <attribute name="DefaultLocale">en</attribute>
| <attribute name="RepositoryName">Repotest</attribute>
| <attribute name="HomeDir">${jboss.server.data.dir}${/}portal${/}cms${/}conf</attribute>
|
|
Modified DefaultContentLocation variable to my required directory. Is it enough? It is not taking it as a default dir. It is still showing old default directory in CMS Admin portlet.
Wht else should i need to change?
Thanks in advance...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991195#3991195
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991195
19 years, 7 months
[Tomcat, HTTPD, Servlets & JSP] - .xls is not opening properly in JBoss But the same code open
by kalaiselvane
Hi,
I am facing a weird problem with my xls files when opened thru Jboss in IE 6.
I have a JSP deployed on JBOSS 4.0.4.CR2 which has links to a pdf file and a xls file.
The pdf file opens up normally when the link is clicked on, but when the xls link is clicked it displays some Binary characters in IE6 instead of opening the xls file correctly.
The code of my jsp is as follows:
Code:
***********************************************************
<%
response.setHeader("Pragma", "public");
response.setHeader("Cache-Control", "must-revalidate");
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-Disposition","attachment; filename=July2006.xls");
%>
<h2>Testing File Links</h2>
49396.pdf
July2006.xls
***********************************************************
i have included the MIME Mapping in server/default/deploy/jbossweb-tomcat55.sar/conf/web.xml
<mime-mapping>
xls
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
The same code works fine when run the application in WEBSPHERE but not in JBOSS.
anywhere i made wrong?? .. why is it so?....i dont know what to do.. i have tried a lot...please help me ... i m in dare need of the solution...
Regards,
kalai
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991194#3991194
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991194
19 years, 7 months
[Clustering/JBoss] - Re: same SLSB in multiple clusters
by jotis99
I'm trying to add a Clustered partition name in the jboss.xml since I cannot hardcode it as an annotation (EJB deploeyed in 2 clusters). I've tried numerous combinations and scoured the forums to no avail. Does JBoss support jboss-specific overrides in jboss.xml? THe following did NOT work for me. Is this a JBoss bug or my bug? Do I need an entry ejb-jar.xml at all if I'm only adding stuff in jboss.xml?
NOTE: this web app is garbling my HTML post for the clustered element!
------------
jboss.xml
<enterprise-beans>
<ejb-name>ClusteredSampleImpl</ejb-name>
<clustered>true </clustered>
<cluster-config>
<partition-name>ApplicationPartition</partition-name>
<load-balance-policy>org.jboss.ha.framework.interfaces.RandomRobin</load-balance-policy>
</cluster-config>
</enterprise-beans>
-------------------
<enterprise-beans>
<ejb-name>ClusteredSampleImpl</ejb-name>
</enterprise-beans>
----------------------
where the I have:
@Local
@Remote
public interface ClusteredSample
{
public String ping() ;
public String getSystemProperty(String propertyName) ;
}
@Stateless
public class ClusteredSampleImpl implements ClusteredSample
{
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991192#3991192
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991192
19 years, 7 months
[JBoss Seam] - Re: IllegalArgumentException: value of context variable is n
by SmokingAPipe
Now I have figured out the major part of the problem here. I have an entity with an annotation like @Name("invoice") and then, in my dataTable, I have var="invoice", and that is bad bad bad because somehow it isn't being found or whatever. Moral of the story: Use separate names for the variables in your dataTable iterators as you have in your various contexts. It might work or it might cause a debugging nightmare. I need to get used to the namespaces of Seam. I do wish there were some good debugging utility that would let me see this stuff, but anyway.
For the benefit of Google: I googled for this exception and noticed that I'm the first to mention it in any forum or anywhere, so anyone else who gets it will find this page and should look in their jsps for this. The exception is:
Caused by: java.lang.IllegalArgumentException: value of context variable is not an instance of the component bound to the context variable:
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991191#3991191
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991191
19 years, 7 months
[JBoss Seam] - IllegalArgumentException: value of context variable is not a
by SmokingAPipe
What could cause this exception:
Caused by: java.lang.IllegalArgumentException: value of context variable is not an instance of the component bound to the context variable: price
| at org.jboss.seam.Component.getInstance(Component.java:1639)
| at org.jboss.seam.Component.getInstance(Component.java:1594)
| at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:46)
| at org.apache.myfaces.custom.redirectTracker.RedirectTrackerVariableResolver.resolveVariable(RedirectTrackerVariableResolver.java:41)
| at org.apache.myfaces.custom.security.SecurityContextVariableResolver.resolveVariable(SecurityContextVariableResolver.java:45)
| at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
| at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:574)
| at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
| at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:140)
| at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:383)
| ... 40 more
|
This is totally baffling to me. I have a form which displays fine, and then when I try to change the price.foo setting and hit "submit", I get a "EvaluationException: Cannot get value for expression '#{price.foo}'" which is caused by the exception above.
One possibility is that I should write a data transfer object and put that in my stateful session bean, and when the user clicks "submit", the session bean will copy the info from the data transfer object into the persistent entity. But I thought the entire purpose of Seam was to get rid of such ugly coding styles. Any ideas?
This is with Jboss 4.05 JEMS beta 3, Seam 1.1rc2, and all in Java 6.
Any ideas would be appreciated. If I'm going to have to write a bunch of data transfers objects, I might as well not use Seam, right? But I don't see posts of other people doing that so I'm confused.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991189#3991189
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991189
19 years, 7 months
[Tomcat, HTTPD, Servlets & JSP] - JSF JBoss question
by fbrody
Hi I?m evaluating some frameworks at the moment at work (Spring, Tapestry, WebWork and JSF), and am hoping that someone could help me out with this question, the App Server were using is JBoss
Is Jboss pushing JSF and if so are they making it easier for developer to work with this framework over the others??..Have they any feature in there Application server that favour JSf over the other or are they just developing internally with JSF.
Inside the JBoss App server is it a level playing field for all frameworks or is there some advantage to using JSF
Here?s some of the other criteria
Cheers
f
1
Learning Curve for different frameworks
1
Testability
1
Reusable UI components
1
Support for creating very large and complex web-apps with many sub-applications (in otherwords, does the framework do well for rapid prototyping but fall over once we start throwing in more and more functionality?) (This might be the ?growing complexity? one, but not sure)
1
Support for concurrent development. (This might be an easy one to support, but the issue I want to avoid here is people stepping on each other?s toes when we do parallel development.)
1
Ease Integration with FB2
2
Reusable page layouts
2
Support forum or user group or commercial
2
Tools - Eclipse, IntelliJ and Emacs Integration
2
JDK1.5 Support Enum and Annotation
2
Market Share of Framework
Features - 40%
1
Bookmarkability deep links
1
Internationalization
1
Support for Browser Back button
1
Support for Browser Refresh button
1
Better timeout support (warnings and ability to save drafts)
1
Future support for Autosave (similar to Google Spreadsheets)
2
Built-in input validation
2
Ajax Integration
2
Ability to create breadcrumbs (state/history management with bookmarkability)
3
Any Built-in PDF support
3
Coexistance of frameworks minimize the risk of relying on a single framework
3
Future support for Multiple undos and redos (similar to Google Spreadsheets)
3
Future support for Capturing keyboard commands (similar to Yahoo Mail Beta)
3
Future support for Right-click menus (similar to Yahoo Mail Beta)
Performance - 20%
2
Performance of each framework
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991185#3991185
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991185
19 years, 7 months
[JBoss Seam] - Seam JSF question
by fbrody
Hi I?m evaluating some frameworks at the moment at work (Spring, Tapestry, WebWork and JSF), and am hoping that someone could help me out with this question, the App Server were using is JBoss
Is Jboss pushing JSF and if so are they making it easier for developer to work with this framework over the others??..Have they any feature in there Application server that favour JSf over the other or are they just developing internally with JSF.
Inside the JBoss App server is it a level playing field for all frameworks or is there some advantage to using JSF
This is some of the other criteria
cheers
f
1
Learning Curve for different frameworks
1
Testability
1
Reusable UI components
1
Support for creating very large and complex web-apps with many sub-applications (in otherwords, does the framework do well for rapid prototyping but fall over once we start throwing in more and more functionality?) (This might be the ?growing complexity? one, but not sure)
1
Support for concurrent development. (This might be an easy one to support, but the issue I want to avoid here is people stepping on each other?s toes when we do parallel development.)
1
Ease Integration with FB2
2
Reusable page layouts
2
Support forum or user group or commercial
2
Tools - Eclipse, IntelliJ and Emacs Integration
2
JDK1.5 Support Enum and Annotation
2
Market Share of Framework
1
Bookmarkability deep links
1
Internationalization
1
Support for Browser Back button
1
Support for Browser Refresh button
1
Better timeout support (warnings and ability to save drafts)
1
Future support for Autosave (similar to Google Spreadsheets)
2
Built-in input validation
2
Ajax Integration
2
Ability to create breadcrumbs (state/history management with bookmarkability)
3
Any Built-in PDF support
3
Coexistance of frameworks minimize the risk of relying on a single framework
3
Future support for Multiple undos and redos (similar to Google Spreadsheets)
3
Future support for Capturing keyboard commands (similar to Yahoo Mail Beta)
3
Future support for Right-click menus (similar to Yahoo Mail Beta)
2
Performance of each framework
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991184#3991184
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991184
19 years, 7 months
[Installation, Configuration & Deployment] - strange! halt of jboss + DB2(XA)
by richard_djs
I have got an big problem on my J2EE project which was deployed on JBOSS, and my configuation is jboss-4.0.4 + DB2(Version: 8.1.7.445).
It works correctly when the code is looking like this
start a transation...
insert into table OR update table
submit the transation
And it will halt at STEP3 when the code is looking like this
STEP1: start a transation...
STEP2: insert into table1 ... OR update table1
STEP3: insert into table2 ... OR update table2
STEP4: submit the transation
then an exception will be caught like this "11:39:02,216 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl[FormatId=257, GlobalId=d31287/91, BranchQual=, localId=91] timed ut. status=STATUS_ACTIVE"
How to make it work correctly? I deployed my project as the jboss-4.0.4\docs\examples\jca\db2-xa-ds.xml said.
By the way, when I deploy my project on WEBLOGIC+DB2, it works OK.
What should I do?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991178#3991178
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991178
19 years, 7 months
[Security & JAAS/JBoss] - untrusted server cert chain - Please Help!
by sonoerin
Not sure if this is the correct forum, but I really need some help with this and it seemed logical.
I have an existing application running on JBoss (not sure what version, but I am guessing 3.x) that connects to a third party server via SSL. The third party certificate recently expired. They updated it but I still get this message:
javax.net.ssl.SSLException: untrusted server cert chain
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(DashoA6275)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
at java.io.OutputStream.write(OutputStream.java:56)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)
I am just not sure what I am supposed to do so that my application can use the new application.
-> Do I need a copy of the vendors certificate stored locally?
-> Do I need to use the keytool to establish a link?
-> I saw directions on the wiki for creating a SSL certificate, but it didn't seem to apply here (granted, I have no idea what I am doing here!)
Again, I really need help with this - its a brand new area for me.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991175#3991175
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991175
19 years, 7 months
[JBoss AOP] - Re: Can't read parameter annotations through reflection
by dwl8
Thank you both for your replies.
flavia, all my annotations are set to RetentionPolicy.RUNTIME. If only that was the issue... :)
stalep, I created a unit test and it read the annotation correctly. It seems that when I deploy it to my app server (Tomcat) the annotation can't be read. Here's a simple class I was using to recreate the issue.
| public class Person {
| private static HashMap<Integer,Person> peopleMap = new HashMap<Integer,Person>();
|
| @ReadLock
| public static Person getPerson(@FirmId Integer firmId) {
| try {
| Method m = Person.class.getMethod("getPerson",Integer.class);
| Annotation[][] paramAnnot = m.getParameterAnnotations();
| for(Annotation[] a : paramAnnot) {
| System.out.println("# of Annotations Found: " + a.length);
| //log.debug("# of Annotations Found: " + a.length);
| }
| } catch(NoSuchMethodException e) {
| System.out.println("Method not found");
| //log.debug("No Such Method");
| }
| return peopleMap.get(firmId);
| }
|
| public static void main(String[] args) {
| try {
| Method m = Person.class.getMethod("getPerson",Integer.class);
| Annotation[][] paramAnnot = m.getParameterAnnotations();
| for(Annotation[] a : paramAnnot) {
| System.out.println("# of Annotations Found: " + a.length);
| //log.debug("# of Annotations Found: " + a.length);
| }
| } catch(NoSuchMethodException e) {
| System.out.println("Method not found");
| //log.debug("No Such Method");
| }
| }
| }
|
when main is run, i get "# of Annotations Found: 1". However, when I make a call to getPerson after it's been deployed to Tomcat, I get "# of Annotations Found: 0". Strange.
Could anyone give this code a whirl and keep me from losing my sanity?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991174#3991174
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991174
19 years, 7 months
[JBoss AOP] - Re: Obscure error message
by fabiocsilva
Only to complement (xml complete):
|
| <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
| <aop>
| <aspect class="aspects.distribution.HealthWatcherServerSideAspect"
| scope="PER_VM" />
|
| <aspect class="aspects.distribution.HealthWatcherClientSideAspect"
| scope="PER_VM" />
|
|
|
| <aspect class="aspects.dataManagement.nonpersistent.DataCollectionNonPersistent"
| scope="PER_VM" />
|
|
|
| <aspect class="aspects.dataManagement.persistent.DataCollectionPersistent"
| scope="PER_VM" />
|
|
|
|
| <aspect class="aspects.dataManagement.persistent.PersistenceControlHealthWatcher"
| scope="PER_VM" />
|
| <pointcut
| expr="execution(public void gui.servlets.ServletWebServer->init(javax.servlet.ServletConfig))"
| name="facadeMainExecution" />
|
| <bind pointcut="facadeMainExecution">
| <advice
| aspect="aspects.distribution.HealthWatcherServerSideAspect"
| name="beforeFacadeMainExecution" />
| </bind>
|
|
| <pointcut name="facadeCallers"
| expr="within($instanceof{javax.servlet.http.HttpServlet})" />
|
| <!--
| <pointcut name="facadeCalls"
| expr="call(* controllers.HealthWatcherFacade->*(..)) AND !call(static * controllers.HealthWatcherFacade->*(..))" />
|
| -->
|
| <pointcut name="facadeCalls"
| expr="call(* $instanceof{aspects.distribution.rmi.IRemoteFacade}->*(..)) AND !call(static * $instanceof{aspects.distribution.rmi.IRemoteFacade}->*(..))" />
|
| <bind pointcut="facadeCallers AND facadeCalls">
| <advice
| aspect="aspects.distribution.HealthWatcherClientSideAspect"
| name="aroundFacadeLocalCalls" />
| </bind>
|
|
| <pointcut name="recordsCreation"
| expr="within($instanceof{aspects.dataManagement.util.SystemRecord}) AND !within($instanceof{AbstractDataCollectionCustomization})" />
|
| <introduction
| expr="class(complaint.ComplaintRecord)
| OR class(healthGuide.HealthUnitRecord)
| OR class(healthGuide.MedicalSpecialtyRecord)
| OR class(employee.EmployeeRecord)
| OR class(complaint.DiseaseRecord)">
| <mixin>
| <interfaces>
| aspects.dataManagement.util.SystemRecord
| </interfaces>
| <class>aspects.dataManagement.util.SystemRecordImpl</class>
| <construction>
| new aspects.dataManagement.util.SystemRecordImpl()
| </construction>
| </mixin>
| </introduction>
|
| <bind pointcut="recordsCreation">
| <advice
| aspect="aspects.dataManagement.nonpersistent.DataCollectionNonPersistent"
| name="aroundRecordsCreation" />
|
| <advice
| aspect="aspects.dataManagement.persistent.DataCollectionPersistent"
| name="aroundRecordsCreation" />
| </bind>
|
|
| <!--
| <pointcut name="connectionOperations"
| expr="call(void IPersistenceMechanism->connect()) OR
| call(void IPersistenceMechanism->disconnect())" />
|
| -->
|
| <pointcut name="initSystem"
| expr="call(* controllers.HealthWatcherFacade->new(..))" />
|
|
| <pointcut name="obtainPmInstance"
| expr="call(* aspects.dataManagement.dataCollections.rdbms.PersistenceMechanismRDBMS->getInstance(..))" />
|
| <bind pointcut="initSystem">
| <advice
| aspect="aspects.dataManagement.persistent.PersistenceControlHealthWatcher"
| name="aroundRecordsCreation" />
| </bind>
|
| </aop>
|
|
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991171#3991171
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991171
19 years, 7 months
[JBoss AOP] - Obscure error message
by fabiocsilva
The pointcut
| <pointcut name="initSystem"
| expr="call(* controllers.HealthWatcherFacade->new(..))" />
|
generates the error
| org.jboss.aop.pointcut.ast.PointcutExpressionParser$LookaheadSuccess
| at org.jboss.aop.pointcut.ast.PointcutExpressionParser.<init>(PointcutExpressionParser.java:3126)
| at org.jboss.aop.pointcut.PointcutExpression.<init>(PointcutExpression.java:61)
| at org.jboss.aop.AspectXmlLoader.deployPointcut(AspectXmlLoader.java:639)
| at org.jboss.aop.AspectXmlLoader.deployTopElements(AspectXmlLoader.java:1030)
| at org.jboss.aop.AspectXmlLoader.deployXML(AspectXmlLoader.java:886)
| at org.jboss.aop.AspectXmlLoader.deploy(AspectXmlLoader.java:1206)
| at org.jboss.aop.AspectXmlLoader.deployXML(AspectXmlLoader.java:1232)
| at org.jboss.aop.deployment.AspectDeployer.create(AspectDeployer.java:167)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy8.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:490)
|
|
I don't understand the problem
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991169#3991169
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991169
19 years, 7 months
[Installation, Configuration & Deployment] - No ejb-relationship-role-name element found
by jain_prabhat
I was trying to migrate from weblogic to Jboss 3.2.7 I have added all the Jboss related xdoclet tags and also checked the generated jboss.xml and the jbosscmp-jdbc.xml and everything is looking fine. But whenever I try to deploy I get the above mentioned error though this element is configured in the jbosscmp-jdbc.xml, I am not finding any clues regarding it. Any information about this would be appreciated.
(I updated my xdoclet version to 1.2.3 from 1.2.1 thinking it might be the reason but to no avail ...)
Stack Trace:
2006-12-04 10:00:58,407 ERROR [org.jboss.ejb.EntityContainer] Starting failed jboss.j2ee:jndiName=ejb/xmcs/ReportLocal,service=EJB
org.jboss.deployment.DeploymentException: No ejb-relationship-role-name element found
at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationMetaData.getEJBRelationshipRoleElement(JDBCRelationMetaData.java:442)
at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationMetaData.(JDBCRelationMetaData.java:347)
at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:471)
at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:75)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:721)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:409)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:353)
at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:155)
at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:899)
at $Proxy18.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:415)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy658.start(Unknown Source)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:367)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:899)
at $Proxy18.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:415)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy15.start(Unknown Source)
at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:570)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:821)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991168#3991168
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991168
19 years, 7 months
[Tomcat, HTTPD, Servlets & JSP] - cookies browser problem with ajax
by enazareno
Hi,
I have a recurring problem regarding cookies. We always have our users accept/unblock cookies in the browser otherwise it can't access especially our ajax routines. It's quite annoying because users might think the application sucks. In our development, even if we block cookies, it works. But when we put it in production, the problem occurs. Our setup is like this - We run Jboss 4.03 in Linux Fedora. Our DNS is hosted in Yahoo and points to our server. This setup is maintained by somebody else, so we can't figure out where the problem is. I was assuming when I would check say, www.mysite.com, it would return the IP of our server. Instead it returns a Yahoo IP address. Is there a problem with that setup? Also I noticed when browsing pages, our url does not change. It steadies at www.mysite.com. I was thinking it should have been www.mysite.com/index.htm for example. Thanks a lot. Would appreciate any reply.
Regards,
Elmo
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991165#3991165
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991165
19 years, 7 months
[JBoss Seam] - Re: Using textInput inside a dataTable inside a form?
by SmokingAPipe
Ok, following your suggestion, I removed all the Tomahawk components. Somehow they were working when they shouldn't have been. I removed all of them, and made it only one column, to just display (no input) the field I want to display, and I get an exception with this cause:
"value of context variable is not an instance of the component bound to the context variable"
So I am doing something wrong, I just need to figure out what it is. If I can figure that out, I can probably go back to the Tomahawk components, or whatever, but at least it will be working.
This whole system has so many pitfalls. Right now, if there's any error in a Servlet / JSP type of system, I can look at it and know where the error is within five minutes, because I'm so familiar with it. I feel like with the Seam world right now there are so many new things I'm unsure of where to begin to track bugs down.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991163#3991163
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991163
19 years, 7 months
[JBoss Seam] - Re: Using textInput inside a dataTable inside a form?
by petemuir
"SmokingAPipe" wrote : I put in: <h:messages globalOnly="false"/> after the table, and get no messages. I also turned off all the validation in the various classes. This is 99% a bug in the JSF implementation.
I think you need to produce a simple runnable test case then.
anonymous wrote : There's no reason why it shouldn't hit the "update model values" phase, because if it were dying in the process validations phase, there would be some type of message, right?
There would be a message in h:messages, yes.
anonymous wrote : Surely with all the advanced features of Seam and JSF there's some way for it tell me which phase it's in, what it's doing, etc? In any normal programming system you can trace the values of variables.
Sorry, I'm not in front of the right computer atm so can't give you details but you can do this by attaching a debugger into myfaces.
Also, I've just noticed that you are using tomahawk. You would be much better stripping all that out and reproducing this with just h: components
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991157#3991157
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991157
19 years, 7 months