Pete Neu

Ranch Hand
+ Follow
since Feb 18, 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 Pete Neu

Hi,

I have to implement a simple task namely erasing all files from a WebDav directory.

I did a google search but could not find a simple Web Dav client API. Slide is retired, Jackrabbit seems only for server side stuff and has no easy examples.

Does anybody know an easy to use WebDav Client Api? A small example would be really helpful.

Cheers,
Pete

Hi,

is there a way to plug a Rest Webservice (Json) into JBoss ESB? If yes how is that done?
Any ideas?

Cheers,
Pete
13 years ago
30.03.2010 13:25:48 main INFO org.apache.coyote.ajp.AjpProtocol: Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
30.03.2010 13:25:57 org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4 INFO de.telekom.sen.charityapp.business.job.SystemUpdateJob: Starting SystemUpdateJob ....
30.03.2010 13:26:05 http-127.0.0.1-8080-2 WARN org.springframework.web.servlet.PageNotFound: No mapping found for HTTP request with URI [/xxApp/WEB-INF/jsp/two.jsp] in DispatcherServlet with name 'springmvc'

13 years ago
Hi,

I'm trying to do a setup for a very basic webapplication with jboss and spring mvc. The problem is the url-pattern I use:
<url-pattern>/*</url-pattern> this setup won't work because the TestController won't find the right viewResolver. The whole thing works
if I use the this <url-pattern>/*.html</url-pattern> in the web.xml.

Any ideas what's wrong?

web.xml:


springmvc-servlet.xml



TestController.java


13 years ago
I would like to keep the application as simple as possible. It's purpose is mainly to send out notifications with attachments. It's important that the emails are acknowledged and if not stored for some time.
When I talk about the downtime of the server I mean the peer server which receives the messages.

So is it a better idea to use a real java mail server option like James (or something similar) or rely on storing messages in a message queue?

I might need features like statistics about send messages & failures in the future.
14 years ago
Hi,

I need to buffer mails if the mailserver which I want to sent them to is down or not responding. Mails come with attachments and can be up to 3 MB.

What are the best options? Right now I'm thing about storing the mails in a message queue like ActiveMq or storing them in a database.

Any ideas what's the best approach?
14 years ago
Hi,

we need to have session handling with our RESTFul web service. Sessions must be valid up to 10-13 hours.

What options are out there to do this? What is the easiest possibility? Web Service runs in JBoss.

14 years ago
That's the problem. JavaMail seems to be structured very simplistic in terms of debugging. I couldn't find a way to send the debug informations to a file because it gets written directly to the console there seems to be no method to alter this behavior.
Hi Martijn,

JavaMail is writing directly to the stdout. Configuration for debug info looks like this:

Session session = Session.getInstance(props, null); session.setDebug(true);

Cheers,
Pete
[ November 20, 2008: Message edited by: Pete Neu ]
Nodoby any idea how this is done?
Hi,

I need to pass the debug information JavaMail gives me to my Log4J log file. I have set up a Log4J configuration but I don't know how to pipe the JavaMail debug output into it.

Any help much appreciated.

Cheers,
Pete
Hm, just played around with problem and found out that IE has the peculiarity that it loads & executes this code when the page is loaded.

Firefox seems to refuse to do this and wants a tweaking like this:


I suppose this won't work any other way, right?
Hello,

I'm using window.location.hash to forward the user to a certain part of the HTML page. Works well in IE but not in Fire Fox (2.0.0.8).

I used the forum search but only found a post where no solution existed:
https://coderanch.com/t/116194/HTML-JavaScript/window-location-hash

Does anyone know a solution to this?

cheers,
Pete
Hello,

I must refactor an application which uses http client to look for updates on the internet. Problem is, some users don't access the internet directly but through a http proxy e.g. proxserver.com:8118.

I have a windows box with normal internet access. I thought ok, just use Zone Alarm to deny the java.exe access to the internet while allowing access to the safe zone. Then use Privoxy (http://www.privoxy.org/) as Http Proxy. Privoxy has the right to use the internet. The dumb thing is though the http client uses Privoxy it is denied access to the internet for some stupid reason in the ZoneAlarm Software.

Does anyone have an idea (another free firewall) how to simulate the situation that the Java Runtime has only internet access through the proxy?
So, do you have any suggestion what to do?

How would you proceed when faced with this problem?

-Pete
[ June 06, 2007: Message edited by: Pete Neu ]