Any experience/hints, whether @EmbeddedId or @IdClass should be used wrt.
better performance?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933883#3933883
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933883
Well, good / bad news here...
The good news is that by upgrading to Hibernate 3.2 CR 1 and using the
OptimisticTreeCacheProvider instead of the default TreeCacheProvider, we were
able to get past the basic issue of puts not taking effect in the cache (which
was the root of issue #2 described
There is no cascade delete between Fax and FaxToCar
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933882#3933882
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933882
There is a java.lang.ClassCastException: ejb.persistence.User.
My servlet code is:
private void showUser(HttpServletRequest request,
| HttpServletResponse response) {
| try {
| InitialContext ctx = new InitialContext();
|
richie-lea wrote : There is a java.lang.ClassCastException:
ejb.persistence.User.
|
| My servlet code is:
| private void showUser(HttpServletRequest request,
| | HttpServletResponse response) {
| | try {
| |
Forget what I've said, need to sleep
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933886#3933886
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933886
---
This SF.Net
I changed the servlet :
| private void showUser(HttpServletRequest request,
| HttpServletResponse response) {
| try {
| InitialContext ctx = new InitialContext();
| userSession = (userSession)
Two quick questions about 2.2.1RC3 CMS:
1) My JNDI lookup to repotest for the Jackrabbit Repository doesn't work like
it does in 2.2.0 ... How do I get a Repository instance in 2.2.1RC3? I looked
at your new Jackrabbit service impl, but wasn't able to translate this code
into how a Portlet
@Entity
| public class Unit implements Serializable{
| @Id @GeneratedValue
| private Long unitCode;
| private String unitName;
| @ManyToOne @JoinColumn(name=superUnitCode)
| private Unit superUnit;
| @OneToMany(mappedBy=subUnits)
| private SetUnit
Nice, you've found 3 bugs in a row
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1620
http://opensource.atlassian.com/projects/hibernate/browse/ANN-295
http://opensource.atlassian.com/projects/hibernate/browse/ANN-296
View the original post :
what do you see ion the debug logs?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933900#3933900
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933900
---
This SF.Net
also try to get results from Enumeration xmls = Thread.currentThread()
.getContextClassLoader()
.getResources(
META-INF/persistence.xml );
It should return the url of the perisstence.xml file
View the original post
you mean EM or EMF.
I don't see the usefulness of managing the EM lifecycle through JMX
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933903#3933903
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933903
I usually do
private ListBook books = new ArrayListBook();
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933904#3933904
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933904
Here's how thedog's suggestion should look in processdefinition.xml:
start-state name=start
| transition name=to_auction to=auction
| action name=hello class=com.jbay.action.HelloActionHandler
| /action
| /transition
|/start-state
Regards,
ROb
What is the difference between adding a @Entity on a class and adding an xml
declaration for this class in some Spring file?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933906#3933906
Reply to the post :
This is a bug, please open a JIRA issue
http://opensource.atlassian.com/projects/hibernate/secure/Dashboard.jspa
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933907#3933907
Reply to the post :
constraints does not prevent bidirectional and recursive associations
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933908#3933908
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933908
or, how can i access remotely the FiboBean EJB from a Java standalone
application? a link would be very helpful. thanks again.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933909#3933909
Reply to the post :
Hi Emmanuel, this is the script of the table that was created by hibernate...
CREATE TABLE `intranetejb`.`unit` (
| `unitCode` bigint(20) NOT NULL auto_increment,
| `unitName` varchar(255) default NULL,
| `superUnitCode` bigint(20) default NULL,
| PRIMARY KEY (`unitCode`),
|
org.xml.sax.SAXParseException: The prefix xmlns cannot be bound to any
namespace explicitly; neither can the namespace for xmlns be bound to any
prefix explicitly.
I am trying to use the Apache xml security libraries together with JAXB and
with JBoss's SAAJ implimentation, and I am frequently
You need to use the Portlet Tag Library:
%@ taglib uri=?http://java.sun.com/portlet? prefix=?portlet? %
There is a defineObjects tag that gives access to the renderRequest object and
then you can call renderRequest.getPortletSession().
See the Portlet Spec, chapter 22, for details:
I have same ejb component (with the same JNDI name) deployed on two hosts.
When within jboss I perform a call from host1 to some method of this component
located on host2, the method gets executed on host1 !
I resolve remote component by looking up it through InitialContext on host2 (by
Hi
Thanks for your reply, I tried accessing java:/JmsXA, but agian the same
error was thrown. Any suggestions please. I really need help solving this issue.
Regards
Bava S
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933914#3933914
Reply to the post :
I ran into the same problem. For me, the problem began when I was forced to
create a web.xml for my portlet. My web.xml was using 2.3 instead of version
2.4. Make sure the top of your web.xml file looks like this.
?xml version=1.0 encoding=ISO-8859-1?
| web-app
Have a look at this:
http://www.jboss.com/index.html?module=bbop=viewtopict=80239
Looks like your issue is the same as mentioned in the above post.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933916#3933916
Reply to the post :
hi,
i am trying to configure Firebird datasource in JBoss 4.0.4RC1 but cant get it
working.
may be because i need a firebirdsql.rar, where can i get that file, it is not
in JBoss anywhere..
| ?xml version=1.0 encoding=UTF-8?
|
| !--
jboss4.0.3sp1 fixes the issue immediately.
there was a bug in 4.0.1 which results in the behaiour described in my previous
post
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933921#3933921
Reply to the post :
jboss4.0.3sp1 fixes the issue immediately.
there was a bug in 4.0.1 which results in the behaiour described in my previous
post
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933922#3933922
Reply to the post :
thanks.
it works, it was a stupid mistake:)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933923#3933923
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933923
---
This
I have a service interface created with EJBs. I have a web application that
uses those services but it's optional. What is the business tier equivalent of
the servlet session context? JNDI?
I am building up a data structure from the database so it has no direct
persistence mapping. I want to
I don't really grok. Can you explain more fully, from the start? Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933925#3933925
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933925
You mean in WEB-INF/lib?
No, the ejb-jar does not have visibility to WEB-INF/lib.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933926#3933926
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933926
Still have not decided a date. I'm doing a LOT of work on the codebase right
now, so it does not make sense to release at this point.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933927#3933927
Reply to the post :
Ask Bill Burke what that means in the EJB3 forum. I'm not quite sure
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933928#3933928
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933928
bold code(ant) where error comes
|
| target name=declare.jbpm.tasks
| ant antfile=build.xml target=build /
| taskdef file=src/java.jbpm/org/jbpm/ant/jbpm.ant.tasks.properties
format=properties
| classpath refid=classpath.ant /
| /taskdef
| /target
|
Hi
I am new to JBoss. I am having a problem accessing the ConnectionFactory to
send a Message to Queue.
The code i have used is below:
InitialContext ctx;
QueueConnectionFactory cf;
QueueConnection connection;
QueueSession session;
Queue destination;
QueueSender sender;
TextMessage
Hi,
I am attempting to migrate an existing web app which currently uses cgi to
serve up image content and also return server side created javascript to the
client. What I was wondering if it was possible to map a url to a seam action
to do this.
Cheers
Mark
View the original post :
I also get the same problem on JBoss 4.0.4. But when i deploy it on 4.0.4 with
EJB 3 container, the exception is not seen
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933933#3933933
Reply to the post :
Thanks, but I am not able to get the Subject from EJB
It is always returning null, but JSP code is perfectly returning Subject
See the following code, and output
the following is session bean's business method
public String thanks() {
| try {
| Subject
Yes that's all I have done. em is not referenced or overridden anywhere in my
code. only used (IE em.find() etc..)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933935#3933935
Reply to the post :
Thanks to Kevin Barfield, we now have a long-awaited-for jBPM Getting Started
Guide.
Go see it on the jBPM Wiki:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted
Thanks Kevin !
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933936#3933936
Reply
Hello,
I want to write text in my Web Application in lithuanian language. In
Eclipse, Project Settings, I set language to lithuanian and in editors it
shows symbols correct, but when I start my application in JBoss or Tomcat,
lithuanian symbols from *.java files are unrecognized. IExplorer shows
Your problem is probably linked to this error:
Nebob wrote :
| 16:15:22,995 ERROR [FacesConfigurator] Class
org.jboss.seam.jsf.SeamPhaseListener does not implement PhaseListener
|
You have a classloading issue, make sure you don't have the jboss-seam.jar and
myfaces libs in several
Isn't the clickable list example provdided with seam out-of-the box exactly
what you ask for?
http://docs.jboss.com/seam/reference/en/html/tutorial.html#messages
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933939#3933939
Reply to the post :
looks like an excellent getting started guide.
It would be really cool to have a reference to where the source code for the
websale app is, since it contains things one probably wants to do (list tasks
etc)
I seem to find it partly here, but where is the web front end?
Ok, I understand contexts and their usefulness.
What I do not understand is why scope parameters are needed on @In and @Out
annotations!
The scope of a context variable is already fixed when declaring it with
@Name/@Scope or with @Role, right?
So what's the advantage of being able to specify
Thanks, Eekboom, I haven't seen this example (maybe it was too late
yesterday...)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933944#3933944
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933944
set parameter in : URIEncoding=UTF-8
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933945#3933945
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933945
---
This SF.Net
network or sysadmin could do it, for example using port forwarding
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933946#3933946
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933946
Use exactly corresponding schema.
For SSL, use always https://
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933947#3933947
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933947
201 - 251 of 251 matches
Mail list logo