I am downloading JBOss 3.2.7 to see if I can get a JSF 1.2 app running in it.
How do I determine which servlet spec (jar) a particular version of JBoss AS is
using?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4257731#4257731
Reply to the post :
apparently the manifest.mf in servlet-api.jar has it
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4257734#4257734
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257734
___
JBoss 4.2.3.GA
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249599#4249599
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249599
___
jboss-user mailing list
I am trying to debug and understand how the TxConnectionManager enlists XA
resources for a 2PC/XA tx.
I would like to know how to get the trace variable to be true below:
| public boolean enlist()
| {
| if (trace)
|log.trace(Enlisting resource +
JBDS 2.0.0.GA
following this:
http://docs.jboss.org/tools/whatsnew/examples/examples-news-1.0.0.GA-full.html
I reproduced this. I try to create a new project by right-clicking in Package
Explorer, select new -- other, and there is no JBoss Tools folder. Then I go
to Help -- about JBDS and
So how do I build this project now? I see the pom.xml but when I go to the
views window from the Seam perspective, I only see one option (Maven Indexes)
in the Maven folder.
I installed 0.9.9.200907201117 of Maven Integration for Eclipse (featureId =
org.maven.ide.eclipse.feature)
Basically
so I ran 'mvn install' and got this:
| [INFO] Build Order:
| [INFO]
| [INFO]
| [INFO]
| [INFO] Building
| [INFO] Executing maven-resources-plugin[2.2]: resources on simple
| [INFO] Using default encoding to copy filtered resources.
| [INFO] Executing
URL:
http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/resteasy-examples/resteasySimple.zip
I answered one of my questions...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4248208#4248208
Reply to the post :
using JBDS 2.0.0.GA
there is no pom.xml or build.xml for this project:
http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/portlet-examples/testseamportlet.zip
is this correct?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4248211#4248211
Reply to the
JBDS 2.0.0.GA
http://docs.jboss.org/tools/whatsnew/jmx/jmx-news-1.0.0.GA-full.html
In the MBean explorer I create a new JMX server but it can't connect (there is
no JBoss AS running).
How does this work?
I can't even edit the properties of an existing connection, I must delete and
add a new
https://jira.jboss.org/jira/browse/JBIDE-4719
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4248267#4248267
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248267
___
jboss-user
Error
| Mon Jul 27 11:06:09 PDT 2009
| org.eclipse.core.runtime.CoreException: The archive:
/ERS/exploded-archives/ERS.jar which is referenced by the classpath, does not
exist.
|
| org.eclipse.core.runtime.CoreException: The archive:
/ERS/exploded-archives/ERS.jar which is referenced
I found the reference in the classpath tab of Console configuration popup
window
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4246270#4246270
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4246270
So here is what my project directory structure looks like:
C:\java\projects\ERS\exploded-archives\com\cox\ers\session
C:\java\projects\ERS\exploded-archives\ERS.war
When I added ERS.war to the Hibernate Console's classpath, I get the could not
compute classpath error again.
Error
| Mon Jul
I removed the WAR from the classpath and replaced it with:
C:\java\projects\ERS\src\model\com\cox\ers\entity
and now I can see my tables under the database tree in Hibernate config
view/tab.
But when I try to run a simple HQL editor query I get:
Error
| Mon Jul 27 11:26:58 PDT 2009
|
I am experiencing the same problem again for a different project/workspace in
JBDS 2.0.0.CR2.
org.hibernate.hql.ast.QuerySyntaxException: EquipmentRecovery is not mapped
[select er.icomsSiteId from EquipmentRecovery er]
I understand that this is a classpath problem (Hibernate Tools can not
I am seeing 7 errors in the problems tab all related to * is not mapped. Even
after I changed the default output folder back to foo/bin. Not sure what's
going on...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243357#4243357
Reply to the post :
[CODE]Contributor org.jboss.ide.eclipse.as.ui.views.JBossServerView cannot be
created.
An exception stack trace is not available.[/CODE]
[CODE]Problems occurred when invoking code from plug-in:
org.eclipse.ui.console.[/CODE]
[CODE]org.eclipse.swt.SWTException: Device is disposed
at
in Java build path -- source tab, what is the benefit of using allow output
folders for source folders and should I try that now?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243361#4243361
Reply to the post :
I did a 'ant clean undeploy explode' and still seeing errors after restarting
JBDS...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243362#4243362
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243362
When I click the + (plus) icon to expand the Configuration and Session Factory
in the Hibernate Configurations view, there is nothing there for either.
The configuration type is JPA and I can see the tables in the db from the
Hibernate Configurations view.
View the original post :
message:
java.lang.ArrayIndexOutOfBoundsException: 2
exception stack trace:
java.lang.ArrayIndexOutOfBoundsException: 2
| at
org.hibernate.eclipse.console.utils.ProjectUtils.removeProjectNature(ProjectUtils.java:128)
| at
Just noticed this in my console:
2009-07-13 10:58:32,488 WARN Worker-2
org.hibernate.connection.UserSuppliedConnectionProvider - No connection
properties specified - the user must supply JDBC connections
| 2009-07-13 10:58:34,691 WARN Worker-6 org.hibernate.cfg.reveng.JDBCReader -
The JDBC
I want to know which version of JBoss Tools (and other plugin versions) I'm
using in JBDS 2.0.0.CR2. What is the best way to do this either from the IDE
itself or from a list/website? thx.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243370#4243370
Reply
This is helpful regarding this problem:
http://www.jboss.org/community/wiki/JbossTimeoutSettingForSeam
It states that serializability problems may be the root cause of this exception
as well. But if that's true, wouldn't you get serializable/passivation
exceptions in the server.log? I've
Is there any potential problems associated with building/compiling my Java
classes with Sun JDK 1.5 for my EE (Seam) app into an EAR and deploying on
32-bit Windows OS JBoss AS dev box using 32-bit Windows JDK 1.5 runtime (JVM)
and then deploying the same EAR into 32-bit RHEL OS JBoss AS
Here is an example:
@Entity
| @Table(name = ApplicationSite, schema = dbo, catalog =
EquipmentRecovery)
| public class ApplicationSite implements java.io.Serializable {
|
| private static final long serialVersionUID = -8318603160581183431L;
| ...
| }
View the original post :
ok thanks!
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4237708#4237708
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237708
___
jboss-user mailing list
We have a use case to be implemented in my Seam 2.x app which requires an
insert tx to a local DB and a client call to a remote web service for insert tx
to another remote DB.
Using an SFSB or SLSB component in my Seam app, how would I be able to achieve
XA/2PC in this scenario (if it's even
Should I simply catch SoapException and any RuntimeException and the EJB
container will automatically rollback the global/distributed tx?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4236522#4236522
Reply to the post :
unable to immediately reproduce with a new java project. i copied the files
into the sub-folder and refreshed. no JS icons showing up like before. all
files are visible. not sure exactly what is triggering it...
View the original post :
JBDS
Version: 2.0.0.CR2
Build id: R200901291303
Build date: 01/29/2009 13:22
I added a .js file to a new folder in my view folder (i.e. view/testJQuery) for
my Seam project.
After I added the file (copy from Window explorer) and then refreshed the view
folder in JBDS, all the sub-folders
max.ander...@jboss.com wrote : Might be the Javascript support in plain WTP ?
|
| Does it happen without JBoss Tools installed too ?
I'd rather not experiment by removing JBoss Tools from my JBDS. I will only
take drastic measures if this becomes a consistent problem.
By the way, this
max.ander...@jboss.com wrote : Didn't want you to remove it from JBDS just
wondering if you tried with plain WTP ;)
|
| But it does look like some feature (or bug) coming from WTP .js support.
this is most definitely a bug somewhere b/c the file exists in the JS-marked
folder but I can't
http://i145.photobucket.com/albums/r234/rabiesjoy/java/js-folder-problem-jbds.jpg
plz read the description as well for more info. thx.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4227922#4227922
Reply to the post :
steve.ebers...@jboss.com wrote : The are problems with the HIbernate site and
it is temporarily down.
|
| The downloads are still accessible from SourceForge where they have always
been :
http://sourceforge.net/project/showfiles.php?group_id=40712package_id=127784
There is no specific
Hibernate supports polymorphic queries. So you can write an interface and have
the two entity classes implement that interface.
When you query the interface with no restrictions/criteria in where clause, for
example, you'll get all records from both tables.
read more in Ch. 5 of JPA/Hibernate
JBDS includes Hibernate tools. You are using hbm2java with HibernateToolTask
to reverse engineer your db schema to entity classes and config/xml files.
There should be a log that display the actions/errors.
Try running the hbm2java directly from cmd line so you can see the errors.
Other
I have JBDS 2.0.0 and can't seem to locate a ERD tool. I setup the db source
explorer but not sure if it can do this.
does Hibernate tools or JBoss tools support this and if so, how can I create
the diagram? thx.
View the original post :
jaikiran wrote : https://jira.jboss.org/jira/browse/EJBTHREE-1096
created Oct 07 and still unassigned. Obviously not a priority (not mandated by
EJB3 spec). I posted and voted on this JIRA.
I emailed the JSR318 group regarding this. This needs to be part of a future
EJB spec (i.e. required
Quoting PMuir from the Seam/WebBeans team:
anonymous wrote : the correct way to do this is to maintain a dependency graph,
so that when you reload one EJB, you can reload all it dependencies, however
you could easily end up with all ejbs being reloaded. Seam gets around this by
making the user
nickboldt wrote : Window Preferences General Editors
|
| Uncheck the box for Close editors automatically.
|
| You might also want to try installing Mylyn to manage related files in a
task context (eg., to have all the files relevant to a bug or work item grouped
such that when you
I turned on breadcrumbs by doing this:
Navigate -- show breadcrumbs in JBDS with Seam perspective
I found this blog article that shows how to turn it off:
http://loadcontext.blogspot.com/2008/08/eclipse-34-breadcrumbs-hide-and-show.html
I followed the instructions by going to window --
JBDS Version: 2.0.0.CR2
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4220979#4220979
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220979
___
jboss-user mailing list
max.ander...@jboss.com wrote :
| btw. I use JBDS 2 GA
b/c you are superman :)
perhaps I will download 2 GA soon (and then install all my subclipse, etc.
plugins)
You guys should devise a way so that when we upgrade from JBDS 2.0.0.CR2 to
2.0.0.GA, it keeps all the plugins, etc. so more
I use CTRL+SHFT+T to open a java class (foo.java). I edit the file and save.
I do CTRL+SHFT+T to open a different java class (bar.java). bar.java is opened
in the place of foo.java. Now foo.java is not visible in my perspective.
why does this happen and how to fix? I've seen this happen
actually I lied. this only happens when I double click a java src file from
the search view and do it again.
CTRL-SHFT-T works fine. how can I fix this, it's kinda annoying?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4221132#4221132
Reply to the post :
semanticLance wrote : similar issue for me and same exception. the
difference for me is that i don't have a class-wide transaction attribute set.
just one method calling another. caller does not support transactions and the
called method requires a new transaction.
|
| my methods:
|
here is a reply from Ken Saks, spec lead of JSR 318:
anonymous wrote :
| On Mar 23, 2009, at 4:26 PM, arbi.sookaz...@cox.com wrote:
|
|
| Hello,
|
| I would like to draw attention to this specific part of JSR 318, proposed
final draft dated Feb 24, 2009, which is the same as in
for the following SFSB:
@Stateful
| @Name(testTransactionsAction)
| @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
| public class TestTransactionsAction implements TestTransactionsLocal
| {
|
| @Logger
| private Log log;
|
| @In
|
are the tx propagation rules different if foo() calls a method in the same
class (e.g. SFSB) as compared to calling a method remotely in a different JVM?
is there a good resource for this info? I looked at JSR220-core and there
wasn't much there except in the case of distributed tx's (remote
max.ander...@jboss.com wrote : My guess is more that when you did ant deploy
the META-INF/persistence.xml showed up in the right place.
well I just tested your hypothesis and you are correct. It works with explode
or deploy as long as persistence.xml is located here:
This doc needs to be updated to point out in bold or as a note that your
project must be built (i.e. explode/deploy) so that the persistence.xml and
.class files for the entity classes are available in the classpath.
BTW, I'm really liking the auto-complete (intelli-sense?) feature in the HQL
editor.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217534#4217534
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4217534
I have successfully written the following HQL query in the HQL editor and
executed to get results:
select er.equipmentRepairId, er.icomsworkOrderNumber, er.icomsworkOrderTechId
from EquipmentRepair er, Equipment e
| where er.equipment.equipmentId = e.equipmentId
| and e.equipmentId = 1
Why
using JBDS 2.0.0.CR2
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217545#4217545
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4217545
___
jboss-user mailing list
well it's working now (after I put the focus in the hql editor and hit
spacebar). and I clicked on various tabs and other windows/apps. not sure how
the original behavior occurred...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217554#4217554
Reply to the
This is the native query that was generated:
| select
| equipmentr0_.EquipmentRepairID as col_0_0_,
| equipmentr0_.ICOMSWorkOrderNumber as col_1_0_,
| equipmentr0_.ICOMSWorkOrderTechID as col_2_0_
| from
| boBETS.dbo.EquipmentRepair equipmentr0_,
| boBETS.dbo.Equipment
nevermind, this does it:
select er.equipmentRepairId as equipmentRepairId
| from EquipmentRepair er, Equipment e
| where er.equipment.equipmentId = e.equipmentId
| and e.equipmentId = 1
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217557#4217557
Reply
well I guess you're right given that classpath refers to .class files
(bytecode) and not source .java files.
but it doesn't reference persistence.xml in that intro line, that should
probly be there...
View the original post :
akazakov wrote :
| Seam-gen projects use ant sript to build/deploy EAR/EJB/WAR. So you can use
any project structure. It's metter of ant file to handle it. But JBoss Tools
depends on Eclipse Web Tools. And you have to have WTP-strucrtured projects to
have whole set of features.
| For EAR
what are the rules for commenting HQL queries in the HQL editor view?
I tried /* foo */ and it doesn't change the color of the text like I'm used to
with other tools, etc.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217641#4217641
Reply to the post :
or what if I have two HQL queries in the same HQL editor view? can I exec only
one of them?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217646#4217646
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4217646
Does JBoss Tools 3.x have a tool that will allow you to do this:
see a view with all of your entity classes
select multiple entity classes in this diagram/view to form the basis of a HQL
select statement
automatically create the HQL and dump it in the HQL editor (assuming Hibernate
console is
max.ander...@jboss.com wrote : what happens if you just type from Equipment
?
|
| the error you get is the hql parser in hibernate seeing something it
doesn't understand...
I get the following error. Is the HQL editor and Hibernate configuration
compatiable with JPA? I'm assuming it is
Here's the entire Equipment class:
package com.cox.bets.entity;
| // Generated Oct 31, 2008 8:53:40 AM by Hibernate Tools 3.2.0.CR1
|
| import java.util.Date;
| import java.util.HashSet;
| import java.util.Set;
|
| import javax.persistence.CascadeType;
| import
hibernate-console.properties:
| #File used by hibernate tools to override datasource and other container
specific settings in persistence.xml
| hibernate.connection.password=JavaTestAcct
| hibernate.connection.username=_AppUser_JavaTestAcct
|
using JBDS 2.0.0.CR2
So I'm following step-by-step the instructions here:
http://docs.jboss.org/tools/3.0.0.CR2/en/GettingStartedGuide/html_single/index.html#reverse_engineer_crud
after having completed this:
Ok thx! that worked, I have successfully revengr'd my entity classes.
I am having the same problem as with my other project:
foo is not mapped
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217020#4217020
The entity classes exist in src/main (org.domain.workshop.entity package).
I
I just ran Seam Generate Entities Wizard for the workshop demo app.
I noticed that it essentially executes the 'seam generate' command which is
described as follows in the seamfp\seam-gen\readme.txt :
generate
| Generate CRUD pages and controllers for an existing database
|
worst case scenario we delete the unrequired files i guess...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217042#4217042
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4217042
max.ander...@jboss.com wrote : so you got a *.class file in the classpath ?(
what are you talking about? not clear here. The classpath requires the source
files for the entities or the bytecode?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217046#4217046
for edit config, should it work with the default classpath only in the
classpath tab or not?
I removed the .class reference. I even add the entity source folder in the
classpath (\workshop\src\main\org\domain\workshop\) and it's still not
working
View the original post :
looking back at the instructions doc:
http://docs.jboss.org/tools/3.0.0.CR2/en/GettingStartedGuide/html_single/index.html#create_seam_application
In Figure 3.5. Runtimes Selecting, note that there is no check for JPA 1.0. I
don't believe I checked it so I have no JPA facet (not sure exactly
so I deleted the workshop projects and started over. this time I specified a
JPA facet in addition to the defaults.
still doesn't work when I exec from Customers in HQL editor. Still getting
Customers is not mapped error.
@Entity
| @Table(name = CUSTOMERS, schema = PUBLIC)
| public class
I also deleted the hibernate config and created a new one. still no luck.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217087#4217087
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4217087
Max, I just emailed you a .swf video of my JBDS and Hibernate config/console,
etc. I thought that would be easiest.
So it *IS* the bytecode that needs to be in the classpath entry for the
classpath tab. Well, I just noticed that the .class files are not built
immediately after I did a
I enabled build automatically from the project menu in JBDS and the .class
files are not there.
the from Customers query now executed fine in HQL editor. sorry about the
mixup.
There should be a note that the *.class files for the entity classes need to be
available in your classpath. That
asookazian wrote : I enabled build automatically from the project menu in
JBDS and the .class files are not there.
sorry, I meant the .class files are NOW there.
can't they add an edit button to these damn forum!!??
View the original post :
http://www.jboss.org/index.html?module=bbop
max.ander...@jboss.com wrote : Is the project build so the classes are
actually available on the classpath ?
the project was not built. the build auto was not checked in project menu.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217117#4217117
Reply to
vyemialyanchyk wrote : asookazian, which is type of your Hibernate CC? it
seems Core.
| open Edit Configuration dialog and change it to JPA - this should help.
|
| also I saw your persistence.xml doesn't contains Managed Classes - this
is not a reason of HCC exception - just little hint
max.ander...@jboss.com wrote : Ok - and did that then help ?
|
|
i'm looking into this now for my app (the workshop app HQL editor is working
now).
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217121#4217121
Reply to the post :
max.ander...@jboss.com wrote : Great! Things made sense in the end.
|
| Any ide how the project auto build got disabled ?
|
| It is enabled by default in the installation (at least it should be)
I'm very sure I didn't manually do it via the JBDS IDE. It's possible that it
was a
So my .class files for the entity classes for my BETS project exist here:
\BETS\classes\model\com\cox\bets\entity
The default classpath doesn't work. I added \BETS\classes to the classpath and
\BETS\classes\model and that doesn't work either.
When I rebuild config and expand Configuration,
thanks for your help and patience, i'm very impatient and irritable at times...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217125#4217125
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4217125
max.ander...@jboss.com wrote : one folder EAR project ?
that means one high-level folder per project rather than 4 high level folders
(maxTest, maxTest-test, maxTest-ear, maxTest-ejb).
like I said before, when you run 'seam setup' and then 'seam create-project',
the project skeleton generated
no matter what I add to the classpath as a folder that contains the entity
.class files for my project, it still doesn't work.
attempting to reproduce with booking example (which is similar to my project
structure).
View the original post :
Ok, so now these are the errors I'm getting with the booking project:
eclipse.buildId=M20090107-0800
| java.version=1.5.0_17
| java.vendor=Sun Microsystems Inc.
| BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
| Command-line arguments: -os win32 -ws win32 -arch x86
|
|
I do see Booking, Hotel, and User under configuration and session factory. I
don't see anything under Database due to the error...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217170#4217170
Reply to the post :
Ok, so I tried to open the locked file using TextPad and it failed due to the
lock. I closed JBDS and then I opened the file.
So now what?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217173#4217173
Reply to the post :
what does this mean?
| eclipse.buildId=M20090107-0800
| java.version=1.5.0_17
| java.vendor=Sun Microsystems Inc.
| BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
| Command-line arguments: -os win32 -ws win32 -arch x86
|
|
| Error
| Wed Mar 11 13:51:46 PDT
max.ander...@jboss.com wrote : if you are using hsql in-memory then only one
process can access the database at one time.
|
| you should at least use a hsql server if you want concurrent access.
Ok, I *finally* ran two HQL queries in the HQL editor successfully for the
booking project
max.ander...@jboss.com wrote : asookazian wrote : what does this mean?
|
| That eclipse called some action on an ui where the widget were already
disposed.
|
| What did you do to get that error ?
Sorry, don't have a clue. If it happens again, I'll update the thread. As a
guess
I'm still getting the QuerySyntaxException: ApplicationRole is not mapped
error.
I just compared the booking project with mine to see if there are any notable
differences in terms of impacting the classpath. I noticed that in the Java
build path properties, the default output folder is:
YES it works. I had to do an 'ant deploy' so the packaged jar files would be
copied to the dist folder. It doesn't work with exploded jar files, that was
the problem!
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217218#4217218
Reply to the post :
akazakov wrote : Where is seam.jar in the project?
| Is it included to classpath?
Yes, source jar is here: C:\java\projects\BETS\lib\src. Everything looks ok to
me
?xml version=1.0 encoding=UTF-8?
| classpath
| classpathentry kind=src output=classes/model path=src/model/
|
akazakov wrote : Are there any execptions in Eclipse log?
Severity:
|
| error
|
| msg:
|
| org.hibernate.console.HibernateConsoleRuntimeException: Could not load JPA
Configuration
|
| exception stack trace:
|
| An exception stack trace is not available.
|
|
contents of persistence.xml:
?xml version=1.0 encoding=UTF-8?
| !-- Persistence deployment descriptor for dev profile --
| persistence xmlns=http://java.sun.com/xml/ns/persistence;
| xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
|
ignore my previous post, that was for different problem, sorry...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4216638#4216638
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4216638
I'm using JBDS 1.1.0.GA and experiencing the same problem.
My persistence.xml is located here:
C:\java\projects\BETS\exploded-archives\BETS.jar\META-INF
There are the following persistence-*.xml files here:
C:\java\projects\BETS\resources\META-INF\persistence-dev.xml
1 - 100 of 435 matches
Mail list logo