Re: Installing CFMX on Mac OS X (root user?)

2004-12-03 Thread Sean Corfield
Looks like you deployed your WAR to the wrong directory.

The directory tree should be:

/Applications
/JRun4
/servers
/default
/SERVER-INF
/cfusion -- expand cfusion.war into here
/META-INF
/WEB-INF
/cfdocs
/CFIDE
/administrator
...
/CFIDE -- expand rds.war into here
/META-INF
/WEB-INF
rds.properties

You'll probably be better off deleting the whole JRun install and
starting over now since you've got a bunch of directories to clean
up...

On Thu, 2 Dec 2004 21:22:12 -0500, Jeff Small [EMAIL PROTECTED] wrote:
 Hey Sean, any idea why I'm getting this in my terminal window when I
 try to start up my default server?
...
 12/02 21:16:36 warning Deployer Service failed to deploy
 file:/Applications/JRun4/servers/default/cfusion/
  * Unrecognized deployment:
 file:/Applications/JRun4/servers/default/cfusion/

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186116
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-03 Thread Jeff Small
 Looks like you deployed your WAR to the wrong directory.

 The directory tree should be:

 /Applications
/JRun4
/servers
/default
/SERVER-INF
/cfusion -- expand cfusion.war into here
/META-INF
/WEB-INF
/cfdocs
/CFIDE
/administrator
...
/CFIDE -- expand rds.war into here
/META-INF
/WEB-INF
rds.properties

 You'll probably be better off deleting the whole JRun install and
 starting over now since you've got a bunch of directories to clean
 up...

That's exactly what I'm going to do tonight. I'm keeping this most excellent
directory structure above and taping it beside my monitor while I'm working.
I think I'm getting the hang of it. I got a couple of O'Reilly Unix/MaxOSx
books on the way home, and I'm pouring over them this weekend.

While it kinda sucks to do, and seems really tedious, the cool part about it
is that it's fairly addictive because you're learning cool stuff...or so it
seems. I'm really getting into it, from a this is a cool learning
experience standpoint.



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186197
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Matt Woodward
If you can't successfully run the jar command chances are you're probably not 
in the right directory, and if you aren't giving it path information to the 
file the jar command probably just can't find the file you're trying to unjar.

I wrote up some instructions for the EAR deployment here that may help a bit:
http://mattwoodward.com/blog/index.cfm?mode=entryentry=288A9AE3-3048-2950-E06AC9A4628DA7A8

The WAR deployment is a lot easier, however, so I'd go with that installation 
type if I were you.  I just thought maybe those instructions would give you 
some insight about the command line stuff.  I've been meaning to write up some 
annotated WAR deployment instructions but I haven't had time yet.

I think since it sounds like you may have stuff in the wrong place, etc. you 
might just want to delete the files you've expanded and start over, following 
the directions very, very carefully.  They really do work.  I'll post again if 
I get a chance to do some annotated WAR instructions because this really is a 
much simpler procedure than the EAR deployment.

Matt

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185909
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Jeff Small
 If you can't successfully run the jar command chances are you're probably 
 not in the right directory, and if you aren't giving it path information 
 to the file the jar command probably just can't find the file you're 
 trying to unjar.

Okay, so if I'm in, say, Applications/Jrun4/servers/default/CFIDE and the 
war file is in Powerbook/Applications (remember, I expanded the war files 
to this directory that the jar file created because I typed the path in 
wrong) I need to give the path in the jar command that points to the rds.war 
file in that applications folder?

 I think since it sounds like you may have stuff in the wrong place, etc. 
 you might just want to delete the files you've expanded and start over, 
 following the directions very, very carefully.  They really do work.  I'll 
 post again if I get a chance to do some annotated WAR instructions because 
 this really is a much simpler procedure than the EAR deployment.

I can do that? I can just delete the folders that the jar file created and 
just start over? How do I correctly tell the jar file where to install the 
war files? 



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185917
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Matt Woodward
 If you can't successfully run the jar command chances are you're probably 
 not in the right directory, and if you aren't giving it path information 
 to the file the jar command probably just can't find the file you're 
 trying to unjar.

Okay, so if I'm in, say, Applications/Jrun4/servers/default/CFIDE and the 
war file is in Powerbook/Applications (remember, I expanded the war files 
to this directory that the jar file created because I typed the path in 
wrong) I need to give the path in the jar command that points to the rds.war 
file in that applications folder?

Yes, if I understand what you're saying this is correct.  Just remember that to 
start at the root you have to have a / at the beginning of your path, otherwise 
it'll start drilling down from your current directory.  So if your war file is 
in /Powerbook/Applications (remember Unix is case-sensitive as well, so 
/PowerBook/Applications and /Powerbook/Applications are NOT the same thing 
...), then you would just have to point to that directory with your jar command.

I can do that? I can just delete the folders that the jar file created and 
just start over? How do I correctly tell the jar file where to install the 
war files?

Yes, you can delete what you have and start over.  Not sure I get what you mean 
about telling the jar file where to install the war files--you designate this 
during the installation process.  In the end it doesn't matter where your war 
files are as long as you know where they are so you can point to the right 
place when you're doing the extraction, but if you want to follow the 
directions to the letter, it's probably a lot easier if you tell the installer 
to create the war files in the exact same place as in the instructions.

Matt

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185929
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Dave Watts
 and I can't successfully run the 'jar -xvf' command.

All this command does is extract the contents of the JAR/WAR/EAR file into a
directory. The JAR format is actually just a ZIP file. Presumably, the
reason this doesn't work for you is that the jar executable isn't in your
path. So, you can either find out the correct path and explicitly specify it
or set it as an environment variable, or you can use any zip-compatible tool
to extract the files for you. I do this on Windows all the time by just
renaming the files from .war to .zip and using WinZip or the built-in
Windows zip tools in XP and Windows Server 2003.

 I created the directories (cfusion and CFIDE) under the default  
 directory in my servers directory under jrun, which is in my  
 applications folder. Did I screw that up?

You will want to extract cfusion.war and rds.war into your application
server's directory. On my Windows machine, that ends up being something like
this: c:\jrun4\servers\cfusion\cfusion-ear. Presumably, if you install into
the default instance of JRun, you'd have something like
c:\jrun4\servers\default\cfusion-ear. Obviously, your paths on OS X will be
a little different, but probably not much.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185941
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Sean Corfield
On Thu, 2 Dec 2004 09:12:56 -0500, Jeff Small [EMAIL PROTECTED] wrote:
 Okay, so if I'm in, say, Applications/Jrun4/servers/default/CFIDE and the

You're in /Applications/JRun4/servers/default/CFIDE - the leading / is
important.

 war file is in Powerbook/Applications (remember, I expanded the war files

/PowerBook/Applications - again the leading / is important.

 I can do that? I can just delete the folders that the jar file created and
 just start over? How do I correctly tell the jar file where to install the
 war files?

You can tell the installer to put the files anywhere because it isn't
really 'installing' anything. I usually tell it:

/Users/scorfield/Desktop/cfmx

(replace scorfield with your own user name).

Again, the leading / is important!
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme
Got Gmail? -- I have 1 invite

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185948
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Dave Watts
 Okay, so if I'm in, say, Applications/Jrun4/servers/default/CFIDE 
 and the war file is in Powerbook/Applications (remember, I expanded
 the war files to this directory that the jar file created because I 
 typed the path in wrong) I need to give the path in the jar command 
 that points to the rds.war file in that applications folder?

It doesn't really matter where the WAR files are, as long as you put the
expanded directories in the right place. Again, the WAR files are
essentially just ZIP archives. If you're using the JAR utility, you'll need
to specify the path to that, if you can't run it successfully.

 I can do that? I can just delete the folders that the jar file created
 and just start over? How do I correctly tell the jar file where to 
 install the war files?

You can delete these files without causing any problems. However, you might
as well just extract the WAR files wherever they happen to be, then move the
extracted directories to the right place within your application server's
directory.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444



~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185950
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Jeff Small
  Just remember that to start at the root you have to have a / at the 
 beginning of your path, otherwise it'll start drilling down from your 
 current directory.  So if your war file is in /Powerbook/Applications 
 (remember Unix is case-sensitive as well, so /PowerBook/Applications and 
 /Powerbook/Applications are NOT the same thing ...), then you would just 
 have to point to that directory with your jar command.

*sigh*

I haven't had time to try it since I'm at work, but I've got my powerbook 
with me, and I honest-to-god think that was the only problem I had. I was 
telling the jar command to look in Powerbook/Applications/ while I was in 
the cfusion directory and not /Powerbook/Applications/ so I'm almost 100% 
certain that was the problem

...and no, I didn't remember that to start at the room you have to have a / 
at the beginning... 



~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185957
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Troy Murray
I have a quick question on running CFMX on Mac OS X.  If I restart my iBook,
do I need to open the Terminal and start the CFMX/Jrun service manually or
does it start automatically when the system boots?  (I would prefer the
first option).

-Troy Murray


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185988
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Sean Corfield
On Thu, 2 Dec 2004 14:02:52 -0500, Troy Murray [EMAIL PROTECTED] wrote:
 I have a quick question on running CFMX on Mac OS X.  If I restart my iBook,
 do I need to open the Terminal and start the CFMX/Jrun service manually or
 does it start automatically when the system boots?  (I would prefer the
 first option).

By default you would have to manually start it, yes.

It's easy enough to create a Mac application using Apple Script that
will start CFMX for you and then you could add that to your Startup
Items if you wanted...
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme
Got Gmail? -- I have 1 invite

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186024
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Jeff Small
On Dec 2, 2004, at 5:58 PM, Sean Corfield wrote:
 By default you would have to manually start it, yes.

 It's easy enough to create a Mac application using Apple Script that
 will start CFMX for you and then you could add that to your Startup
 Items if you wanted...

Links? Examples? I *totally* want to learn how to at least start my 
default server under jrun. If I install CFMX under my default server 
under jrun, will it start that instance of CFMX as well? Or are those 
two manual operations? Start jrun, THEN start cfmx?


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186025
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Dave Watts
 Links? Examples? I *totally* want to learn how to at least 
 start my default server under jrun.

This isn't for JRun, but it should get you started:

http://documents.wolfram.com/v5/GettingStarted/NetworkSysAdminGuide/TheMathe
maticaLicenseManager/StartingAndStoppingMathLM/OnMacOSX.html

 If I install CFMX under my default server under jrun, will it 
 start that instance of CFMX as well? Or are those two manual 
 operations? Start jrun, THEN start cfmx?

All you have to do is start the JRun server instance within which you've
installed CFMX. CFMX isn't run as a separate process.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186028
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Sean Corfield
On Thu, 2 Dec 2004 14:58:41 -0800, Sean Corfield [EMAIL PROTECTED] wrote:
 It's easy enough to create a Mac application using Apple Script that
 will start CFMX for you and then you could add that to your Startup
 Items if you wanted...

See my blog - I just posted some example scripts and instructions.
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme
Got Gmail? -- I have 1 invite

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186033
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Sean Corfield
On Thu, 2 Dec 2004 18:15:11 -0500, Jeff Small [EMAIL PROTECTED] wrote:
 Links? Examples? I *totally* want to learn how to at least start my
 default server under jrun.

You should see my reply elsewhere in this thread with examples. I've
even stuck a cutesy 'cf' icon onto the application now :)
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme
Got Gmail? -- I have 1 invite

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186034
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Jeff Small
On Dec 2, 2004, at 6:40 PM, Dave Watts wrote:
 All you have to do is start the JRun server instance within which 
 you've
 installed CFMX. CFMX isn't run as a separate process.

Awesome. Thanks Dave and Sean. I'm going thru that CFMX install process 
right now and re-reading that install page on Macromedia with a fine 
toothed comb. I'm hoping I can get it all installed tonight while I'm 
playing around here at home.


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186040
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Jeff Small
On Dec 2, 2004, at 7:01 PM, Sean Corfield wrote:
 On Thu, 2 Dec 2004 14:58:41 -0800, Sean Corfield 
 [EMAIL PROTECTED] wrote:
 It's easy enough to create a Mac application using Apple Script that
 will start CFMX for you and then you could add that to your Startup
 Items if you wanted...

 See my blog - I just posted some example scripts and instructions.

Hey Sean, any idea why I'm getting this in my terminal window when I 
try to start up my default server? I was able to successfully follow 
each step. everything installed in the right places (it worked as soon 
as I used the leading '/') but when I went to the next step to verify 
the coldfusion install and started my default server, I got the 
following message and my administration page wouldn't load...

12/02 21:16:36 warning Deployer Service failed to deploy 
file:/Applications/JRun4/servers/default/cfusion/
 * Unrecognized deployment: 
file:/Applications/JRun4/servers/default/cfusion/
12/02 21:16:36 info Deploying enterprise application default-ear 
from: file:/Applications/JRun4/servers/default/default-ear/
12/02 21:16:36 info Deploying web application JRun Default Web 
Application from: 
file:/Applications/JRun4/servers/default/default-ear/
12/02 21:16:38 info Web Services in default-ear#default-war:
12/02 21:16:38 info AdminService
12/02 21:16:38 user JSPServlet: init
12/02 21:16:38 warning Deployer Service failed to deploy 
file:/Applications/JRun4/servers/default/META-INF/
 * Unrecognized deployment: 
file:/Applications/JRun4/servers/default/META-INF/
12/02 21:16:38 warning Deployer Service failed to deploy 
file:/Applications/JRun4/servers/default/WEB-INF/
 * Unrecognized deployment: 
file:/Applications/JRun4/servers/default/WEB-INF/

That's just a snippet...the unsuccessful portion. Everything else (the 
server instance) started fine...


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186048
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-01 Thread Matt Woodward
I've got Jrun up and running, and I've got the CFMX jar file, and I can 
double click the jar file fine, it starts up the installer perfectly, 
but I step thru three steps or so, and it says I can't install it 
because I'm not root user.

As long as you're an admin user you can just ignore that error and continue the 
installation.  I'm not sure why that error occurs but I've installed CF 
numerous times on various Macs and if you ignore that and continue the install 
works without a hitch.

Matt

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185890
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-01 Thread Jeff Small
On Dec 1, 2004, at 7:14 PM, Matt Woodward wrote:

 I've got Jrun up and running, and I've got the CFMX jar file, and I 
 can
 double click the jar file fine, it starts up the installer perfectly,
 but I step thru three steps or so, and it says I can't install it
 because I'm not root user.

 As long as you're an admin user you can just ignore that error and 
 continue the installation.  I'm not sure why that error occurs but 
 I've installed CF numerous times on various Macs and if you ignore 
 that and continue the install works without a hitch.

 Matt

Well, I gave it a try. What a disaster. I can't run the rds.war file. 
It's not installing, it's throwing errors like mad. This is such crap. 
This is the FIRST thing besides jrun4 that I've even installed on this 
computer and I've already screwed it completely up.

java.io.FileNotFoundException: rds.war (No such file or directory)
 at java.io.FileInputStream.open(Native Method)
 at java.io.FileInputStream.init(FileInputStream.java:106)
 at java.io.FileInputStream.init(FileInputStream.java:66)
 at sun.tools.jar.Main.run(Main.java:185)
 at sun.tools.jar.Main.main(Main.java:904)


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185895
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-01 Thread Jeff Small
Well, this is what I'm reading:
http://www.macromedia.com/support/coldfusion/j2ee/cfmx-mac- 
onjrunandtomcat.html

I'm on step 8, which is:
---
If you haven't done so already, open a Terminal window  
(Applications/Utilities/Terminal), navigate to the cfusion directory,  
and use the jar utility to uncompress the cfusion.war file:

cd jrun_root/jrun4/servers/server_name/cfusion
jar -xvf cfmx_install_directory/cfusion.war

Note: In these instructions, replace jrun_root with the directory in  
which you installed JRun 4; for example, /Applications/jrun4. Replace  
server_name with the name of the server to which you are deploying  
ColdFusion MX; for example, if you installed ColdFusion MX in the  
default JRun server, specify default.
---

...and it all fell apart there. I navigated to the right places,  
installed under the default server, and did *everything exactly* like  
the instructions said.  I'm just at a total loss...


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185897
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-01 Thread Sean Corfield
On Wed, 1 Dec 2004 21:52:40 -0500, Jeff Small [EMAIL PROTECTED] wrote:
  I've got Jrun up and running, and I've got the CFMX jar file, and I
  can
  double click the jar file fine, it starts up the installer perfectly,
  but I step thru three steps or so, and it says I can't install it
  because I'm not root user.

First off, don't use the double-click approach - you really need to
use the command-line install.

 Well, I gave it a try. What a disaster. I can't run the rds.war file.

No, you don't 'run' these files. The cfusion.war and rds.war files
need to be manually deployed to a new server instance creating on
JRun.

Read the install notes carefully - they look daunting and complex but
as long as you follow every step carefully, it should all just work:

http://www.macromedia.com/support/coldfusion/j2ee/cfmxj2ee_mac_onjrunandtom.html

Note that it absolutely requires you become familiar with the
command-line interface of the Unix subsystem that underlies Mac OS X.
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme
Got Gmail? -- I have 1 invite

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185899
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-01 Thread Matt Woodward
Sean's post is correct--while I've always just double-clicked the JAR file for 
the initial install (see below for the reason behind the quotes around this 
word) and it's worked fine for me, beyond this first step you absolutely have 
to use the terminal to complete the installation correctly.

As for the install, this is a point of confusion for a lot of folks I've 
helped install CF on the Mac.  The installation process does not install CF, it 
merely creates the files that you subsequently deploy on JRun.  Maybe that's 
already clear to you but that seems to be a real sticking point for people who 
are used to running a Windows installer and being done with it.  Be patient 
with the instructions, go through them very carefully and do exactly what they 
say, and it'll work.

Lastly, no need to panic--you didn't screw up your machine.  That's one of the 
beauties of the J2EE deployment.  This isn't a case where a botched 
installation screws up your registry, etc.; worst case you have to delete some 
files and try again.  Your machine's just fine!

Matt

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185900
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-01 Thread Jeff Small
On Dec 1, 2004, at 10:02 PM, Sean Corfield wrote:
 First off, don't use the double-click approach - you really need to
 use the command-line install.

Boy was I hoping I'd see you jump in here...I think this all boils down  
to me not really understanding how the whole .jar/unix/command  
line/paths thing actually works on a mac. I think I need to read  
something about this first before even trying to go any further. Any  
recommendations? I think it's not so much that I don't understand the  
command line unix portion, upon further reflection. It seems to be more  
of I just don't really understand how jrun and the whole java install  
process works. Does that make sense? I'm reading as carefully as I  
can, but I'm really stuck right on number 8. I've done 1-7 perfectly  
(well, maybe not perfectly, I wanted to install cfmx...okay, lemme take  
that back...I double clicked the jar file and wanted to install it to  
my applications folder, which I *thought* was Powerbook/Applications  
but when I double clicked Powerbook I saw that it had actually  
created a folder on my root called Powerbook and installed the war  
files into an applications folder it had created there. So rather  
than going into Applications it's now in  
Powerbook/Applications...make sense? That was my first screwup.) and  
as a result, I don't know exactly what I'm supposed to do once I  
navigate to my Applications/Jrun4/servers/default/CFIDE directory in  
the terminal.

So that was where I just didn't know what to do...

I'm here:
--
If you haven't done so already, open a Terminal window  
(Applications/Utilities/Terminal), navigate to the cfusion directory,  
and use the jar utility to uncompress the cfusion.war file:

cd jrun_root/jrun4/servers/servername/cfusion
jar -xvf cfmx_install_directory/cfusion.war

Note: In these instructions, replace jrun_root with the directory in  
which you installed JRun 4; for example, /Applications/jrun4. Replace  
servername with the name of the server to which you are deploying  
ColdFusion MX; for example, if you installed ColdFusion MX in the  
default JRun server, specify default.
--

and I can't successfully run the 'jar -xvf' command.

 No, you don't 'run' these files. The cfusion.war and rds.war files
 need to be manually deployed to a new server instance creating on
 JRun

I created the directories (cfusion and CFIDE) under the default  
directory in my servers directory under jrun, which is in my  
applications folder. Did I screw that up?

 Read the install notes carefully - they look daunting and complex but
 as long as you follow every step carefully, it should all just work:

 http://www.macromedia.com/support/coldfusion/j2ee/ 
 cfmxj2ee_mac_onjrunandtom.html

 Note that it absolutely requires you become familiar with the
 command-line interface of the Unix subsystem that underlies Mac OS X.

That's what page I'm reading, but it seems like it leaves out a step or  
two right at that 8th step...*sigh*. Do I just delete the  
Powerbook/Applications folder the jar file created on my root and  
just try again? How do I tell it to install into a CFMXJ2EE directory  
in my applications folder? 


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185902
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54