Win a copy of Head First Android this week in the Android forum!

Mathias Andrae

+ Follow
since Feb 04, 2002
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mathias Andrae

Is there any way to copy a file from one URL to another?
Downloading from an URL is no problem, but I did not find any way to get this file to the other URL.
Both URL are files on ftp-servers.
Anybody any idea???
I am new in socket programming.
I only want to receive a document from an URL.
Doing it in the intranet works fine. But doing it over the proxy from the WWW it gives an IOException.
I suppose the proxy is the cause for it.
Any idea what I have to do??
Here my simple source:
Thanks for your help.
But it was a more easier problem.
There were some sourcefile placed twice in different directories. And I suppose javadoc got some problem with this, while generating the doc-files.
After deleting the duplicates it worked perfectly.
19 years ago
Do you know any reason, why javadoc only generates the constant-values.html and no more files?
I got these message:
javadoc: No public or protected classes found to document.
Generating H:\entwick\java\test\intern\javadoc\constant-values.html...
But there are public and protected classes!!!
Any idea?
19 years ago
I think all necessary attributes are set.
It is really confusing. the call runs perfectly on most directories. but on some I get this exception.
And I can't find the difference.
Do you know any naturally limits of javadoc?
Here is my build.xml of ant. Maybe you see a mistake. The source and destination dir are set correct in the original version.
<?xml version="1.0"?>
<project name="tutorial" default="build" basedir=".">
<target name="build">

destdir="---destination dir---"

<fileset dir="---source dir---" defaultexcludes ="yes">
<include name="**/*.java"/>
19 years ago
Thanks for this great idea. it works...
...but in some cases I got following exception:
[javadoc] Building tree for all the packages and classes...
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
[javadoc] javadoc: In doclet class, method start has thrown an exception java

[javadoc] java.lang.NullPointerException
[javadoc] at
[javadoc] at
[javadoc] at
[javadoc] at
[javadoc] at
[javadoc] at
[javadoc] at
[javadoc] at
[javadoc] at
[javadoc] at
[javadoc] at
[javadoc] at
[javadoc] at
[javadoc] at
[javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(
[javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(
[javadoc] at java.lang.reflect.Method.invoke(
[javadoc] at
[javadoc] Generating C:\andrae\destdir\_0002fnve_0002ejspnve_jsp_0.html...
[javadoc] 1 error
[javadoc] at
[javadoc] at
[javadoc] at
[javadoc] 100 warnings
[javadoc] at
[javadoc] at
then I got only the tree but not the javadocs of the classes.

any idea why???
19 years ago
and any idea for win nt???
19 years ago
Is there any way I can generate a javadoc over all sources which are in different subdirectory of a rootpath.
The problem is that the name of the subdirectories are not static. only the rootpath is static.
Is there any way that javadoc seeks automaticly for all sources in the subdirectories???
19 years ago
Is there anybody who can give me a short description how to create a DataSource in the Admin-Console of Websphere 4
In 3.5 it was really easy. Now I work with 4.0 and I don't find the position where I can adjust the Datasources.
19 years ago
My AppServer is WebSphere 4.0, my IDE is JBuilder 6 Enterprise.
Now my problem:
I have got problems to connect to my ejb.
the ejb runs correctly on websphere.
the lookup() in the works also correctly.
but when I cast the HomeInterface I got following exception:
java.lang.ClassCastException: Unable to load class: org.omg.stub.ejb._SessionHome_Stub
at javax.rmi.PortableRemoteObject.narrow(
at ejb.SessionTestClient1.<init>(
at ejb.SessionTestClient1.main(
Is there anything I have to do on the client???
classpath??? imports???
I used the standard-test-client of JBuilder.
I only changed the URL of my AppServer.
thanks for help!!!
Thanks for your fast answer.
But I have to request again.
Is there really no way to prevent cookies while coding the servlet???
19 years ago
Can anybody give me some sourcecode for a servlet which handles sessions with URL-rewriting and EXPLICITELY WITHOUT cookies.
19 years ago
which appserver do you use?
The connection between the appserver and an CMP-Entity-Bean will be done with a deployment-tool, which is delivered with your appserver or your IDE. (mostly with the appserver)
thanks, but thats not the problem.
The jndi-name is correct.
Is there any setting I forgot at the client.
Can anybody give me an overview of what is to do at the client to enable access to an ejb-server.
Thanks, it helped.
I don't work with ejb in webstart. I want to load the ClientApplication of an ejb from the server.
Another Question! When on my Client is not the right jdk, where I have to define the place of the jdk, if it is to download.
Can you give me example-code or any other help???
19 years ago