Problem in the picking up the file
hi all,
i am working on agile to sap,
here PI has to pick .pdx (or) .axml files and thses files are zip files again, open these files winzip, then those can be extracted in xml files.
now PI has to pick the .pdx file and put it as .pdx filein the reciever side.
now my problem is iam able to pick the .pdx file but it is not pushing the file in reciever side.
in sxmb_moni, iam gettingh this error.
SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_mm_axml_</SAP:P1>
<SAP:P2>java.lang.NullPointerException</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_mm_axml_:</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
thanks
madhav
Hi Madhav,
In your case you need to unzip the files from .pdx format to xml format for that you need to use the PayloadZipBean module in the sender communication channel.
The details you need to specify in the processing sequense are as follows:
Modulename: AF_Modules/PayloadZipBean
This should be placed before the callsapadapter
Than in the module configuration you need to specify the following:
paramatername :zip.mode
parametermode:unzip
Thanks,
Bhargav.
Note:Award points if found useful
Similar Messages
-
Error: There is a problem with the file and it cannot be copied
I've been trying to copy (and essentially move) the contents of an NTFS-formatted external HDD to my iMac's internal HDD so I can then format the external HDD to Mac OS Extended. However, when I simply try to drag and drop, I get an error during the transfer that states:
There is a problem with the file and it cannot be copied.
I tried a basic cp command in Terminal to copy all contents of the external HDD to a folder on my iMac's desktop, and found that while there were no errors, there were many individual files missing full chunks of data (ie. original file would be 4GB on my external HDD, but only 350MB on my desktop).
Any ideas on how I can successfully copy a large amount of data (approx. 170GB) from my external HDD to my internal HDD while avoiding this error, so I can ultimately format my external HDD to Mac OS Extended? ANY help is greatly appreciated.That's not a good error to see. It indicates something is very wrong. Pulled out of an old programming header file:
ioErr = -36, /*I/O error (bummers)*/
If Apple labelled it "bummers," they had a good reason! Unfortunately, that doesn't bode well for you.
Try running Disk Utility again. Keep repairing over and over until one of two things happens: 1) Disk Utility says no repair was needed, or 2) Disk Utility reports the same error in two sequential repair sessions and is unable to repair it both times.
If you hit the second case, or if you hit the first but still can't copy files, then you've got two basic options:
= Buy a third-party disk utility or two and try them. Try TechTool as a first choice.
= Recover what files you can and write the rest off as gone.
= Send your drive to a data recovery service and hope they can extract more than you can.
Of course, none of this is necessary if you have a backup of the contents of that hard drive. (If you don't, this is your learning experience. Once bitten, twice shy, so they say.) Also, regardless of the outcome, once you've got your data or have decided it's gone, you're going to want to wipe that drive completely clean. Reformat the drive with Disk Utility, then when it's done, select the drive in Disk Utility and hit command-i. (Don't select the new volume you just created on that drive, select the drive itself. Mine looks like "232.9 GB Hitachi ..." with the volume name indented underneath.) Look for an item that says S.M.A.R.T. Status, and if it doesn't say Verified, you might as well throw out the drive. Don't trust any more data to it.
If all appears safe, you can start moving data back onto it. But, as always, make sure you have a backup of everything! -
There seems to be a problem with the file download. For troubleshooting tips, please visit our customer support page.
Thank you for the update Dlawrenceusa. I would recommend reviewing the installation logs for the updates that are failing to apply to determine the exact cause of the failure. You can find details on how to locate and interpret the installation log files at Creative Cloud Help / Troubleshoot install issues with log files | CC. You are welcome to post any specific error messages you discover to this discussion.
-
I am trying to get the free trial to cc but it said there seems to be a problem with the files (Error code: 205) please help
BOILERPLATE TEXT:
Note that this is boilerplate text.
If you give complete and detailed information about your setup and the issue at hand,
such as your platform (Mac or Win),
exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
your settings in Photoshop > Preference > Performance
the type of file you were working on,
machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
what troubleshooting steps you have taken so far,
what error message(s) you receive,
if having issues opening raw files also the exact camera make and model that generated them,
if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
etc.,
someone may be able to help you (not necessarily this poster, who is not a Windows user).
a screen shot of your settings or of the image could be very helpful too.
Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
http://forums.adobe.com/thread/419981?tstart=0
Thanks! -
hi i am trying to open a pdf but " preview " is saying that the file cannot be opened or that there is a problem with the file - what do i do? :-)
Try opening the file using Adobe Reader.
Clinton -
I Have problems creating the file .lbs for a CIN.
I need to use code in C in a LabVIEW application, but I have problems creating the file .lbs that I have to include in the CIN node. I can do the file .c well, but I can't generate the file .lbs. I'm using CVI for doing the .c file. Could someone tell me the steps I have to do exactly?
T Sreedhar wrote:
> Hi Enrique,
>
> Can you resend the Example again please, I think ther is some problem
> with that file as I am unable to unzip it
I think you should check that the FTP download is configured right in
your client/web browser and you have no firewall problems. The file
unzips just fine here.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
"Performance" problems with the File adapter on Plain J2SE Adapter Engine
Hi,
At the moment I'm on a customer side to solve some XI issues for a few days. One of the issues is the performance of the Plain J2SE Adapter Engine, using the file adapter to transfer XML messages(already XI message format) from the legacy system to the Integration Engine. The File adapter has to deal with "large" XML messages(max at the moment is 65 Mb) and the engine fails with the following error when transferring the big XML file: "ERROR: Finished sending to Integration Engine with error "java.lang.OutOfMemoryError". Skip confirmation and quit this loop".
As far I got the information from the customer the memory use of the Plain adapter engine is set to 512Mb. This is maybe to low. But I don't know where to look for this, I only have the adapter web interface in front of me, no access to the OS it self via for example remote connection.
On the Integration Engine I know there is the ability to split large message with the file adapter(File Content Conversion), but I don't know this for the Plain Adapter Engine. Is there a possibility to do this also on the Plain Adapter Engine?
Thanks in advance for any input.
Greetings,
PatrickHi Sameer,
Thanks for your answers.
On the first solution, yes that is possible, we first decided to see if the legacy system can do the splitting, before starting developing a Java program.
On the second solution, as far as I know is this solution possible on the Integration Engine. But we are facing the problems on the Plain J2SE Adapter Engine. I went trough that documentation(link:
http://help.sap.com/saphelp_nw04/helpdata/en/6f/246b3de666930fe10000000a114084/frameset.htm ), to look for I similiar solution in the Plain Adapter Engine. So my question is, is this possible with the Plain Adapter? And if so, what kind of parameters I need to use to achieve this.
Regards,
Patrick -
Problem using the File Dialog Box in a Client/Server application
I am developping a client-server application using Labview 5.1 . The application on the server acquires data from some instruments and saves it on file, while the application on the clients displayes such acquired data. For doing this I call some routines on the server via the "Open Application vi" (remote connection). All goes well except when I open on the server the "File Dialog Box vi" : in this case the application on the clients is blocked (is blocked the execution of the called vi on the server). Only when
the File Dialog Box on the server is closed, the execution of the called vi on the server starts again.
I need to use the File Dialog Box on the server, but I don' t want to stop at the same time
the clients !!
I need help for resolving such problem.
Many thanks in advance !!!Hi!
waldemar.hersacher wrote:
"It seems that the VIs called by the clients are running in the user interface thread.
A call to the file dialog box will call a modal system dialog. So LV can't go on executing VIs in the user interface thread."
Are you sure? I think, that File Dialog, called by LabVIEW File Dialog from Advanced File Functions Palette doesn't blocking any cycles in subVI, which running in UI Thread. Look in my old example (that was prepared for other topic, but may be good for this topic too).
2 linus:
I think, you must a little bit reorganize you application for to do this. You must put your File Dialog into separated cycle. This cycle, of course, will be blocked when File Dialog appear on the screen. But other cy
cle, which responsible for visualization will run continuosly at the same time...
Attachments:
no_block_with_file_open_dialog.zip 42 KB -
File cannot be opened because there are problem with the files
Hi
My program reads the data from file uploaded into SharePoint 2010 and massage with the list information. It finally creates a new document and prompt the end user to save it. When user opens the saved document it consecutively prompts with the below two message
How to turn off this warning messages? When I re-save this document with different name and open it again (any number of times) then the above messages
stops prompting. I want these messages should not appear even in first time as well. I tried to add these document on trusted location and also removed the protection settings but it does not help. Is there any setting requires to suppress these warning messages?
Any help will be greatly appreciated.
Best Regards,
ImranHi Imran,
your document is damaged. Pls try opening new and fresh documents
http://social.technet.microsoft.com/Forums/sharepoint/en-US/921c57a4-6120-419d-a612-07d4826eebcb/the-file-cannot-be-opened-because-there-are-problems-with-its-contents?forum=word
Please remember to click 'Mark as Answer' on the answer if it helps you -
Problem with the file /proc/sys/kernel/hotplug which is incorrect
Hello,
Since few days, I can't import photos from my camera with my user (that work in root), I open a thread in this forum (http://bbs.archlinux.org/viewtopic.php?pid=348659).
After investigations, the problem come from the content of the file /proc/sys/kernel/hotplug which is just :
-e
When I run the start_udev script, the content of /proc/sys/kernel/hotplug change and importing photos with my user work again.
I isolate the only important line for my problem :
echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
When I run this line after a boot, the import file from camera work.
I think that the content of the file is bas setted while the udev starting or replaced by another event which occurs later !
I use the x86 version up-to-date with kdemod.
Someone have an idea of why the content of /proc/sys/kernel/hotplug (it must contain an executable for kernel call on hotplugging) is bad ?
Last edited by tuxom (2008-03-30 13:31:14)I think I've found the problem, see my comment in http://bugs.archlinux.org/task/9935. Thanks for the information about /proc/sys/kernel/hotplug!
-
I need help! it is a problem about the file!
I want to do a program that can watch files in selected folder. I will copy the files to other folder if there is a new file in the folder, the program will check the folder every second.
So I got a problem. when a big file (like 120M) copy to the folder by manual, the program is running and get this file and want to copy it to the other folder, but the file is not completed file, so the program throws an exception which is java.io.FileNotFoundException. I do not want catch this exception, I want to make the program know this file can not be transfer.
how can I do? I have already use canRead() method and canWrite() method, but it does not work. How can I know this file is not completely??I'm not sure there is a way for a Java program to detect that another application is still writing the file.
Why do you say you don't want to catch the exception? You'll have to :) It seems a simple solution is to try your file copy, and if it fails, keep trying again every second or so until it works. If you try to read it and it hasn't grown in size, it isn't being written anymore and something else is wrong. -
Xcelsius is unable to load this file problem because the file is corrupt
Hi me name is Luis Diego and im working in a dashboard.
The first time i update the file was ok. After that the file start to send me the next message:
"Crystal Xcelsius is unable to load this file. The file may be corrupt or have features cannot be supported by this version of Crystal Xcelsius."
I try to open the file in other computers and in that computers the file was open it. All the computers have the professional version 4.5 so do i.
I reinstall the Crystal Xcelsius in my computer because i thought that the problem was a wrong install in the first time. But after i reinstall the software the problem doesnt go away.
So i need the help of someone to fix this.
Thank you for any help that can bring me.
Regards
Luis Diego Sancho MoreraI suggest you purchase a case and have a dedicated support engineer work with you directly:
http://www.sdn.sap.com/irj/boc/gettingstarted
Or
http://store.businessobjects.com/store/bobjects/Content/pbPage.CSC_map_countyselector/pgm.67024400?resid=jFmmLgoBAlcAAALO-iYAAAAP&rests=1278687224728 -
HR-PDC interface: Problems in the file name of the downloaded idoc file
I'm currently busy with the HR-PDC interface to EBI-time recording system. The RFC destination to EBI's quality system is working fine but we are experiencing differences in the idoc file name that we are creating in the EBI path. When we send a request to EBI to upload clocks, an idoc (Message Type: HRCC1REQUPTEVEN and IDOC type: HRCC1REQUPTEVEN01 ) is sent to EBI The file name is HRCC1REQUPTEVEN whereas in a previous implementation file name is HRCC1REQUPTEVEN01. The control record information on the outbound idoc are the similiar in terms message types and idoc types sent through to EBI. Have you ever come across this issue in your previous experiences with SASOL's HR-PDC interface. SAP has not changed the IDOC type HRCC1REQUPTEVEN01 since 1998.
can you please also contact IDM support about it?
* http://www.internetdownloadmanager.com/register/new_faq/main.cgi -
I'm on a Mac - my hard drive crashed last week (got a new one) so I downloaded the Firefox again. When I download, I can view my downloads under the "Tools" menu, but in my download file in my dock, the files say pdf.part - and when I download, the file cascades a bizzillion times (really annoying) and I have to quit out of Firefox to move forward.
See [[Firefox keeps opening many tabs or windows]]
You can have infinite tabs opening if you have selected Firefox as the application to handle a file if you get an Open with download window.<br />
Firefox should not be selected as the application to handle a file and you have to remove the action that is associated with that file type.
You can delete [http://kb.mozillazine.org/mimeTypes.rdf mimeTypes.rdf] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] to reset all actions or set that action in Tools > Options > Applications to 'Always Ask'.
See http://kb.mozillazine.org/File_types_and_download_actions ("File handling in Firefox 3 and SeaMonkey 2" and "Reset Download Actions") -
There was a problem including the file images.asp in your message. Why?
When I paste web info that includes images I get this message and if I continue the message is sent without the images. This has been going on for several months. Forwarding messages with images gets the same message and the images are not sent. This used to work.
WLM has no problem with the same data.When I paste a page from PCWorld into my write window it is all there. I get the error when I send. The same scenario with WLM works fine. This only started with TB several months ago.
My TB profile has been around for years thanks to Mozbackup. How could I get my Local Folders backed up then build a new TB from scratch and then import the Local Folders? All the other folders would take care of themselves Since my computers are all using IMAP. -
Problem:Accessing the file system with servlets ???
Hi...
I have a strange problem with my servlets that run on Win2000 with Apache and 2 Tomcat instances.
I cannot open files through servlets whereas exactly the same code lines work in local standalone java programm.
It seems to be somehting like a rights problem...but I dont know what to do.
thanks for any help
here are my configuration files for Apache and Tomcat:
Apache: *******************************************************
### Section 1: Global Environment
ServerRoot "D:/Webserver_and_Applications/Apache2"
PidFile logs/httpd.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild 0
</IfModule>
Listen 80
LoadModule jk_module modules/mod_jk.dll
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel info
LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule userdir_module modules/mod_userdir.so
### Section 2: 'Main' server configuration
ServerAdmin [email protected]
ServerName www.testnet.com:80
UseCanonicalName Off
DocumentRoot "D:/Webserver_and_Applications/root"
JkMount /*.jsp loadbalancer
JkMount /servlet/* loadbalancer
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "D:/Webserver_and_Applications/root">
Order allow,deny
Allow from all
</Directory>
UserDir "My Documents/My Website"
DirectoryIndex index.html index.html.var
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
TypesConfig conf/mime.types
DefaultType text/plain
<IfModule mod_mime_magic.c>
MIMEMagicFile conf/magic
</IfModule>
HostnameLookups Off
ErrorLog logs/error.log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog logs/access.log common
ServerTokens Full
ServerSignature On
Alias /icons/ "D:/Webserver_and_Applications/Apache2/icons/"
<Directory "D:/Webserver_and_Applications/Apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /manual "D:/Webserver_and_Applications/Apache2/manual"
<Directory "D:/Webserver_and_Applications/Apache2/manual">
Options Indexes FollowSymLinks MultiViews IncludesNoExec
AddOutputFilter Includes html
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "d:/webserver_and_applications/root/cgi-bin/"
<Directory "D:/Webserver_and_Applications/root/cgi-bin/">
AllowOverride None
Options Indexes FollowSymLinks MultiViews
Order allow,deny
Allow from all
</Directory>
IndexOptions FancyIndexing VersionSort
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*
AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
DefaultIcon /icons/unknown.gif
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .et
AddLanguage fr .fr
AddLanguage de .de
AddLanguage he .he
AddLanguage el .el
AddLanguage it .it
AddLanguage ja .ja
AddLanguage pl .po
AddLanguage ko .ko
AddLanguage pt .pt
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pt-br .pt-br
AddLanguage ltz .ltz
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .se
AddLanguage cz .cz
AddLanguage ru .ru
AddLanguage tw .tw
AddLanguage zh-tw .tw
AddLanguage hr .hr
LanguagePriority en da nl et fr de el it ja ko no pl pt pt-br ltz ca es sv tw
ForceLanguagePriority Prefer Fallback
AddDefaultCharset ISO-8859-1
AddCharset ISO-8859-1 .iso8859-1 .latin1
AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
AddCharset ISO-8859-3 .iso8859-3 .latin3
AddCharset ISO-8859-4 .iso8859-4 .latin4
AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru
AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb
AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk
AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb
AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5 .Big5 .big5
AddCharset WINDOWS-1251 .cp-1251 .win-1251
AddCharset CP866 .cp866
AddCharset KOI8-r .koi8-r .koi8-ru
AddCharset KOI8-ru .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-8 .utf8
AddCharset GB2312 .gb2312 .gb
AddCharset utf-7 .utf7
AddCharset utf-8 .utf8
AddCharset big5 .big5 .b5
AddCharset EUC-TW .euc-tw
AddCharset EUC-JP .euc-jp
AddCharset EUC-KR .euc-kr
AddCharset shift_jis .sjis
AddType application/x-tar .tgz
AddType image/x-icon .ico
AddHandler type-map var
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
<IfModule mod_ssl.c>
Include conf/ssl.conf
</IfModule>
ScriptAlias /php/ "d:/webserver_and_applications/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
Tomcat:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
<Server port="11005" shutdown="SHUTDOWN" debug="0">
<!-- Define the Tomcat Stand-Alone Service -->
<Service name="Tomcat-Standalone">
<!-- Define an AJP 1.3 Connector on port 11009 -->
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="11009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0"/>
<!-- Define the top level container in our container hierarchy -->
<Engine jvmRoute="tomcat1" name="Standalone" defaultHost="localhost" debug="0">
<!-- Global logger unless overridden at lower levels -->
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt"
timestamp="true"/>
<!-- Because this Realm is here, an instance will be shared globally -->
<Realm className="org.apache.catalina.realm.MemoryRealm" />
<!-- Define the default virtual host -->
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="common"/>
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="localhost_log." suffix=".txt"
timestamp="true"/>
<!-- Tomcat Root Context -->
<Context path="" docBase="d:/webserver_and_applications/root" debug="0"/>
<!-- Tomcat Manager Context -->
<Context path="/manager" docBase="manager"
debug="0" privileged="true"/>
<Context path="/examples" docBase="examples" debug="0"
reloadable="true" crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_examples_log." suffix=".txt"
timestamp="true"/>
<Ejb name="ejb/EmplRecord" type="Entity"
home="com.wombat.empl.EmployeeRecordHome"
remote="com.wombat.empl.EmployeeRecord"/>
<Environment name="maxExemptions" type="java.lang.Integer"
value="15"/>
<Parameter name="context.param.name" value="context.param.value"
override="false"/>
<Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/EmployeeAppDb">
<parameter><name>user</name><value>sa</value></parameter>
<parameter><name>password</name><value></value></parameter>
<parameter><name>driverClassName</name>
<value>org.hsql.jdbcDriver</value></parameter>
<parameter><name>driverName</name>
<value>jdbc:HypersonicSQL:database</value></parameter>
</ResourceParams>
<Resource name="mail/Session" auth="Container"
type="javax.mail.Session"/>
<ResourceParams name="mail/Session">
<parameter>
<name>mail.smtp.host</name>
<value>localhost</value>
</parameter>
</ResourceParams>
</Context>
</Host>
</Engine>
</Service>
<!-- Define an Apache-Connector Service -->
<Service name="Tomcat-Apache">
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt"
timestamp="true"/>
</Engine>
</Service>
</Server>
*** and here is my workers.properties : *******************************
# workers.properties
# In Unix, we use forward slashes:
ps=/
# list the workers by name
worker.list=tomcat1, tomcat2, loadbalancer
# First tomcat server
worker.tomcat1.port=11009
worker.tomcat1.host=localhost
worker.tomcat1.type=ajp13
# Specify the size of the open connection cache.
#worker.tomcat1.cachesize
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
# ----> lbfactor must be > 0
# ----> Low lbfactor means less work done by the worker.
worker.tomcat1.lbfactor=100
# Second tomcat server
worker.tomcat2.port=12009
worker.tomcat2.host=localhost
worker.tomcat2.type=ajp13
# Specify the size of the open connection cache.
#worker.tomcat2.cachesize
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
# ----> lbfactor must be > 0
# ----> Low lbfactor means less work done by the worker.
worker.tomcat2.lbfactor=100
# Load Balancer worker
# The loadbalancer (type lb) worker performs weighted round-robin
# load balancing with sticky sessions.
# Note:
# ----> If a worker dies, the load balancer will check its state
# once in a while. Until then all work is redirected to peer
# worker.
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=tomcat1, tomcat2
# END workers.properties
thanks againHi joshman,
no I didn't get error messages as the relevant lines for reading/writing where between try statements, but you were where right it was/is just a simple path problem.
I expected the refering directory without using a path to be the directory where the servlet is in, but it is not !!??
Do you know if I set this in the setclasspath.bat of tomcat ?
*** set JAVA_ENDORSED_DIRS=%BASEDIR%\bin;%BASEDIR%\common\lib ***
thanks again
Huma
Maybe you are looking for
-
Sorting music by "Album by Artist / Year" on iPod touch (3rd gen.)
Hello there, In my music library, I have plenty of discographies per artist (eg. Bob Dylan's, Coldplay's etc...), and am finding a bit of a pain to sort it the way I want it on my iPod. I've synced my new iPad with iTunes and copied all the music acr
-
Quick Time Pro is a rip off ?
I recently upgraded to Q-Pro just to find out it would not work for me, it didn't do anything it said it would do. I could not import my home movies from my DV cam or convert current Q-Time movies to iPod format and when i tried callind tech support
-
I have written a following procedure and it complies successfully. create or replace procedure utl_file_test_write ( path in varchar2, filename in varchar2, firstline in varchar2, secondline in varchar2) is output_file utl_file.file_type; begin outpu
-
Authentication on OnDemand for WebServices
Hi, We are developing an interface from Siebel to CRM On Demand. We imported the Account WSDL into Siebel. I do not see any login method in the WSDL. So when sending XML from Siebel to On Demand, how do I send the authentication? Will it be as part o
-
What is the best way to deploy BC4J to OC4J? Option 1: Deploy the BC4J libraries either manually or via the bc4j2oc4j.bat script to OC4J root lib Option 2: Deploy the BC4J runtime libraries with each application deployed under OC4J Currently I use Op