Re: Connecting to Derby Network Server through the Internet

2008-06-01 Thread musky
i have added port 1527 to the list of exceptions in windows firewall. but still no luck please help thank you. Valentin Cozma wrote: > > musky wrote: >> i have a name mapped to my IP address called "j2m3world.servehttp.com" >> using >> a no-ip dynamic updat

Re: Connecting to Derby Network Server through the Internet

2008-06-01 Thread musky
y with the option -h 0.0.0.0 but still nothing seems to work. i dont know what more i have to do. please help. Thanks, Varun.M Kristian Waagan-4 wrote: > > musky wrote: >> I am trying to run the derby network server on one machine and trying to >> access the database on that

Connecting to Derby Network Server through the Internet

2008-06-01 Thread musky
I am trying to run the derby network server on one machine and trying to access the database on that machine from another machine. just for testing purposes,on the client program i give the IP address of the server machine(found out by going to findmyip.com). When i try to connect using DriverMa

Running Derby network server within eclipse europa in fc7

2008-05-17 Thread musky
When i run derby network server from within eclipse in fc7 i get the following error: java.lang.InternalError:couldn't find bean info. I have no idea what this means. Could someone please help me. Thank you, Good day. -- View this message in context: http://www.nabble.com/Running-Derby-netwo

Re: Closig connection vs shutting down derby

2008-03-10 Thread musky
ld > > On Sun, Mar 9, 2008 at 9:16 PM, musky <[EMAIL PROTECTED]> wrote: > >> >> I have a doubt: >> >> i an application after obtaining a connection to a database and after i >> perform all required transactions on the tables of the database do i need

Closig connection vs shutting down derby

2008-03-09 Thread musky
I have a doubt: i an application after obtaining a connection to a database and after i perform all required transactions on the tables of the database do i need to shutdown the database or is it enough if i just close the connection. i tried shutting down the database but i get the nontransient

Storing array in database

2008-03-05 Thread musky
hi all, i want to know how to use getarray and setarray methods to store and retrieve arrays in derby. i came across something called embedpreparedstatement20 and that statement had the method setarray. someone please tell me how this can be done. thanks, Varun. -- View this message in contex

Re: CURRENT_TIME function

2008-03-03 Thread musky
ous, why can't you just display the time using logic > in the java program itself? > > Would it be OK for you to please mention the scenario in which you > would want to do this? > > Narayanan > > musky wrote: >> i want to retrieve the current time from der

CURRENT_TIME function

2008-03-02 Thread musky
i want to retrieve the current time from derby every second and display it in my java program using a daemon thread that is scheduled to run every second.how do i go about doing this. please help. regards. -- View this message in context: http://www.nabble.com/CURRENT_TIME-function-tp15796254p

Chat program using derby

2008-02-19 Thread musky
i am using derby server itself like a chat server. i have two programs:they both have a main thread which creates a user interface. as the user(say bob) enters his messages to the other party(say alice),they are entered into a table say bobtable. there is a thread that is invoked periodically th

Re: Using derby as a chat server

2008-02-14 Thread musky
e("Update chattable set TID=1 where TID=0"); //rs1=pstmt.executeQuery(); while(rs.next()) { String str=rs.getString(2); int str2=rs.getInt(1); System.out.println(str2+" "+str); } } catch ( Exception e ) {System.out.printl

Re: Using derby as a chat server

2008-02-14 Thread musky
i solved it it was because of: id=mc.returnflag(); sorry for this. musky wrote: > > i have the following code fao a thread that will select from a table > periodically. > here it is: > import java.util.Timer; > import java.util.TimerTask; > import java.sql.*; > /** &

Re: Using derby as a chat server

2008-02-14 Thread musky
int str2=rs.getInt(1); System.out.println(str2+" "+str); } } catch ( Exception e ) {System.out.println("mhjfdshmnjh "+e);} } }, initialDelay, period); } } am getting nullpointerexception. please help. thanks Donald McLean-3 wro

Re: Using derby as a chat server

2008-02-14 Thread musky
.i will be using the java.util.timer package for this. does anybody know whether derby can put up with so many connections? please give me your insights as i am still a newbie who wants to do something new and i am doing my undergrad now. francois.orsini wrote: > > Hi Musky, > >

Re: Using derby as a chat server

2008-02-13 Thread musky
or > even just bog down). > > On Feb 13, 2008 10:06 AM, musky <[EMAIL PROTECTED]> wrote: > >> >> also i dont want to use any sockets. >> all the chat clients connect to the database server. >> >> musky wrote: >> > >> >

Re: Using derby as a chat server

2008-02-13 Thread musky
also i dont want to use any sockets. all the chat clients connect to the database server. musky wrote: > > i want to use derby as a chat server, > my idea is to insert whatever a user types into a table in the > database.This table can have two fields UserID and the > message(VA

Using derby as a chat server

2008-02-13 Thread musky
i want to use derby as a chat server, my idea is to insert whatever a user types into a table in the database.This table can have two fields UserID and the message(VARCHAR).how do i convey the inserted message to the other party?? please help. thanks. -- View this message in context: http://

Rich text format in apache

2008-02-12 Thread musky
how do i store richtext into an apache database? any help will be appreciated. can this be done without using any tags.. thanks in advance. -- View this message in context: http://www.nabble.com/Rich-text-format-in-apache-tp15431708p15431708.html Sent from the Apache Derby Users mailing list

Re: using SELECT as an SQL triggered action

2008-02-11 Thread musky
somebody please help me here please!! please!! its urgent... musky wrote: > > i will make my aim more clearer here: > i have created an AFTER insert trigger on a table called chattable which > has two fields(ID INT,Message VARCHAR(255)).here is the trigger: > "CREATE TR

Re: using SELECT as an SQL triggered action

2008-02-08 Thread musky
i will make my aim more clearer here: i have created an AFTER insert trigger on a table called chattable which has two fields(ID INT,Message VARCHAR(255)).here is the trigger: "CREATE TRIGGER insert_trigger AFTER INSERT ON chattable REFERENCING NEW_TABLE AS chattableupdate FOR EACH STATEMENT SELEC

using SELECT as an SQL triggered action

2008-02-08 Thread musky
i created the following trigger in my java program: "CREATE TRIGGER insert_trigger AFTER INSERT ON table_name FOR EACH STATEMENT SELECT * from table_name" my problem is how to store the result of the SELECT * from table_name statement so that i can display it on the console output whenever ant d

Re: Help with performance of apache derby server

2008-01-21 Thread musky
also note that when the user presses the back and next buttons provided in the testing GUI to navigate through the questions a select operation is made.there will be a maximum of say 1000 questions in the database tables. musky wrote: > > hello, > > i am developing a project in sch

Help with performance of apache derby server

2008-01-21 Thread musky
hello, i am developing a project in school which is a testing tool which will present to its students mcq questions,figure based questions.note that for the figure based questions,the required image is stored in the database in a BLOB type object. the number of students who will be answering are

Re: Help Urgent:Apache derby network server

2007-12-21 Thread musky
thanks for your quick reply: i read a comparison of mysql and apache derby and i found this line interesting: "it easily handles processing requests of 25 concurrent connections". source:"http://www.devx.com/ibm/Article/28526"; what does this mean? does it mean that only 25 remote hosts can access

Please Help with apache network server!

2007-12-21 Thread musky
i want to build a java application which will run on multiple nodes which access a database to retrieve questions(different questions may be retrieved by diferent hosts) and their answers to these multiple choice questions are entered into the database as and when the user on a host answers. How

Help Urgent:Apache derby network server

2007-12-21 Thread musky
i want to know how many hosts can access(both insertion and retrieval)the derby database via the derby network server. -- View this message in context: http://www.nabble.com/Help-Urgent%3AApache-derby-network-server-tp14458006p14458006.html Sent from the Apache Derby Users mailing list archive