@ In(required=false)
| private ContentDaoImpl contentDaoImpl;
OR
@In
| private ContentDaoImpl contentDaoImpl;
|
| @Factory(contentDaoImpl)
| public void loadContentDaoImpl(){
| //create it
| //save it to some context
| }
View the original post :
We are planning to use Jboss Portal 2.4 GA.
We would like to know whether the above mentioned Memory Leak problem still
exists in the version Jboss Portal 2.4 GA.
Please help us by providing this information at the earliest.
Thanks Regards,
RS REDDY
View the original post :
How can I used seam in MVC ?
who have example ?
thank you !
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981502#3981502
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981502
Hi all,
Can any body please give help in Setting up JBoss to use the XA
connection and also please help in making changes in the corresponding EJB's
for getting this XA-connection adn updating 2 or more resources
thanks in advance
View the original post :
Thank you. I was able to get enums working. I created a test wsdl with enums
and generated code using wsdl2java. Used that code as a template in the web
service and when jbossws autogenerated wsdl, it created enums !!
Cool.
View the original post :
Hi Saravanan,
In the message
anonymous wrote :
| Caused by: java.rmi.MarshalException: Socket timed out. Waited 180
millisec
| onds for response while calling on InvokerLocator
[socket://172.16.52.1:6450/?ti
| meout=12]; nested exception is:
|
180 really is the
Have a look at:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981506#3981506
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981506
Up !
Does the solution provided worked for you ?
I face the same problem Jboss 3.2.3, Last version of javaservice.exe, Windows
XP, Windows 2003...
JBOSS twice slower than started manually in a DOS concsole.
Regards,
RĂ©mi
View the original post :
Hi ,
me too had a simpilar type of problem and i didn't find the solution if you
had fix that please help me , are any one who is familiar with this kind of
issues please help me ...
Thanks
chutki
View the original post :
Hibernate 3.1, Jboss 4.0.3SP1
I'm trying to get optimistic locking to work, but with no luck.
I'm using Jboss cache 1.4. Configuration of cache and session factory:
server
| mbean code=org.jboss.cache.TreeCache
name=jboss.har:service=HarSecondLevelCache
| attribute
Hibernate 3.1, Jboss 4.0.3SP1
I'm trying to get optimistic locking to work, but with no luck.
I'm using Jboss cache 1.4. Configuration of cache and session factory:
server
| mbean code=org.jboss.cache.TreeCache
name=jboss.har:service=HarSecondLevelCache
| attribute
It didn't work (running store() method), but I guess that when I do get all
this working the load and store are done automatically by JBoss since I set a
Persistence Manager in my descriptor ...
XMBeans .. can specify a PersistenceManager (PM) that is used during XMBean
instantiation to load
Hello,
I would like to have an instance of JBPortal run on Machine A (dev), working
with the CMS Repository that is on Machine B (pre-prod).
Only one repository, for both machines.
(using the repository with the filesystem persistence, but I can use a database
if it is necessary)
How to do it
http://jira.jboss.com/jira/secure/EditIssue!default.jspa?id=12330851
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981513#3981513
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981513
Hi
In my opinion you should create a factory class in which you choose proper
instance to select from database depend on given locale.
for example, if you support two locales you should have something like this:
interface Country {}
class CountryEnglish implement Country{}
class
Hi,
The part that seems to fail is the service invocation (the final Clent run at
the end of the example. All UDDI requests are ok :
| publisher-run:
| [echo] Publish the example ExampleService
| [java] - pulishing :
| [java] uddi inquiry URL =
Hi!
I am brand new to EJB 3.0 programming and I need some help.
I have simple bean class (StatelessTekst1.java):
import org.jboss.annotation.ejb.LocalBinding;
| import javax.ejb.*;
|
| @Stateless
| public class StatelessTekst1 implements tekst1
| {
| public String
You will have to include the jar containing the
org.jboss.annotation.ejb.LocalBinding class, in your classpath. I dont exactly
remember the name of that jar but i guess it is something like
jboss-annotations.jar.
View the original post :
import org.jboss.annotation.ejb.LocalBinding;
| import javax.ejb.*;
|
| @Stateless
| public class StatelessTekst1 implements tekst1
| {
| public String podajTekst(int numer)
| {
| if(numer==1)
| return Hej, udalo sie!;
|
Enum as method argument throws exception at runtime when exposed as Webservice
JBoss 4.0.5GA with EJB3 enabled
I have a stateless session bean with a method that takes a enum as a argument
that I would like to expose as a webservice. The method looks like this
@WebMethod void
I might add that other methods on that bean is exposed as webservices and they
work - and I am able to browse the wsdl
| part of the wsdl
|
| message name=MpSyncMLServer_resetDatabase
| part name=DatabaseType_1 type=tns:DatabaseType /
| /message
| message
anonymous wrote : SF only runs validatation (in this case the
HibernateValidator via the s:validate/s:validateAll tags) if the input field
isn't empty. To check that a field is not null / not an empty string you need
to use the required=true attribute on the JSF component tag.
I use
|
anonymous wrote : I've actually given up on WTP's crummy publish mechanism
| and gone and written a shell script to jar up and deploy the ear by hand.
seam-gen actually has non WTP based build script tasks and that was my original
objective. But, since most newbies really want tooling, I
Hi Arshad,
we have implemented some code that can do easy updates to new process
definitions (in the case when the new process has the same node). That code can
easly be enhanced to give some node-map as tom mentioned.
This code will get into a jbpm action soon, but sadly I havn't got time for
Who was the guy that planned to write a build.xml for the WTP-structure? That
would be the nicest way for me, since I really don't want to refactor the
whole project back to the seam-structure ...
While upgrading Jboss I seem to have secured the jmx console such that the
shutdown script needs
Hi everyone,
i have a problem with mapping on a jboss-4.0.3. I have a simple CMP bean with
attribute of type byte[]. I wan't to map that property to database blob field
(database is Informix). This is the field description in jbosscmp-jdbc.xml
| entity
|
I have a session bean where all methods look like this
| @RolesAllowed(customer)
| public void setName(String name);
|
Now I want to expose that method as a webservice but I have no idea on how to
tell my client the username and password
| URL url = new
Seam does not use knowledge of the type to inject, it uses knowledge of the
Seam component name. So it must be
@In FacesContext facesContext;
Or:
@In(facesContext) FacesContext fc;
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981531#3981531
Reply to the
Correct. But since @IfInvalid is deprecated, I recommend you follow the
suggestion of petemuir.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981532#3981532
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981532
There are no instructions - you must simply replace tomahawk lib used by jboss
with fixed version or add it to WEB-INF/lib dir in your app and enjoy it ;).
Like I wrote earlier, I already fixed tomahawk.jar lib and sent it to myfaces
jira, you can download patch from
@ In(create=true)
| private ContentDaoImpl contentDaoImpl;
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981536#3981536
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981536
I have the similar problems. When I deployed using jbpm starter kit. It works
OK. But in Geronimo, the hibernate connection lost after several hours.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981537#3981537
Reply to the post :
I have a strange problem. I developed some web-services (AXIS-based). DB using
mysql 5.0.26.
In jbpm start kit, it works stable. The service works for more than 1 month
never down.
Then I deployed to Geronimo 1.1, after several hours (more than 8). The
connection seems lost. The error
Hi Ole,
Sorry for the confusion, but I didn't mean to expose overloaded Java methods in
the service endpoint interface. In my case, I want to publish POJO webservice,
which has a single Java method that takes abstract parameter and returns
abstract return value as follow:
public
Yes, it happened that my build script was screwed up, so it wasn't building the
jar file every time I updated the code. After I fixed the buidl script and the
jar file got built, everything worked. Unfortunately, I don't know what the
problem was that was causing the error, since I mucked
I really want to know portlet application name to reference resources packaged
in portlet app.
with MyFacesGenericPortlet deployed in jboss 2.4, getPortletContextName
return null even if I set display-name in web.xml.
Are there any way get deployed portlet app?
View the original post :
Hello Forum Folks,
I have an odd question. Is there any way to use the FormAuthentication (or any
other authentication module) without needing the system to prompt the user? An
example would be, that I would like to put a small login form at the top of all
my webpages, such that if the user
Hi folks,
Having some issues running the testng tests for seam.
I set up my own project as a copy of the dvdstore example... just renamed the
datasource to svDatasource instead of dvdDatasource.
However, I'm having some issues running unit tests.
Getting this in my test class:
| FATAL
kbarfield wrote : Check the jbpm_id_user table to make sure the users are in
it. I believe you will see that message if the users do not exist in the table.
|
| http://wiki.jboss.org/wiki/Wiki.jsp?page=Jbpm31DataModel
All the users are in the JBPM_ID_USER table.
View the original post :
jasspier wrote : i've got the same question.
me 2 : )
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981544#3981544
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981544
___
Hi,
I just installed the JBoss Eclipse IDE for evaluation in a J2EE project for
JBoss with Hibernate.
I went throug the tutorial (the Fibonaci thing) and all went smoth (even the
first step of packaging for the session bean).
But after adding the servlet to the project and adding packaging
Looks like some bad XML snuck in. This from a fresh CVS checkout:
| $ ant refdoc
| refdoc:
|
| clean:
|[delete] Deleting directory /opt/seam/doc/reference/build
|
| all.doc:
|
| lang.all:
|
| lang.docpdf.prepare:
| [copy] Copying 33 files to
Now it's working fine...
... I thought SEAM considered the type to inject, but now it's clear.
Thanks a lot.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981548#3981548
Reply to the post :
Hi genman,
Thanks for your help but the link didn't solve my problem. In fact, I don't use
JBoss but Tomcat. I registered in these forums because it was one of the only
forums that dealt with that XPath problem. That's very specific, it's pretty
hard to find information...
I'm not good at
thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981549#3981549
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981549
___
jboss-user mailing list
jboss-user@lists.jboss.org
Hi Techies,
Iam a newbie to the JBoss,
Can any one please help me and provide some tutorial to learn about JBoss.
Any help is appreciated.
Regards,
Nadir
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981551#3981551
Reply to the post :
Can you please provide a link to where you can configure somethign through
JMX/MBean that is exposed to a deployed application ?
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981553#3981553
Reply to the post :
btw,
I am able to successfully deploy booking example. Probably a bug in the
contactlist example itself rather than seam.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981556#3981556
Reply to the post :
Using jboss seam 1.1.0 beta
and jboss AS 4.0.5 with ejb3.
When I deploy the contactlist example (in examples Directory) I get
anonymous wrote :
| 2006-10-28 18:14:37,515 DEBUG [org.jboss.mx.loading.RepositoryClassLoader]
setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null
The app is packaged as SIPSEnterprise.ear:
| META-INF/
| META-INF/MANIFEST.MF
| APP-INF/
| APP-INF/lib/
| APP-INF/lib/SIPS.jar
| APP-INF/lib/jboss-j2ee.jar
| APP-INF/lib/jbossall-client.jar
| SIPSEntities.jar
| SIPSJSF.war
| META-INF/application.xml
|
SIPSEntities.jar
I work with the framework in my own app, so I test the contactlist example
every time I update. It works just fine for me on AS 4.05
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981560#3981560
Reply to the post :
Hello
I downloaded the jboss-4.0.4.GA and just put a Web Module folder (Containig two
simple html pages) into server/default/deploy folder and when i start the
server, the following error occurs:
(Does any body know how to solve this problem?)
20:49:35,406 ERROR [URLDeploymentScanner]
Hello,
I'm publishing a session bean a WebService and it works just fine.
The problem is that some methods returns or receives instances of an
EntityBean. The problem arises when I add some mapped relations that involve
such a bean.
In my Hello World example I'm using the WS to retrieve, create
petemuir wrote : No. This question is to do with hibernate not Seam so I
would suggest asking on the Hibernate forums
I encountered this problem using EJBs (3.0) while using Seam and found a
solution. If you were
using EJBs when you encountered it put your posting in the EJB
forum and I will
My environment:
JBoss 4.0.4.GA installed by JEMS installer
Mysql 4.0.24
mysql-connector-java-3.0.16-ga-bin.jar
I was working on an upgrade during the period between 0100 and 0200 BST, before
the clock was to be rolled back (i.e. while British Summer Time still in
effect). At this time, I
Remove this line from components.xml:
property name=myFacesLifecycleBug@myFacesLifecycleBug@/property
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981568#3981568
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981568
Remove this line from components.xml:
property name=myFacesLifecycleBug@myFacesLifecycleBug@/property
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981569#3981569
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981569
I have a seam component which has a method I would like to invoke on a
scheduled basis. All the jboss scheduler docs I can find seem to say the
scheduled code has to be deployed in a .sar.
1) I'd really like to avoid having to put a .sar next to my .jar and .war just
for one class.
2) I'm
I just coded as the example dvdstore, I'm cofused about loading the data from
the view. In the view #{rs==null} return true. Does it need some other codes or
settings to load the data ignored in the example?
| /**
| *
| */
| package cn.net.kdc.action.cms;
|
| import
From the debug page I find the mm property is normal. So the rs property can't
be null. So I judged it's the problem loading the data from the view
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981572#3981572
Reply to the post :
Hi!
I am new to EJB and I don't know how to package the files:
I have a bean named StatelessTekst1, interface tekst1 and jsp page named
tekst1JSP.jsp.
Which descriptors files are necessary to properly deploy this simple app?
Thanks and best regards!
View the original post :
I did as you suggested and made a very simple example. Now I get this exception:
does not contain Objects of type SelectItem
JSF:
| %@ taglib uri=http://java.sun.com/jsf/html; prefix=h %
| %@ taglib uri=http://java.sun.com/jsf/core; prefix=f %
|
| !DOCTYPE html PUBLIC -//W3C//DTD
You mean using Seam 1.1 @Asynchronous methods? You don't need a sar...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981575#3981575
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981575
Rename WMAssinador folder to WMAssinador.war
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981576#3981576
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981576
___
jboss-user
I'd like to incorporate jbpm into my current project. But I couldn't find a
book on the market to explain the ins-and-outs of the subject.
The crucial factor in promoting the jbpm is a complete reference that
developers can depend on.
Can someone please make this a priority, and help me
Hi!
Could somebody give me a link to docs or to the tutorial about how to create
and deploy simple EJB3.0 application using JBoss Eclipse IDE?
Thanks and best regards!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981578#3981578
Reply to the post :
I am not sure whether this is the reason, but i see SIPS.jar in two places, one
is under APP-INF/lib/ and the other inside SIPSEntities.jar. Give it a try by
removing the one in SIPSEntities.jar.
Also, i dont think you should have those jboss-j2ee.jar and jbossall-client.jar
in your package. I
Yes, You are right! I remowe this import and everything goes OK.
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981580#3981580
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981580
Hi -
I've been having an issue where I receive errors about EJB passivation -
cannot find class org/apache/Logging/VariableContext and similar errors like
that. Basically, the errors all seem to relate to serializing/passivating log4j
and the jaxen library. I can post a full stack trace if you
I hadn't seen that. I was referring to the normal jboss scheduler.
I will checkout the @Asynchronous...
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981582#3981582
Reply to the post :
fhh,
That was exactly the problem! Thanks for your help.
We had tried to break our application into multiple JAR files within an EAR,
and of course, every JAR file needs its own ejb-jar.xml with the interceptor
declaration!!
View the original post :
The critical part of the stack trace that you attached is:
anonymous wrote :
| Caused by: javax.faces.el.EvaluationException: /test.xhtml @59,45
action=#{contentAction.addContent}:
javax.ejb.EJBTransactionRolledbackException: org.jboss.seam.RequiredException:
In attribute requires value for
My understanding is this:
Seam calls the methods in your session beans when it encounters the
action=#{name.action} declarations, where name is the name of the Seam
managed component, and action is the name of the method in the managed
component.
However, before the method actually gets
in Chapter 13, it refers to the IntervalDuration as a long (millis I assume?):
@Asynchronous public Timer scheduleAlerts(Alert alert, @Expiration Date date,
@IntervalDuration long interval) { ... }
But in Chapter 7, it refers to it as a Date:
@Asynchronous
public void
74 matches
Mail list logo