Re: Virtual hosting configuration

2002-02-21 Thread Dominic Hanlan

Yes I had seen that article, the problem is it does not detail the
configuration if you deploy .ear files, simply if you have the directory
structure already laid out. I assume it must be quite simple to do, but as
always the Orion docs are not that enlightening.
The annoying thing is that there was an article originally on orionsupport
that described the .ear situation perfectly.

Regards.l

- Original Message -
From: Scott Farquhar [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, February 20, 2002 9:42 PM
Subject: Re: Virtual hosting configuration


 Dominic,

 I'm not sure if you are aware of the Atlassian Knowledge Base, but a
 quick search there produces a few results:

http://kb.atlassian.com/search.jsp?query=virtual+host

 Which gives the document:

http://kb.atlassian.com/content/orionsupport/articles/vhosts.html

 Cheers,
 Scott

 Dominic Hanlan wrote:

  I am trying to configure virtual hosting on Orion. I produce .ear files
  with Ant for my deployment, and have used virtual hosting for about a
year.
 
  Unfortunately my server crashed, and the config files :-( were not
  backed up.
 
  The only references / tutorials I can now find do not reference the .ear
  files in the path.
 
  Configuring for single hosts works fine with the .ear specified in the
  path, where and how do I specify the .ear files when using virtual
hosting.
 
  Regards
 


 --
 Scott Farquhar :: [EMAIL PROTECTED]

 Atlassian :: http://www.atlassian.com
   Supporting YOUR J2EE World







Generating set methods

2001-04-11 Thread Dominic Hanlan


Hi,
I have a jsp page with the jsp:setProperty tag. How is this linked to
the remote interface of my session bean
so that it automatically generates my set method calls in the generated
page.
I have an application which has been working happily with several such
pages. I now have a new application
with a simple page and it is not generating the set method calls.
I have switched development on and looked at the code in the persistence
directory.
Is the link just in the tag i.e. class="" or is there additional information
required i.e. in the ejb-jar.xml
file. Here the remote interface is defined but it seems to have no
effect ??
Some wise words please.
/Dominic


begin:vcard 
n:Hanlan;Dominic
x-mozilla-html:TRUE
org:;VG24
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
note:+32 3 240 8265
x-mozilla-cpt:;-7968
fn:Dominic Hanlan
end:vcard



Virtual Hosts - root directory setting.

2001-04-10 Thread Dominic Hanlan


Hi,
Ihave just configured Orion (1.3.8) to handle virtual hosts. Currently
Ihave 2. Ihave a really basic problem though, which Ihave
had all along, but now I need to fix it.
if I have www.mysite.com, currently the URL I have to enter is http://www.mysite.com/my-web.
The my-web
seems to come from the fact that my .war file is called my-web.war
. How do I re-map the URL so I have just http://www.mysite.com 
Regards
/Dominic Hanlan

begin:vcard 
n:Hanlan;Dominic
x-mozilla-html:TRUE
org:;VG24
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
note:+32 3 240 8265
x-mozilla-cpt:;-7968
fn:Dominic Hanlan
end:vcard



Re: ONCE AGAIN !!!! PK.class CMP beans in ORION

2001-03-02 Thread Dominic Hanlan

I don't know about the Roman book, I downloaded it but as I can't print it
and read it on the toilet so . The O'Reilly book on EJB is excellent and
covers the CMP and PK question fully. I literarily implemented my usage
straight out of the book.

Regards





JSP and session bean problem

2001-02-13 Thread Dominic Hanlan


Hi,
I have an application with 2 jsps, the first, using a form gathers user
data and the second then checks it. The second is the action="" of the
first.
I have a session bean which is used in the second jsp with the setProperty
property="*" function to pick up the request parameters from the first
jsp.
So far so good. The problem arises when Iwhich to return to the
first jsp if the user data is not correct. The fields should be pre-populated.
So Iinclude the jsp:useBean statement again in the first jsp. Using
the id.get() calls I pre-populate the fields.
The effect of this, is that when I then submit the form to the second
jsp, the set() property methods are not called, it's as if they don't
exist. Take out the useBean from the first jsp and everyting is fine. Put
it back in and no set proprties called.
Help ...
Regards
/Dominic


begin:vcard 
n:Hanlan;Dominic
x-mozilla-html:TRUE
org:;VG24
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
note:+32 3 240 8265
x-mozilla-cpt:;-7968
fn:Dominic Hanlan
end:vcard



RE: A thank you to Orion from the Annapolis Java User Group

2001-02-09 Thread Dominic Hanlan


I would second that request.

From: "Mike Cannon-Brookes" [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: RE: A thank you to Orion from the Annapolis Java User Group
Date: Thu, 8 Feb 2001 17:52:16 +1100

Is there any chance of getting this course put online so that others 
outside
of Maryland can benefit? It sounds like you've built something quite unique
as a tutorial that teaches people the basics of servlets, XML/XSLT, EJBs
etc?

(I help run OrionSupport and we'd be happy to put it up / host it there)

It would serve as a nice compliment to the jollem.com tutorials.

-mike

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Van
  Sent: Wednesday, February 07, 2001 5:17 PM
  To: Orion-Interest
  Subject: A thank you to Orion from the Annapolis Java User Group
 
 
  To Orion and the people who offer support for this product:
 
  THANK YOU!
 
  My name is Michael Van Geertruy and I am the founder and CEO of the
  Annapolis MD Java User Group, JUGerNaut (501-c-4).  For the last 15 
weeks
  I've been teaching a course in this user group called "Java and the
  Internet", using the OrionServer as a teaching platform.  That is, each
  participant in the course was required to download a version of Orion at
  home, and then use OrionServer for thier work in the course.
 
  I chose Orion Server for a number of reasons.  Most notably:
  * It is free for use as a development environment.
  * It is a TRUE implementation of the J2EE platform.
  * Its CPU footprint is very small.
  * It has a robust implementation of servlets.
  * It has easy to understand, XML-based configuration files.
  * It contains xalen and xerces, which allowed us to touch on XSLT's.
 
  On behalf of the JUGerNaut organization, I would like to thank you for
  offering this tool for use in our development environment.  Without it, 
we
  would not have been able to offer this training for FREE (the 
participants
  paid no money to attend the course).  Indeed, many of the participants 
had
  prior experience programming EJB's and commented on how superior your
  product implements the J2EE when compared to Sybase, Oracle, and
  BEA-Weblogic.
 
  Oral course surveys revealed that the participants in the course felt 
more
  secure with the Java technologies of servlets, JSP's, CMP, and BMP using 
a
  home-grown database-connection-pooling bean.  Additionally, this course
  produced an EJB that will be used by a local charity organization 
(saving
  them thousands of dollars in development costs).  Without Orion
  Server, the
  quality of training that we gave and the direct impact this program had 
on
  our community would never have happened.
 
  By offering this training for free to all participants, and by
  training them
  using Orion Server, we are growing EJB specialists in Maryland who are
  partial to using Orion Server. This translates to experienced engineers
  expressing an affinity for Orion Server in the workplace over other
  competing technologies.  I sincerely thank you and your organization for
  providing us this invaluable resource.
 
  Thank you,
 
  Michael L. Van
  CEO, JUGerNaut
  [EMAIL PROTECTED]
 
  PS.  We are holding a graduation ceremony for this course and others on
  March 14, 2001.  After the ceremony, we are offering open enrollment 
into
  JUGerNaut (free) and thus, to a slew of courses we will be
  offering (free to
  all participants).  They are:
  Java Programmer Level Certification (13 - 22 weeks)
  Java Developer Level Certification (16 weeks)
  Java Architect Level Certification (depending on demand)
  J2ME (the vm used on embedded systems)
  Java Security API (14 weeks)
  All courses use peer instruction (the students use books and a syllabus 
to
  guide them as they study the topics together) and all courses are free 
to
  partipants.  Additionally, we are rolling out a new legal-referral plan 
to
  all members that will help to ensure they will never be "stiffed" on a
  contract again.  Please contact me for more information.
 
 
 


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





Re: Any tutorials on form based authentication

2001-02-08 Thread Dominic Hanlan

This is a good looking start .

My next question is, if I didn't want to use principles.xml as my user list, 
and wanted to use and add to, a data base such as postgres, what API would I 
use from within my application, i.e. how do I overide principles.xml.

Regards
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





Any tutorials on form based authentication

2001-02-05 Thread Dominic Hanlan



Title says it all, obviously in the context of 
Orion, but generally otherwise.

Thanks




Re: CMP NOT NULL column problem

2001-01-25 Thread Dominic Hanlan

I had a similar problem with MySQL, which turned out to be related to the
auto-commit status of the table. This is a default
for non BDB tables in MySQL. I switched to PostgreSQL and this removed the
problem. Auto commit cannot be used as I was and you are using CMP.
Have a look in the application event log using the console application. It
should give a more detailed error message.

Regards

/Dominic






Re: interbase database schema

2001-01-25 Thread Dominic Hanlan
Title: SV: interbase database schema



How about PostgreSQL, well documented, full 
featured, open source etc etc.

Regards


Re: Orion shutdown problem

2001-01-19 Thread Dominic Hanlan



Is the list alive ..


Re: Orion shutdown problem

2001-01-19 Thread Dominic Hanlan



Is the list alive


Orion shutdown problem

2000-12-14 Thread Dominic Hanlan



I am running Orion-1.3.8 on a Linux Redhat 7.0 platform with Suns'
JDK1.3.
When I attemp to shutdown I get the following exception 
[root@ns orion]# java -jar admin.jar ormi://localhost:8081 admin
123 -shutdown
force
Error: javax.naming.NamingException: Lookup error:
java.io.StreamCorruptedException: Caught EOFException while reading
the stream
header; nested exception is:
java.io.StreamCorruptedException: Caught EOFException while reading
the stream
header
Any ideas??
I am brand new to Orion so if there is an obvious source of documentation
relating to this, my apolgies
that I haven't spotted it yet.
Regards
/Dominic


begin:vcard 
n:Hanlan;Dominic
x-mozilla-html:TRUE
org:;VG24
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
note:+32 3 240 8265
x-mozilla-cpt:;-7968
fn:Dominic Hanlan
end:vcard