Dear All,
>
> what about the database schema?
>
http://kjkoster.org/java/ Hunt around in the menue for MySQL connection for
Orion. It's somewhere near the Tomcat tutorial.
Kees Jan
=
You can't have everything. Where would you put it?
Dear All,
I'm wondering how I can register EJB's on the fly in Orion. Say I have a
bean that is registered and known. As the program runs I decide I also want
it registered under a different name in the JNDI registry.
thus, in pseudo code:
BeanBHome b = lookup("ejb/BeanB"); // ok, fine
B
>
> Doesn't anyone knows how to execute
> java -classic .. on a Linux box ??
>
Manually edit $JAVA_HOME/jre/lib/jvm.cfg (path may be different, but it's
definedly jvm.cfg. Move -classic from the bottom of the file to the top.
Kees Jan
You are
base console. I find this to be an
> > > excellent arrangement for development.
> > >
> > > If you wanted to, you could fairly easily write a JDBC
> wrapper that
> > > prints the SQL. I wouldn't be surprised if someone has
> > already written
> > > such a cre
Set this to true to perform additional tests when
using jdbc.debug="true".
"Koster, K.J." <[EMAIL PROTECTED]> wrote:
Dear All,
I'm having some trouble finding what Orion is doing in my databases. I get
truncated data without any error messages.
How c
Dear All,
I'm having some trouble finding what Orion is doing in my databases. I get
truncated data without any error messages.
How can I see what SQL statements Orion executes? (MySQL, with the mm-mysql
driver, if that matters).
When I have a Java long datatype for a CMP property on an enity b
Dear All,
I have a boolean property on an CMP entity bean. In the MySQL database I see
this type mapped to TINYINT(1), which is fine I guess.
Question one: I vaguely remember that the JavaBeans spec says that boolean
properties should have setFoo()/isFoo() instead of the setFOo()/getFoo()
combo.
Dear All,
> >
> > Yet when I use that thing inside the ejbCreate of another
> bean I get a
> > NameNotFound Exception. Replacing the
> Counterutils.getnextid() with (new
> > Date()).getTime() works without generating the errors.
>
> You will probably want to move the ejb-ref from web.xml to e
Dear All,
I'm sure I must be doing something dumb, but I've banging my head into this
stupid wall for two days now. I should have stayed in school and learned
something, but nooo, I had to do Computer Science. *argh!* :-)
I deployed the counter.jar (yes it's in the ear, it even autocreates the
t
Dear Daniele,
>
> Thers is no need to use the Orion's "-admin" option to deploy an
> application. I usually rely on the auto-deploy feature of Orion
> which trigger timestamp changes on the .ear file.
> A remote deployment is easy if you use the "rsync" utility
> (http://rsync.samba.org) that pro
Dear Bill,
>
> I dont like the underscore prefixing either, particularly in
> my development environment.
>
Not to mention the rate you go through diskspace on an average working day.
:-)
>
> At present, on my development wkstation, I manually replace
> the ear file in
> orion/applications wh
Dear All,
I would like to be able to deploy an .ear remotely (the servers run FreeBSD,
some of the development workstations use Windows). I found that admin.jar
can do this, and that the new application is indeed uploaded to the server.
It is not automatically deployed in place of the old one.
W
Dear Peter,
>
> Sorry if this is a dumb question, but i need to know.
> I want to take the CMP Primer and use another database,
> Sybase, InterBase etc..
>
You can change the default data source in $ORION/config/data-sources.xml.
I've got a short howto on my website, I posted the link earlier u
Dear All,
I've written a short howto on setting up Orion with MySQL on FreeBSD,
including some info on how set up privileges to connect to a remote MySQL
database.
http://kjkoster.org/java/index.jsp?page=content/packages.jsp&id=hd07
Kees Jan
Dear All,
I've nailed the problem. I removed the datasource definition from the
ejb-jar.xml and placed one in ~orion/config/data-sources.xml. After
rebuilding the application I stopped Orion, wiped out the
~orion/application-deployments directory, and restarted Orion.
I now get remote access den
Dear All,
I am trying to use MySQL and Orion where the MySQL database is located on a
different host than Orion is.
The beans look up the datasource in JNDI. I've specified the datasource in
in ejb-jar.xml. (The resource-ref thingy) This is found, becasue I no longer
get naming exceptions.
In d
16 matches
Mail list logo