Extracting with jadclient.exe - Getting read/write error

Discussions about design and architecture principles, including native JADE systems and JADE interoperating with other technologies
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Extracting with jadclient.exe - Getting read/write error

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:34 am

by Shahzad >> Mon, 6 Nov 2006 19:36:49 GMT

I'm trying to extract from my schemas, using a .unl parameter file...

I have Jade installed on a local machine, and I am accessing it from a local machine. This is because I'm trying to test the process in a local environment before attempting it on a server.

The steps I'm taking is...

1) Start jadapp.exe
C:\localdev41\bin\jadapp.exe path=c:\localdev41\system AppServerPort=6008 server=singleUser

2) I seem to notice that in the Application Server screen that comes up, under the File menu, the "Start Service" and "Stop Service" items are grayed out.

3) It now is in a state of -- No Clients Connected -- Which I believe is correct

4) From the command line I run jadclient.exe
jadclient path=c:\localdev41\system schema=UserSchema app=JadeBatchExtract endJade File c:\UserSchema.scm c:\UserSchema.ddb UserSchema.unl UserSchema

5) I now wait as I see
Opening Database c:\localdev41\system ...

6) it then displays:
Error (-105) : Read/Write error on network

7) And then it quits

Now, the "network" in this context should just mean only my local computer, and I look up the error and it doesn't give me any useful information in the context of my setup.

Anyone have any ideas?

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Extracting with jadclient.exe - Getting read/write error

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:34 am

by allistar >> Mon, 6 Nov 2006 21:10:50 GMT

Yes, read my previous reply to your original message. You need to run a database server for jadclient, not an application server.

Allistar.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Extracting with jadclient.exe - Getting read/write error

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:34 am

by Shahzad >> Tue, 7 Nov 2006 16:11:31 GMT

This is great. IT worked like a charm. Simply just using the wrong type of .exe to implement it.

A quick follow up question. I'm easily able to invoke the command from the prompt, of course, to start the jadapp service, but is it possible to also close the app from the command line? I can only see how to do it from the window. Or possibly can I simply run a background instance of the program temporarily while I run the extract that can shut down when I'm done?

That would probably be the final touch for me to complete my solution.

Thanks again

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Extracting with jadclient.exe - Getting read/write error

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:34 am

by Shahzad >> Tue, 7 Nov 2006 16:11:35 GMT

This is great. IT worked like a charm. Simply just using the wrong type of .exe to implement it.

A quick follow up question. I'm easily able to invoke the command from the prompt, of course, to start the jadapp service, but is it possible to also close the app from the command line? I can only see how to do it from the window. Or possibly can I simply run a background instance of the program temporarily while I run the extract that can shut down when I'm done?

That would probably be the final touch for me to complete my solution.

Thanks again

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Extracting with jadclient.exe - Getting read/write error

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:34 am

by Torrie >> Tue, 7 Nov 2006 21:08:35 GMT

You do have the option of running Jadclient in Single User mode (add "server=SingleUser" to the command line of Jadclient) If you do this then you do not need to start the Jadrap before running jadclient.

However if you intend to do this on a server where the Jade system is always running, then you will need to configure jade to run in Multi User mode (as Allistar has described.)

Torrie


Return to “Design and Architecture”

Who is online

Users browsing this forum: No registered users and 18 guests

cron