<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>RE: [Paraview] ParaViewWeb build - PWServer</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hi<BR>
<BR>
I think I have solved the 8080 already in use issue. I did have tomcat running on startup, so I was running two instances, both trying to use port 8080. I did check this a number of times, but I've only just realized exactly what the problem was.<BR>
<BR>
When running PWApp I now receive the following logged error messages from the ParaViewWeb working directory:<BR>
<BR>
ERROR: In /home/max/Downloads/ParaViewWeb/ParaViewAdapter/vtkPWJMSMessagingService.cxx, line 154<BR>
vtkPWJMSMessagingService (0x14870f0): CMS Exception<BR>
<BR>
----<BR>
<BR>
Also from pw-out-1.log: (I'm not sure if this is in fact an error)<BR>
<BR>
JMS Initialized in 0.115973 seconds<BR>
sessionID : org.paraview.paraweb<BR>
logLevel : ERROR<BR>
Processing Engine Initialized in 2.20879 seconds<BR>
<BR>
Processing engine is started !<BR>
Error message: DataInputStream::readLong - Reached EOF<BR>
DataInputStream::readLong - Reached EOF<BR>
FILE: decaf/io/DataInputStream.cpp, LINE: 495<BR>
FILE: decaf/io/DataInputStream.cpp, LINE: 501<BR>
FILE: decaf/io/DataInputStream.cpp, LINE: 129<BR>
FILE: activemq/wireformat/openwire/OpenWireFormat.cpp, LINE: 265<BR>
FILE: activemq/transport/IOTransport.cpp, LINE: 243<BR>
<BR>
----<BR>
<BR>
I've searched for the above errors, but I couldn't find a solution.<BR>
<BR>
Could someone suggest what the problem may be?<BR>
<BR>
Thanks<BR>
Max<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Sebastien Jourdain [<A HREF="mailto:sebastien.jourdain@kitware.com">mailto:sebastien.jourdain@kitware.com</A>]<BR>
Sent: Fri 19/08/11 23:09<BR>
To: WILKINSON M.<BR>
Cc: paraview@paraview.org<BR>
Subject: Re: [Paraview] ParaViewWeb build - PWServer<BR>
<BR>
Hi Max,<BR>
<BR>
thanks for sharing that with others.<BR>
<BR>
Based on the latest informations that you are providing, it seems that<BR>
you use the tomcat from the system.<BR>
In order to ease the testing/deployment process of ParaViewWeb, you<BR>
should first try to run your own tomcat as your own user that should<BR>
not be root.<BR>
But as tomcat seems to work as a daemon (root/tomcat6), you have to<BR>
make sure you did stop it before starting your own tomcat.<BR>
Moreover, if you don't want to fall on previous error, just remove all<BR>
log files, so when you start tomcat, you are sure that the new log<BR>
files contains only the information of the current session. (You can<BR>
do the same with the database directory of ParaViewWeb)<BR>
<BR>
Moreover, don't try to hot deploy ParaViewWeb while tomcat is running.<BR>
<BR>
Seb<BR>
<BR>
On Fri, Aug 19, 2011 at 3:51 PM, WILKINSON M.<BR>
<maxwell.wilkinson@durham.ac.uk> wrote:<BR>
> Hi all<BR>
><BR>
> I'm having a problem with runtime configuration of ParaViewWeb.<BR>
><BR>
> When I go to <A HREF="http://localhost:8080/PWApp">http://localhost:8080/PWApp</A> and try to start a visualization,<BR>
> the loading screen hangs without error.<BR>
><BR>
> In the log file for tomcat I'm given:<BR>
><BR>
> SEVERE: Error initializing endpoint<BR>
><BR>
> java.net.BindException: Address already in use <null>:8080<BR>
><BR>
> This tells me that port 8080 is already in use.<BR>
><BR>
> In the terminal if I do:<BR>
><BR>
> $ netstat -lnp | grep 8080<BR>
> tcp6 0 0 :::8080 :::*<BR>
> LISTEN 2449/java<BR>
><BR>
> $ ps -lf 2449<BR>
> F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD<BR>
> 0 S root 2449 1 2 80 0 - 199655 futex_ 20:38 pts/0 0:04<BR>
> /usr/bin/java<BR>
> -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properti<BR>
><BR>
> This tells me that tomcat is running on port 8080. Isn't this the port it<BR>
> should be running on? So what's the problem?<BR>
><BR>
> If I shutdown tomcat<BR>
> $./shutdown.sh<BR>
><BR>
> Then check port 8080 again, the process has been stopped:<BR>
> $ netstat -lnp | grep 8080<BR>
> $<BR>
><BR>
> What exactly is wrong here? I've set up tomcat to use port 8080, but when I<BR>
> try to run ParaViewWeb through tomcat it complains that port 8080 is already<BR>
> in use?<BR>
><BR>
> Thanks<BR>
><BR>
> Also, for the archive, please find attached to the remainder of this post<BR>
> some answers to previous problems I've had while setting up ParaViewWeb.<BR>
> Hopefully these will be of use to other users. A big thank you to Sebastian<BR>
> for his help.<BR>
><BR>
> Max<BR>
><BR>
> -----Original Message-----<BR>
> From: Sebastien Jourdain [<A HREF="mailto:sebastien.jourdain@kitware.com">mailto:sebastien.jourdain@kitware.com</A>]<BR>
> Sent: Mon 15/08/11 21:31<BR>
> To: WILKINSON M.<BR>
> Subject: Re: [Paraview] ParaViewWeb build - PWServer<BR>
><BR>
> are you sure you don't have any system tomcat already running...<BR>
> Otherwise, when you stop tomcat and restart it, you did not fully stop<BR>
> tomcat.<BR>
><BR>
> To make sure that tomcat is not running anymore after you requested it<BR>
> to stop type the following command line.<BR>
><BR>
>> ps aux | grep java | grep tomcat<BR>
><BR>
> If you still have a process just kill it before trying to starting it again.<BR>
><BR>
> Seb<BR>
><BR>
> On Mon, Aug 15, 2011 at 3:52 PM, WILKINSON M.<BR>
> <maxwell.wilkinson@durham.ac.uk> wrote:<BR>
>> Hi Seb<BR>
>><BR>
>> I have LD_LIBRARY_PATH set correctly using PWServer.sh<BR>
>><BR>
>> When I start a session in PWApp the pw-out log file is as follows:<BR>
>><BR>
>> -----<BR>
>><BR>
>> JMS Initialized in 0.118797 seconds<BR>
>> sessionID : org.paraview.paraweb<BR>
>> logLevel : ERROR<BR>
>> Processing Engine Initialized in 2.14165 seconds<BR>
>><BR>
>> Processing engine is started !<BR>
>> -----<BR>
>><BR>
>> However the session hangs while it is still loading without any onscreen<BR>
>> error.<BR>
>><BR>
>> The log file for tomcat details the following:<BR>
>><BR>
>> SEVERE: Error starting endpoint<BR>
>> java.net.BindException: Address already in use <null>:8080<BR>
>><BR>
>> SEVERE: Failed to start connector [Connector[HTTP/1.1-8080]]<BR>
>> LifecycleException: service.getName(): "Catalina"; Protocol handler<BR>
>> start<BR>
>> failed: java.net.BindException: Address already in use <null>:8080<BR>
>><BR>
>> -----<BR>
>><BR>
>> I have checked to see if I have other processes using port 8080:<BR>
>><BR>
>> None are listed before running tomcat:<BR>
>> $ sudo netstat -anp | grep 8080<BR>
>><BR>
>> Once I start tomcat:<BR>
>> $ sudo netstat -anp | grep 8080<BR>
>> tcp6 0 0 :::8080 :::*<BR>
>> LISTEN 2318/java<BR>
>><BR>
>> Once I start firefox with /localhost:8080/PWApp/<BR>
>> $ sudo netstat -anp | grep 8080<BR>
>> tcp 0 0 127.0.0.1:38587 127.0.0.1:8080<BR>
>> ESTABLISHED 1732/firefox-bin<BR>
>> tcp6 0 0 :::8080 :::*<BR>
>> LISTEN 2318/java<BR>
>> tcp6 0 0 127.0.0.1:8080 127.0.0.1:38587<BR>
>> ESTABLISHED<BR>
>><BR>
>> Are these processes correct for port 8080 and are you able to suggest what<BR>
>> the problem may be?<BR>
>><BR>
>> Thanks for your patience!<BR>
>><BR>
>> Max<BR>
>><BR>
>> -----Original Message-----<BR>
>> From: Sebastien Jourdain [<A HREF="mailto:sebastien.jourdain@kitware.com">mailto:sebastien.jourdain@kitware.com</A>]<BR>
>> Sent: Sun 14/08/11 16:17<BR>
>> To: WILKINSON M.<BR>
>> Subject: Re: [Paraview] ParaViewWeb build - PWServer<BR>
>><BR>
>> Hi Max,<BR>
>><BR>
>> I think you successfully build everything. Now it is just a matter of<BR>
>> runtime setting. Basically your LD_LIBRARY_PATH is not properly set so<BR>
>> the ParaView shared library are not found.<BR>
>><BR>
>> One way to solve that is to create an executable script PWServer.sh in<BR>
>> the same location of the PWServer executable.<BR>
>> In that script, you just set the LD_LIBRARY_PATH as it is supposed to<BR>
>> be. In order to quickly test if you solved all your runtime library<BR>
>> dependency, you can run the executable/script manually in order to get<BR>
>> directly the name of the missing library.<BR>
>><BR>
>> Here is an example of what a PWSever.sh file could look like.<BR>
>><BR>
>> export LD_LIBRARY_PATH=....set of directory that contains the so files<BR>
>> that the application is using....<BR>
>> .../PWServer $1 $2 $3 $4 $5 $6 $7 $8<BR>
>><BR>
>> But if you take the route of the script don't forget to update the<BR>
>> executable path/name in the pw-config.properties file inside your<BR>
>> tomcat lib directory.<BR>
>><BR>
>> Seb<BR>
>><BR>
>> On Sun, Aug 14, 2011 at 10:58 AM, WILKINSON M.<BR>
>> <maxwell.wilkinson@durham.ac.uk> wrote:<BR>
>>> Hi Seb<BR>
>>><BR>
>>> Deleting the PW database fixed the problem, thanks for your help with<BR>
>>> this.<BR>
>>><BR>
>>> I now have the following error given in the log error file:<BR>
>>><BR>
>>> /opt/install-pw/bin/PWServer: error while loading shared libraries:<BR>
>>> libvtkPVServerManager.so: cannot open shared object file: No such file or<BR>
>>> directory<BR>
>>><BR>
>>> I have this file installed under /opt/install-ParaView/lib/paraview-3.10/<BR>
>>><BR>
>>> Should I have specified this location in the ccmake for ParaViewWeb?<BR>
>>><BR>
>>> ----------<BR>
>>><BR>
>>> My ccmake for ParaView looks like this:<BR>
>>><BR>
>>> BUILD_SHARED_LIBS<BR>
>>> ON<BR>
>>> CMAKE_BUILD_TYPE<BR>
>>> Debug<BR>
>>> CMAKE_INSTALL_PREFIX<BR>
>>> /opt/install-ParaView<BR>
>>> PARAVIEW_BUILD_QT_GUI<BR>
>>> OFF<BR>
>>> PARAVIEW_DATA_ROOT<BR>
>>> PARAVIEW_DATA_ROOT-NOTFOUND<BR>
>>> PARAVIEW_ENABLE_PYTHON<BR>
>>> ON<BR>
>>> PARAVIEW_ENABLE_PYTHON_FILTERS<BR>
>>> ON<BR>
>>> PARAVIEW_USE_MPI<BR>
>>> OFF<BR>
>>> PARAVIEW_USE_VISITBRIDGE<BR>
>>> OFF<BR>
>>> PYVERSIONS_EXE<BR>
>>> /usr/bin/pyversions<BR>
>>> QT_QMAKE_EXECUTABLE<BR>
>>> QT_QMAKE_EXECUTABLE-NOTFOUND-NOTFOUND<BR>
>>> VTK_EXTRA_COMPILER_WARNINGS<BR>
>>> OFF<BR>
>>> VTK_WRAP_PYTHON_SIP OFF<BR>
>>><BR>
>>> ----------<BR>
>>> My ccmake for ParaViewWeb looks like this:<BR>
>>><BR>
>>> ACTIVEMQ_CPP<BR>
>>> /usr/local/lib/libactivemq-cpp.so<BR>
>>> ACTIVEMQ_INCLUDE_DIR<BR>
>>> /usr/local/include/activemq-cpp-3.4.0<BR>
>>> ANT_EXECUTABLE<BR>
>>> /usr/share/ant/bin/ant<BR>
>>> BUILD_CONSOLE_SAMPLE<BR>
>>> ON<BR>
>>> BUILD_FLEX_RENDERER<BR>
>>> ON<BR>
>>> BUILD_MANTA_SAMPLE<BR>
>>> OFF<BR>
>>> BUILD_PW_SERVER<BR>
>>> ON<BR>
>>> BUILD_SANDBOX_SAMPLE<BR>
>>> ON<BR>
>>> BUILD_SHUTTLE<BR>
>>> ON<BR>
>>> BUILD_SIMPLE_JS<BR>
>>> ON<BR>
>>> BUILD_STATE_APP_BUILDER<BR>
>>> ON<BR>
>>> BUILD_TESTING<BR>
>>> ON<BR>
>>> BUILD_WEB_APPLICATION<BR>
>>> ON<BR>
>>> BUILD_WEB_SAMPLES<BR>
>>> ON<BR>
>>> BUILD_WEB_SERVICE<BR>
>>> ON<BR>
>>> CMAKE_BUILD_TYPE<BR>
>>> Debug<BR>
>>> CMAKE_INSTALL_PREFIX /opt/install-pw<BR>
>>> CORE_CTX_ROOT<BR>
>>> PWService<BR>
>>> DART_TESTING_TIMEOUT<BR>
>>> 1500<BR>
>>> FLEX_HOME<BR>
>>> /opt/flex<BR>
>>> GWT_SDK_HOME<BR>
>>> /opt/gwt-2.0.3<BR>
>>> LOGGING_LEVEL<BR>
>>> ERROR<BR>
>>> LOG_PARAVIEW<BR>
>>> OFF<BR>
>>> LOG_PARAWEB<BR>
>>> ON<BR>
>>> PV_ADAPTER_EXEC<BR>
>>> /opt/install-pw/bin/PWServer<BR>
>>> ParaView_DIR<BR>
>>> /opt/build-paraview<BR>
>>> QOOXDOO_SDK_PATH<BR>
>>> /opt/qooxdoo-1.5-sdk<BR>
>>> VTK_DIR<BR>
>>> /opt/build-paraview/VTK<BR>
>>> WEB_DEPLOY<BR>
>>> OFF<BR>
>>> WORKING_DIR /opt/PW-work<BR>
>>><BR>
>>> ----------<BR>
>>><BR>
>>> Thanks for all your help with this.<BR>
>>><BR>
>>> Max<BR>
>>><BR>
>>><BR>
>>> -----Original Message-----<BR>
>>> From: Sebastien Jourdain [<A HREF="mailto:sebastien.jourdain@kitware.com">mailto:sebastien.jourdain@kitware.com</A>]<BR>
>>> Sent: Thu 11/08/11 22:50<BR>
>>> To: WILKINSON M.<BR>
>>> Cc: paraview@paraview.org<BR>
>>> Subject: Re: [Paraview] ParaViewWeb build - PWServer<BR>
>>><BR>
>>> Did you properly set the working directory in the CMake configuration.<BR>
>>> If so, just try to delete the database by removing the database<BR>
>>> directory in the working directory that you set in CMake.<BR>
>>><BR>
>>> Seb<BR>
>>><BR>
>>> On Thu, Aug 11, 2011 at 5:35 PM, WILKINSON M.<BR>
>>> <maxwell.wilkinson@durham.ac.uk> wrote:<BR>
>>>> Hi Seb<BR>
>>>><BR>
>>>> To answer my previous email, I've managed to build all the components.<BR>
>>>> I'm<BR>
>>>> able to load each of the .war components in my browser from<BR>
>>>> <A HREF="http://localhost:8080/PW/PWApp.html">http://localhost:8080/PW/PWApp.html</A><BR>
>>>><BR>
>>>> However when I try to load a visualization using PWApp, for example the<BR>
>>>> wavelet dataset, I'm given the error:<BR>
>>>><BR>
>>>> 'An error occured during the loading.<BR>
>>>> org.hibernate.exception.GenericJDBCException: Cannot open connection'<BR>
>>>><BR>
>>>> Are you able to suggest a solution?<BR>
>>>><BR>
>>>> I have checked activemq is running using ./activemq status<BR>
>>>><BR>
>>>> I'm nearly there!<BR>
>>>><BR>
>>>> Thanks<BR>
>>>> Max<BR>
>>>><BR>
>>>> -----Original Message-----<BR>
>>>> From: WILKINSON M.<BR>
>>>> Sent: Thu 11/08/11 21:19<BR>
>>>> To: Sebastien Jourdain<BR>
>>>> Subject: RE: [Paraview] ParaViewWeb build - PWServer<BR>
>>>><BR>
>>>> Hi Seb<BR>
>>>><BR>
>>>> Thanks for your reply, I understand the ccmake process now. I've managed<BR>
>>>> to<BR>
>>>> build PWServer and PWService.<BR>
>>>><BR>
>>>> I've added:<BR>
>>>> PWService.war to ../tomcat/webapps/<BR>
>>>> pw-config.properties to ../tomcat/lib/<BR>
>>>><BR>
>>>> However, the host cannot find <A HREF="http://localhost:8080/PWService">http://localhost:8080/PWService</A><BR>
>>>><BR>
>>>> If I go to <A HREF="http://localhost:8080/">http://localhost:8080/</A> I get the tomcat default home page, so<BR>
>>>> I<BR>
>>>> think tomcat is working okay.<BR>
>>>><BR>
>>>> From within ccmake, there was no entry for CORE_SERVICE_URL available,<BR>
>>>> so<BR>
>>>> I<BR>
>>>> could not specify <A HREF="http://localhost:8080/PWService">http://localhost:8080/PWService</A><BR>
>>>><BR>
>>>> The ccmake parameters available are as follows:<BR>
>>>><BR>
>>>> ../build-pw$ ccmake ../ParaViewWeb/<BR>
>>>><BR>
>>>> ACTIVEMQ_CPP<BR>
>>>> /usr/local/lib/libactivemq-cpp.so<BR>
>>>> ACTIVEMQ_INCLUDE_DIR<BR>
>>>> /usr/local/include/activemq-cpp-3.4.0<BR>
>>>> ANT_EXECUTABLE<BR>
>>>> /usr/share/ant/bin/ant<BR>
>>>> BUILD_CONSOLE_SAMPLE<BR>
>>>> ON<BR>
>>>> BUILD_FLEX_RENDERER<BR>
>>>> OFF<BR>
>>>> BUILD_MANTA_SAMPLE<BR>
>>>> OFF<BR>
>>>> BUILD_PW_SERVER<BR>
>>>> ON<BR>
>>>> BUILD_REMOTE_LAUNCHER<BR>
>>>> OFF<BR>
>>>> BUILD_SANDBOX_SAMPLE<BR>
>>>> OFF<BR>
>>>> BUILD_SHUTTLE<BR>
>>>> ON<BR>
>>>> BUILD_SIMPLE_JS<BR>
>>>> ON<BR>
>>>> BUILD_STATE_APP_BUILDER<BR>
>>>> ON<BR>
>>>> BUILD_TESTING<BR>
>>>> ON<BR>
>>>> BUILD_WEB_APPLICATION<BR>
>>>> OFF<BR>
>>>> BUILD_WEB_SAMPLES<BR>
>>>> OFF<BR>
>>>> BUILD_WEB_SERVICE<BR>
>>>> ON<BR>
>>>> BZRCOMMAND<BR>
>>>> BZRCOMMAND-NOTFOUND<BR>
>>>> CMAKE_AR<BR>
>>>> /usr/bin/ar<BR>
>>>> CMAKE_BUILD_TYPE<BR>
>>>> Debug<BR>
>>>> CMAKE_COLOR_MAKEFILE<BR>
>>>> ON<BR>
>>>> CMAKE_CXX_COMPILER<BR>
>>>> /usr/bin/c++<BR>
>>>> CMAKE_CXX_FLAGS<BR>
>>>> CMAKE_CXX_FLAGS_DEBUG<BR>
>>>> -g<BR>
>>>> CMAKE_CXX_FLAGS_MINSIZEREL -Os<BR>
>>>> -DNDEBUG<BR>
>>>> CMAKE_CXX_FLAGS_RELEASE -O3<BR>
>>>> -DNDEBUG<BR>
>>>> CMAKE_CXX_FLAGS_RELWITHDEBINFO -O2<BR>
>>>> -g<BR>
>>>> CMAKE_C_COMPILER<BR>
>>>> /usr/bin/gcc<BR>
>>>> CMAKE_C_FLAGS<BR>
>>>> CMAKE_C_FLAGS_DEBUG<BR>
>>>> -g<BR>
>>>> CMAKE_C_FLAGS_MINSIZEREL -Os<BR>
>>>> -DNDEBUG<BR>
>>>> CMAKE_C_FLAGS_RELEASE -O3<BR>
>>>> -DNDEBUG<BR>
>>>> CMAKE_C_FLAGS_RELWITHDEBINFO -O2<BR>
>>>> -g<BR>
>>>> CMAKE_EXE_LINKER_FLAGS<BR>
>>>> CMAKE_EXE_LINKER_FLAGS_DEBUG<BR>
>>>> CMAKE_EXE_LINKER_FLAGS_MINSIZE<BR>
>>>> CMAKE_EXE_LINKER_FLAGS_RELEASE<BR>
>>>> CMAKE_EXE_LINKER_FLAGS_RELWITH<BR>
>>>> CMAKE_INSTALL_PREFIX<BR>
>>>> /home/max/Downloads/install-pw<BR>
>>>> CMAKE_LINKER<BR>
>>>> /usr/bin/ld<BR>
>>>> CMAKE_MAKE_PROGRAM<BR>
>>>> /usr/bin/make<BR>
>>>> CMAKE_MODULE_LINKER_FLAGS<BR>
>>>> CMAKE_MODULE_LINKER_FLAGS_DEBU<BR>
>>>> CMAKE_MODULE_LINKER_FLAGS_MINS<BR>
>>>> CMAKE_MODULE_LINKER_FLAGS_RELE<BR>
>>>> CMAKE_MODULE_LINKER_FLAGS_RELW<BR>
>>>> CMAKE_NM<BR>
>>>> /usr/bin/nm<BR>
>>>> CMAKE_OBJCOPY<BR>
>>>> /usr/bin/objcopy<BR>
>>>> CMAKE_OBJDUMP<BR>
>>>> /usr/bin/objdump<BR>
>>>> CMAKE_RANLIB /usr/bin/ranlib<BR>
>>>> CMAKE_SHARED_LINKER_FLAGS<BR>
>>>> CMAKE_SHARED_LINKER_FLAGS_DEBU<BR>
>>>> CMAKE_SHARED_LINKER_FLAGS_MINS<BR>
>>>> CMAKE_SHARED_LINKER_FLAGS_RELE<BR>
>>>> CMAKE_SHARED_LINKER_FLAGS_RELW<BR>
>>>> CMAKE_SKIP_RPATH<BR>
>>>> OFF<BR>
>>>> CMAKE_STRIP<BR>
>>>> /usr/bin/strip<BR>
>>>> CMAKE_USE_RELATIVE_PATHS<BR>
>>>> OFF<BR>
>>>> CMAKE_VERBOSE_MAKEFILE<BR>
>>>> OFF<BR>
>>>> CORE_CTX_ROOT<BR>
>>>> PWService<BR>
>>>> COVERAGE_COMMAND<BR>
>>>> /usr/bin/gcov<BR>
>>>> CTEST_SUBMIT_RETRY_COUNT<BR>
>>>> 3<BR>
>>>> CTEST_SUBMIT_RETRY_DELAY<BR>
>>>> 5<BR>
>>>> CVSCOMMAND<BR>
>>>> CVSCOMMAND-NOTFOUND<BR>
>>>> CVS_UPDATE_OPTIONS -d -A<BR>
>>>> -P<BR>
>>>> DART_TESTING_TIMEOUT<BR>
>>>> 1500<BR>
>>>> GITCOMMAND<BR>
>>>> /usr/bin/git<BR>
>>>> GWT_SDK_HOME<BR>
>>>> HGCOMMAND<BR>
>>>> HGCOMMAND-NOTFOUND<BR>
>>>> Java_JAR_EXECUTABLE<BR>
>>>> /usr/bin/jar<BR>
>>>> Java_JAVAC_EXECUTABLE<BR>
>>>> /usr/bin/javac<BR>
>>>> Java_JAVA_EXECUTABLE<BR>
>>>> /usr/lib/jvm/java-6-sun-1.6.0.26/jre/bin/java<BR>
>>>> LOGGING_LEVEL<BR>
>>>> ERROR<BR>
>>>> LOG_PARAVIEW<BR>
>>>> OFF<BR>
>>>> LOG_PARAWEB<BR>
>>>> ON<BR>
>>>> MAKECOMMAND /usr/bin/make<BR>
>>>> -i<BR>
>>>> MEMORYCHECK_COMMAND<BR>
>>>> MEMORYCHECK_COMMAND-NOTFOUND<BR>
>>>> MEMORYCHECK_SUPPRESSIONS_FILE<BR>
>>>> PV_ADAPTER_EXEC<BR>
>>>> /home/max/Downloads/install-pw/bin/PWServer<BR>
>>>> ParaView_DIR<BR>
>>>> /home/max/Downloads/build-paraview<BR>
>>>> SCPCOMMAND<BR>
>>>> /usr/bin/scp<BR>
>>>> SITE<BR>
>>>> Vostro<BR>
>>>> SLURM_SBATCH_COMMAND<BR>
>>>> SLURM_SBATCH_COMMAND-NOTFOUND<BR>
>>>> SLURM_SRUN_COMMAND<BR>
>>>> SLURM_SRUN_COMMAND-NOTFOUND<BR>
>>>> SVNCOMMAND<BR>
>>>> SVNCOMMAND-NOTFOUND<BR>
>>>> TCL_LIBRARY<BR>
>>>> TK_LIBRARY<BR>
>>>> WEB_DEPLOY<BR>
>>>> OFF<BR>
>>>> WORKING_DIR<BR>
>>>> /home/max/Downloads/PW-work<BR>
>>>><BR>
>>>><BR>
>>>><BR>
>>>><BR>
>>>> -------------------------------------------------------------------------------<BR>
>>>><BR>
>>>> Could you suggest how to display CORE_SERVICE_URL and FLEX_HOME within<BR>
>>>> ccmake?<BR>
>>>><BR>
>>>> I think then the deployment should be successful.<BR>
>>>><BR>
>>>> Thanks for your help.<BR>
>>>><BR>
>>>> Max<BR>
>>>><BR>
>>>><BR>
>>>> -----Original Message-----<BR>
>>>> From: Sebastien Jourdain [<A HREF="mailto:sebastien.jourdain@kitware.com">mailto:sebastien.jourdain@kitware.com</A>]<BR>
>>>> Sent: Thu 11/08/11 01:05<BR>
>>>> To: WILKINSON M.<BR>
>>>> Cc: paraview@paraview.org<BR>
>>>> Subject: Re: [Paraview] ParaViewWeb build - PWServer<BR>
>>>><BR>
>>>> Hi Max,<BR>
>>>><BR>
>>>> the wiki might be confusing, but each time the CMake step are similar<BR>
>>>> in the sense that the wiki highlight each property setting needed for<BR>
>>>> each individual component of ParaViewWeb, but as you might want to<BR>
>>>> build the "full" ParaViewWeb, you should setup everything at once. No<BR>
>>>> need to stop/start CMake as many time as ParaViewWeb has components.<BR>
>>>><BR>
>>>> Seb<BR>
>>>><BR>
>>>> On Wed, Aug 10, 2011 at 5:13 PM, WILKINSON M.<BR>
>>>> <maxwell.wilkinson@durham.ac.uk> wrote:<BR>
>>>>> Hi Seb,<BR>
>>>>><BR>
>>>>> I haven't got to deployment just yet, I'm trying to build PWService at<BR>
>>>>> the<BR>
>>>>> moment.<BR>
>>>>><BR>
>>>>> For PWServer, I downloaded activemq-cpp 3.4.0 as source and compiled<BR>
>>>>> using<BR>
>>>>> the instructions in the wiki:<BR>
>>>>><BR>
>>>>> ----------<BR>
>>>>> ActiveMQ-CPP<BR>
>>>>><BR>
>>>>> ActiveMQ-CPP is needed for the compilation and the execution of the<BR>
>>>>> application. Therefore, you will need to download the source files at<BR>
>>>>> the<BR>
>>>>> following url <A HREF="http://activemq.apache.org/cms/download.html">http://activemq.apache.org/cms/download.html</A>. As of<BR>
>>>>> (06/28/2010) activemq-cpp 3.2 appears to have a bug in it. Please use<BR>
>>>>> activemq-cpp 3.1.x. Then you will need to build that library. The<BR>
>>>>> command<BR>
>>>>> line given below are for Unix systems.<BR>
>>>>><BR>
>>>>> > ./configure<BR>
>>>>> > make<BR>
>>>>> > sudo make install<BR>
>>>>><BR>
>>>>> Make sure that you have all the dependency needed to build this<BR>
>>>>> library.<BR>
>>>>> Here are the required package for Debian/Ubuntu:<BR>
>>>>><BR>
>>>>> apt-get install build-essential libaprutil1-dev libapreq2-dev<BR>
>>>>> apache2-utils<BR>
>>>>> python-dev cmake-curses-gui uuid-dev libapr1 libapreq2-dev<BR>
>>>>><BR>
>>>>> ----------<BR>
>>>>><BR>
>>>>> In order to build PWService, should I continue to use the ./build-pw<BR>
>>>>> and<BR>
>>>>> ./install-pw directories carried over from the build of PWServer?<BR>
>>>>><BR>
>>>>> I'm following the instructions from the wiki, given below:<BR>
>>>>><BR>
>>>>> ----------<BR>
>>>>><BR>
>>>>> Configuration and building<BR>
>>>>><BR>
>>>>> The PWService do not require any sample to work, therefore we will<BR>
>>>>> focusing<BR>
>>>>> on building only the core service with all the settings that are<BR>
>>>>> mandatory.<BR>
>>>>> The command line given below are for Unix systems and paths are given<BR>
>>>>> as<BR>
>>>>> example.<BR>
>>>>><BR>
>>>>> > mkdir build-pw install-pw <---- Optional if you've done<BR>
>>>>> > cd build-pw <---- it for ParaviewAdapter<BR>
>>>>> > ccmake ../SOURCE_DIR<BR>
>>>>><BR>
>>>>> ----------<BR>
>>>>><BR>
>>>>> Should the ccmake source directory be set to ../ParaViewWeb or should I<BR>
>>>>> use<BR>
>>>>> one of the sub-directories?<BR>
>>>>><BR>
>>>>> I'm hoping to have the sample applications running soon!<BR>
>>>>><BR>
>>>>> Thanks<BR>
>>>>><BR>
>>>>> Max<BR>
>>>>><BR>
>>>>><BR>
>>>>> -----Original Message-----<BR>
>>>>> From: Sebastien Jourdain [<A HREF="mailto:sebastien.jourdain@kitware.com">mailto:sebastien.jourdain@kitware.com</A>]<BR>
>>>>> Sent: Wed 10/08/11 19:51<BR>
>>>>> To: WILKINSON M.<BR>
>>>>> Cc: paraview@paraview.org<BR>
>>>>> Subject: Re: [Paraview] ParaViewWeb build - PWServer<BR>
>>>>><BR>
>>>>> Hi Max,<BR>
>>>>><BR>
>>>>> Great ! Did you managed to deploy and test the sample applications<BR>
>>>>> yourself<BR>
>>>>> ?<BR>
>>>>> Just to my knowledge how did you install activemq-cpp ? Did you used<BR>
>>>>> your system package system or you build it from the source ?<BR>
>>>>><BR>
>>>>> Thanks for your feedback,<BR>
>>>>><BR>
>>>>> Seb<BR>
>>>>><BR>
>>>>> On Wed, Aug 10, 2011 at 12:40 PM, WILKINSON M.<BR>
>>>>> <maxwell.wilkinson@durham.ac.uk> wrote:<BR>
>>>>>> Hi Seb<BR>
>>>>>><BR>
>>>>>> Thanks for the swift reply. I now have PWServer compiled using<BR>
>>>>>> activemq-cpp<BR>
>>>>>> 3.4.0, all tests were passed and it is now installed :)<BR>
>>>>>><BR>
>>>>>> Max<BR>
>>>>>><BR>
>>>>>><BR>
>>>>>> -----Original Message-----<BR>
>>>>>> From: Sebastien Jourdain [<A HREF="mailto:sebastien.jourdain@kitware.com">mailto:sebastien.jourdain@kitware.com</A>]<BR>
>>>>>> Sent: Wed 10/08/11 16:56<BR>
>>>>>> To: WILKINSON M.<BR>
>>>>>> Cc: paraview@paraview.org<BR>
>>>>>> Subject: Re: [Paraview] ParaViewWeb build - PWServer<BR>
>>>>>><BR>
>>>>>> Moreover, all the version of activemq-cpp can be found here:<BR>
>>>>>> <A HREF="http://activemq.apache.org/cms/download.html">http://activemq.apache.org/cms/download.html</A><BR>
>>>>>><BR>
>>>>>> On Wed, Aug 10, 2011 at 11:54 AM, Sebastien Jourdain<BR>
>>>>>> <sebastien.jourdain@kitware.com> wrote:<BR>
>>>>>>> Hi Max,<BR>
>>>>>>><BR>
>>>>>>> there is two things happening here.<BR>
>>>>>>><BR>
>>>>>>> The first one is related to an API change in ActiveMQ-cpp which<BR>
>>>>>>> induce<BR>
>>>>>>> this compilation issue. Although it happen that I was working on that<BR>
>>>>>>> part lately and managed to use activemq-cpp 3.4 on a linux machine.<BR>
>>>>>>> To<BR>
>>>>>>> do so, you will need to edit the ParaViewWeb source code. I've paste<BR>
>>>>>>> the small diff at the end of that mail.<BR>
>>>>>>><BR>
>>>>>>> The second issue is related to the ParaView version that you are<BR>
>>>>>>> using. Before getting further, you should either use 3.10.1 or<BR>
>>>>>>> git/master. But depending on the version, you have to checkout a<BR>
>>>>>>> given<BR>
>>>>>>> tag on the ParaViewWeb git repository.<BR>
>>>>>>><BR>
>>>>>>> Hope this help,<BR>
>>>>>>><BR>
>>>>>>> Seb<BR>
>>>>>>><BR>
>>>>>>> ====================================<BR>
>>>>>>> In file : /ParaViewAdapter/vtkPWJMSMessagingService.cxx<BR>
>>>>>>><BR>
>>>>>>> -vtkPWJMSMessagingService::~vtkPWJMSMessagingService()<BR>
>>>>>>> +vtkPWJMSMessagingService::~vtkPWJMSMessagingService() throw()<BR>
>>>>>>><BR>
>>>>>>> [...]<BR>
>>>>>>><BR>
>>>>>>> -void vtkPWJMSMessagingService::onMessage(const cms::Message<BR>
>>>>>>> *message)<BR>
>>>>>>> +void vtkPWJMSMessagingService::onMessage(const cms::Message<BR>
>>>>>>> *message)<BR>
>>>>>>> throw()<BR>
>>>>>>><BR>
>>>>>>> In file: /ParaViewAdapter/vtkPWJMSMessagingService.h<BR>
>>>>>>><BR>
>>>>>>> - void onMessage(const cms::Message *message);<BR>
>>>>>>> + void onMessage(const cms::Message *message) throw();<BR>
>>>>>>><BR>
>>>>>>> [...]<BR>
>>>>>>><BR>
>>>>>>> - ~vtkPWJMSMessagingService();<BR>
>>>>>>> + ~vtkPWJMSMessagingService() throw();<BR>
>>>>>>><BR>
>>>>>><BR>
>>>>>><BR>
>>>>><BR>
>>>>><BR>
>>>><BR>
>>>><BR>
>>>><BR>
>>>><BR>
>>><BR>
>>><BR>
>><BR>
>><BR>
><BR>
><BR>
><BR>
><BR>
> _______________________________________________<BR>
> Powered by www.kitware.com<BR>
><BR>
> Visit other Kitware open-source projects at<BR>
> <A HREF="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</A><BR>
><BR>
> Please keep messages on-topic and check the ParaView Wiki at:<BR>
> <A HREF="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</A><BR>
><BR>
> Follow this link to subscribe/unsubscribe:<BR>
> <A HREF="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</A><BR>
><BR>
><BR>
<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>