osman cinar eren

Ranch Hand
+ Follow
since Jan 25, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by osman cinar eren

Hi,

is there any one who works/ed with jcrontab? Although this is a very nice project, i have problems in reaching docs on this project. I have a simple crontab.xml with one class and one method but i receive ClassCastExceptions for this class.
2008-10-31 16:25:00,504 LV: INFO CL:jcrontabCron] com.web.controllers.ControlManager#dummy
[2008-10-31 16:25:00,504 LV EBUG CL:jcrontabCron] Interval to sleep : 29003
[2008-10-31 16:25:00,504 LV:ERROR CL:jcrontabCrontask-3] java.lang.ClassCastException: com.web.controllers.ControlManager
java.lang.ClassCastException: com.web.controllers.ControlManager
at org.jcrontab.CronTask.runTask(CronTask.java:175)
at org.jcrontab.CronTask.run(CronTask.java:272)

thanks for your help..
Hi,

try to create context.xml file udner META-INF directory.(at same level of WEB-INF)
in this file, enter:
<Context>your resource definition above where you put in server.xml</Context>

hope this helps.
Hi Martjin,

i ask about any EJB calls done by a client that works on a server which is different than the server that has EJB on it?

BR..
15 years ago
Hi,

can you please tell about security mechanisms that are available for the confidentiality of RMI-IIOP message, i.e. EJB? Please assume that HTTP tunneling is not an option.

Best Regards.
15 years ago
Hi,

with java 5.0 we have the classes in java.util.concurrent.atomic; for example you can use the "public final int getAndIncrement()" of AtomicInteger class.

hope this helps..
17 years ago
I found the problem. thank you for your help.
I only have one import:

java.io.*
Hi,

thank you for your quick response. I only have JRE for 1.4.2 on my build path libraries. The different thing is I only installed J2EE 1.4.2 and selected the directory of the JRE taht comes with it: C:\Sun\AppServer\jdk\jre

but i couldnot see anything abnormal. By the way it is appearent that this is not an Eclipse bug but what may be the mistake in my environment?
Hi,

after a 3-4 month break, I decided to write a java program and opened Eclipse. The code is:
Reader in = new FileReader("foo.in");

And Eclipse tells that type mismatch: cannot convert from filereader to reader.

I work with java 1.4.2.
This is a very fundamental mistake. Can it be a bug?

thanks in advance...
hi,

did you try to conenct to the mail server directly?I mean:

open a command prompt
telnet mail.mycompany.com 25

if no error messages, and black screen then connection is OK.

regards..
18 years ago
which version of taglib do you have in your environment?
18 years ago
hi,

did yo ucheck if jstl.jar is in your classpath?
jstl.jar from jstl jakarta-taglibs 1.0.6. (this is for JSP 1.2 which you have with WAS 5.x)

hope this helps..
18 years ago
you can do the following:
if your context is wps(as in the case with IBM Websphere), you can use:
<a href="/wps/images/page.gif">click to see page.gif</a>


hope this helps..
18 years ago
XMLReader.setFeature( "http://xml.org/sax/features/validation", true);

thanks for your reply..
hi,

if we want to validate an XML document with our SAX parser, we use the setvalidating method of Saxparserfactory.

however if we go through the XMLReader to create our , we dont have such a method.
what can i do?

thanks in advance.
best regards...