Tualha Khan

Ranch Hand
+ Follow
since Nov 22, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Tualha Khan

Just so that I also understand it properly, all I am doing is adding an extra where clause in my lookup query to filter any records with flag 'false' (or 'true' depending on the situation)?

thanks,
tualha
16 years ago

I found a ojdbc14.jar inside c:\oracle\product\10.2.0\db_1\jdbc\lib I was going to place that path into the program, but not sure how the 10.2.0 would work since it uses dots to separate.


This should be OK, but to be safe, just enclose the whole path in double quotes eg.



What version of java are you using?



hth,
tualha
I will second that, you might be having a DNS issue at the location you tried earlier. See if you can access http://java.sun.com from that machine which is running this code. So, incase you are running the code from some remote UNIX/Linux box, run it from that box and not the client machine.
16 years ago
I am guessing you are using JDBC driver to connect to the oracle database here. So, the driver resides in a jar file which needs to be in your CLASSPATH. so, look for something like classes.jar or ojdbc.jar etc in your oracle home's JDBC directory.

The way to configure your classpath in windows is:

CMD> set CLASSPATH=%CLASSPATH%;<path_to_oracle_jar_file.jar>

Also, the actual jar file needs to be in the classpath (absolute path with the extension included), not just the directory path.

hth,
tualha
thats surprising. Are you sure you are really viewing the actual JSP/compiled output rather than the source file.


as per my understanding it should not work without the workers.properties file entries, since that is where you define the tomcat server location.

hth,
tualha
17 years ago
What does the following command print on the console?

env

rgds,
tualha
17 years ago
a better option would be to check if the table contains 'that specific employee record', if yes, then update 'that particular employee record', if not, then insert 'that particular employee record'.

going by your logic,

if the result set is not empty, then you will be trying an update, but look, the resultset has some rows, but that specific employee record which you want to update does not exist, so the update should fail.

that's just my opinion, lets see what others have to say.

regards,
Tualha Khan

Saving the nos. as numeric might be beneficial, if you will get my phone no just by adding 87 into Shailesh no., and Jeannes no just by dividing Pauls no. by 2.



which is very very rare i believe.

regards,
Tualha Khan
I go for BEA as in "bee", i call weblogic as "bee weblogic"

hth,
tualha
20 years ago
Dear All,
Hey,
I am an SCJP (Feb, 2001) and a Bea Certified Weblogic Developer (May, 2002). I joined this bigtime mediagroup + dotcom in delhi. I came here as a programmer in ibm's Net.data and then after programming for about 15 or so months, I pulled my leg out of it (life was literally stagnant). The only, other possible option for me was to join the companies Server Administration team as a SysAd. I got a chance to do admin stuff at things like WAS, Solaris, iPlanet, Jrun, Jonas, AIX, Linux etc etc. Then after some time, say something like one and a half month or so, our ONLY DBA jumped from here to another concern. Now, because of this, my head asked me to take over dba part along with whatever I currently do as a sysad. When I joined sysad, I had one aim ahead of me to learn as much as possible from this opportunity and then sit for Solaris i + ii exams. Now, since 60% - 70% of my official time is spent doing dba work (mainly DB2), someone suggested me to become a full fledged dba and sit for exams on DB2 and oracle. I am a hell lot confused now as to which path I should walk?
Sysad(Solaris/Linux/Unix/WAS etc)
OR
DBA (Oracle/DB2)
I want you to guide me through this and help me decide as to what is best for me. Just to let you know, my company DOES NOT PAY ME GOOD and I want to switch my job. Secondly, I am a normal graduate without a BE/MCA degree.

Sincerely,
Tualha Khan
22 years ago
Dear All,
Hey,
I am learning was 4.0 ae these days. I am facing some problem in running the IBM HTTP Server alongwith the WAS Admin Server. My installation platform is windows 2000 profession, db2 ee 7.1, ibm http server 1.3.19, was 4.0 ae and ibm jdk 1.3.<some minor>. My installation sequence is according to that listed in the Administration Handbook:
1) Install DB2 7.1
2) Update JDBC Drivers to 2.0
2) Install IBM HTTP Server
3) Setup SSL on HTTP Server
4) Create WAS Admin Database
5) Catalog the WAS Admin Database
6) Install WAS 4.0 AE with HTTP Server option DESELECTED
7) Install HTTP Plug-in to IBM HTTP Server

Everything installs just fine without any hitch. After reboot, I start the WAS admin server and run the Admin Console. From there I run the Default Server and regenerate the plugin. Now, while, the WAS admin server is running, if I stop my HTTP Server and try to start it again, it hangs (showing the status of 'Starting' in the Services window). I did not find any error or warnings in the admin_err log file of http server. However, if I stop the WAS Admin Server, the the HTTP Server starts immediately and works well.
To my surprise, in one of my installation's when I DID NOT catalog the DB for WAS administration repository, and did rest of the above steps, everything started working alright without any errors or glitches. I was able to start/stop HTTP Server, HTTP Administration Server, WAS Admin Server... all of them togethor, without any problem.
Can anybody shed some light as to what am I doing wrong?
Thanks in advance,
Tualha Khan
22 years ago
is your package in the classpath??
check it and then retry.
bye,
tualha khan
Me for only Rs. 2450/- in New Delhi
Bye,
Tualha Khan
22 years ago
Dear All,
Hey,
One of our ranchers sent me a private message, on the usage of Weblogic's DDinit utility.

========
when i generate web.xml & weblogic.xml using following cmd:
java weblogic.ant.taskdefs.war.DDInit stagedir
the file was not stored in the stagedir/web-inf,but relative infomatin is printed on the screen,why?
========
Well, the only difference about what command you are giving to what I give is the stagedir, I run the utility from within the stage dir using
'java weblogic.ant.taskdefs.war.DDInit .'
That's the only difference. Secondly, can you let us know what 'relative information' does the utility print on the console?
Thanks & Bye,
Tualha Khan
22 years ago