How can i get this update?
I can't see new snapshot under:
https://repository.apache.org/content/groups/snapshots/org/apache/openejb/apache-tomee/1.1.0-SNAPSHOT/
--
View this message in context:
Thanks for help, build has been triggered and ended up successfully, but
still I have no idea how can I download it.
Please forgive me, but I don't now how big open source projects are built
and deployed.
--
View this message in context:
Thank you very much for your instructions!
Here is what I get from console during redeployment with the newest build:
2012-06-19 15:50:08 org.apache.catalina.core.StandardContext reload
INFO: Reloading Context with name [/GreenAndGreat] has started
2012-06-19 15:50:08
Yes, this update has fixed the issue. Thanks a lot!
--
View this message in context:
http://openejb.979440.n4.nabble.com/Exceptions-during-redeployment-in-Eclipse-tp4655688p4655699.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
In my app I have a scheduled method implemented in singleton EJB:
@Schedule(minute=*/30,hour=*, persistent=false)
@Lock(LockType.WRITE)
public void doSomeWork() {
//...
}
While on beta-2 of OpenEJB everything works fine, on
apache-tomee-1.0.0-beta-3-20120514.041257-131-webprofile I'm
The method is properly fired with the newest snapshot, without any exception.
Thanks for your advice. I should have given a try to newest snapshot before
asking on forum - sorry.
--
View this message in context:
After switching to the snapshot, everytime i redeploy my application under
Eclipse (i.e. i save some *.java file in Eclipse) I get following exception:
org.apache.catalina.LifecycleException: An invalid Lifecycle transition was
attempted ([before_start]) for component
I have an issue with @ViewScope.
My @ViewScope bean has a viewParam named id.
The page example.xhtml is opened with GET parameter id, i.e
example.xhtml?id=343
When I open this in browser, and fire actions on the page (both AJAX and
normal HTTP) everything works fine, as it is excepted with
Well, I think that I've managed to solve the problem with expiring view.
The problem was that I had 3 h:forms in the page. When I put all content of
the page into one form, I didn't expirienced expired view exception anymore.
But nevertheless I'd like to ask how I can install Mojarra on TomEE as
After all I think that there is some bug with resources.
The following URL properly loads image:
/MyApplication/javax.faces.resource/welcome.png.xhtml?ln=imgs
and the following URL doesn't:
/MyApplication/javax.faces.resource/okBtn.png.xhtml?ln=imgs/buttons
It looks like there is some bug
I am replying to my original post because I was not subscribed to mailing
list at the time when I posted my problem. I'd like everybody to know about
existence of this topic.
--
View this message in context:
Thanks for help. I've tried to find new snapshot in binary form but without a
success. Do I have to build OpenEJB from head revision from SVN in order to
acquire fixed version?
--
View this message in context:
Thanks for the link. I've downloaded snapshot and deployed my application on
this new server. The problem with injection of EJB indeed is no longer
present, but I have found another bug.
On beta-2 resources of JSF application can be accessed with URL such as:
Hmm, this is a good question. It is the only way it worked on beta-2. Maybe
it is somehow connected with my declaration of servlet mapping, i.e.:
servlet-mapping
servlet-nameFaces Servlet/servlet-name
url-pattern*.xhtml/url-pattern
/servlet-mapping
--
View this message in context:
in the
current release.
[Marcin Kwapisz]
p.setProperty(log4j.category.OpenEJB.startup.attributes, DEBUG);
ctx = new InitialContext(p);
It does not work. That’s why I have set that value as a system property.
We achieve this by translating the annotation into their *exact* xml
equivalent and processing
pl.zsk.sos.ejb.endpoint.StudentEndpointBean.createStudent(pl.zsk.sos.dto.StudentDTO,pl.zsk.sos.dto.AccountDTO)
throws pl.zsk.sos.exception.StudentException -- StudentEndpoint : * : * :
createStudent(*) SysAdmin
Regards
--
Marcin Kwapisz
Division of Computer Networks
Technical Univeristy of Lodz, Poland
:\JavaProg\MySamples\EJB\Samplev7\JEEMavenProject2\PersonAccountModule\target\classes
INFO - Found EjbModule in classpath:
D:\JavaProg\MySamples\EJB\Samplev7\JEEMavenProject2\PersonAccountModule\target\test-classes
INFO - Found EjbModule in classpath: e:\Profiles\Marcin
Kwapisz\.m2\repository\zsk\samples
Hi,
We don't have any functionality for supplying an alternate ejb-jar.xml
for testing purposes. It's not a bad idea and is something we might
be able to add after we get the 3.1 release out the door.
[Marcin Kwapisz]
My Maven2 profile is as follows. resource directs to folder
src/test
Marcin,
the strategy you suggest should also work and is especially good for
prototyping or smaller projects.
In our case where we have a huge application with (1.5 Mio LoC, 1000
EJBs, 100 database tables with complex relationships) we cannot drop
(or
empty) and create tables in junit
[Marcin Kwapisz]
I do not understand why you want to rollback committed transaction, especially
in unit test. Even, I do not know how to do it in JEE application.
Maybe our way will suit you:
1. set drop and create strategy in persistence.xml (property name depends on
JPA provider, we have
Great, thanks for the example. We will try to prepare unit tests for concurrent
transactions definitely (and publish as an solution/example).
[Marcin Kwapisz]
Best regards
--
Marcin Kwapisz
Division of Computer Networks
Technical Univeristy of Lodz, Poland
--
Marcin Kwapisz
Division of Computer Networks
Technical Univeristy of Lodz, Poland
Thanks for the link, this post doesn't look to be able to help me with
runtime configuration of hibernate properties though, looks like its
not
possible so I will settle for seperate persistence.xml files.
[Marcin Kwapisz]
Maybe I misunderstood something. You want to set persistent.xml
I think that blog entry can be useful.
http://qbeukes.blogspot.com/2008/08/toplink-as-your-openejb-persistence.html
Regards
--
Marcin Kwapisz
Division of Computer Networks
Technical Univeristy of Lodz, Poland
Hi,
I'm using openejb with hibernate for unit tetsting my EJBs and I'm
running
Also, we have an OpenEJB, Maven, Hibernate example here that may
help.
http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples/jpa-
hibernate/
[Marcin Kwapisz]
Hi,
After a little investigation I am almost sure that the problem is with
hibernate, not within OpenEJB. Hibernate cannot
/netbeans.hint.deploy.server
/properties
/project
Thanks in advance
Regards
--
Marcin Kwapisz
Division of Computer Networks
Technical Univeristy of Lodz, Poland
and SecondaryTable does not work with
Hibernate. So the problem is not with OpenEJB (I think).
I don’t know why I get null in original project. Can it be the same problem
or a different one?
Regards
--
Marcin Kwapisz
Division of Computer Networks
Technical Univeristy of Lodz, Poland
in TopLink?
[Marcin Kwapisz]
Thanks David for the hint.
There is such feature and similar problem (solution also) is described here:
http://forums.oracle.com/forums/thread.jspa?threadID=625250tstart=0messageID=2390496
and here:
http://www.jroller.com/guruwons/entry
28 matches
Mail list logo