Asant build on Windows
Appserver is installed into: c:\Program files\Sun\Appserver
When trying to perform
asant build
for hello1 sample an error occured
c:\program%20files\Sun\j2eetutorial14\examles\common\targets.xml couldn't be found
and
c:\program%20files\Sun\j2eetutorial14\examles\web\common\targets.xml
I found an advise inthe forum to set j2ee.home property. But the problem remained.
I replaced entity tags references in a build.xml such as &targets and &webtargets with corresponding
contents of targets.xml The problem disappeared.
I think there is a problem with ant or xml parser when treating <!ENTITY > tags.
So, have I to install j2ee into any dirrectory that does not contain white spaces ?
A number of people have reported problems on Windows, when the App Server has been installed in C:\Program Files. This is due to the space embedded in the path.
This error may be another manifestation of this issue.
Please try reinstalling the app server (in some place like "C:\Sun\AppServer" [no spaces]) and try using asant them.
Note: even if this error is not caused by this issue, there are a number of other errors which can only be resolved by doing the re-install.
vbk
Similar Messages
-
Asant build: BUILD FAILED
Hi All,
I'm trying the helloservice example from the J2EE Tutorial. When I build it with asant build, I have the message bellow:
generate-wsdl:
prepare:
[echo] Creating the required directories....
set-wscompile:
run-wscompile:
[echo] Running wscompile:
[echo] /bin/wscompile.bat -define -mapping build/mapping.xml -d build -nd build -classpath build config-interface.xml
BUILD FAILED
file:D/Javaj2sdk/j2eetutorial14/examples/jaxrpc/common/targets.xml:64: Execute failed: java.io.IOException: CreateProcess: \bin\wscompile.bat -define -mapping build/mapping.xml -d build -nd build -classpath build config-interface.xml error=3
Can someone please help me?
Thank you..:)Hello Every One actually i got error when i m giving asant build..................
please give me a solution
Buildfile: build.xml
j2ee-home-test:
BUILD FAILED
F:\j2eetutorial14\examples\common\targets.xml:10: The j2ee.home property is not
properly set in <INSTALL>/j2eetutorial14/examples/common/build.properties.
Set the j2ee.home property to the location of your Application Server installati
on.
On Windows, you must escape any backslashes in the j2ee.home property with anoth
er backslash or use forward slashes as a path separator. So, if your Application
Server installation is C:\Sun\AppServer, you must set j2ee.home as follows:
j2ee.home = F:\\Sun\\AppServer
or
j2ee.home=F:/Sun/AppServer
j2ee.home is currently set to:
Total time: 2 seconds -
Hi!
I have problem with asant build command. I am trying to do the J2EE ejb/converter example on Windows 2000 command line and I am getting the following error:
Buildfile: build.xml
init:
prepare:
[mkdir] Created dir: G:\Sun\j2eetutorial14\examples\ejb\converter\build
build:
[javac] Compiling 4 source files to G:\Sun\j2eetutorial14\examples\ejb\conve
rter\build
BUILD FAILED
file:G:/Sun/j2eetutorial14/examples/ejb/common/targets.xml:18: G:\lib not found.
I don't know why and what is the compiler look for on G:\lib location
Any help?Please see this FAQ:
http://java.sun.com/j2ee/1.4/docs/tutorial/information/faq.html#compile -
How to change the title of an object in the build order window?
In Keynote '09 v5.1.1 (1034)... How to change the title of an object in the build order window from the default "dropped image" to a specific title?
I'm running the following:
Model Name: MacBook Pro
Model Identifier: MacBookPro2,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.33 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 4 MB
Memory: 2 GB
Bus Speed: 667 MHz
Boot ROM Version: MBP21.00A5.B08
SMC Version (system): 1.14f5Custom names can't be applied to objects in the build list.
They are labeled as either; text, shape, table, chart or the filename of an image -
How do I take ownership of a hard drive build in windows but installed as an additional disk in my new Mac Pro?
I bought a Mac and have various HDDs, some Portable some SATA, I can right to them and dont seem to be able to take ownership of them, is this to do with the format or Security seting I can't find?
Any help would be great; thanks.
StephenThanks Kaz-K, this was what I assumed it to be. I have started to move the stuf over to a 4GB internal drive, once done and verified, I will reformat the drive and move it back, blooming nusience.
Cheers.
Stephen -
A look at the latest build of Windows XP 64-bit Edition
Quote
Today at GamePC, we're taking a look at the latest build of Windows XP 64-bit Edition, along with performance testing with AMD's Opteron and Intel's "Nocona" Xeon CPU's to see how the OS is shaping up. We're also comparing performance between today's Windows XP w/ SP2 (32-bit) against the upcoming Windows XP Professional X64 Edition release.
http://www.gamepc.com/labs/view_content.asp?id=xp641218&page=1&cookie%5Ftest=1hello,
i think i am having the same problem as you, but how do you tell if it is 64-bit? sorry kind of n00bish i guess :S thanks. -
IP Resource Errors While Building a Windows Failover Cluster on Azure
I have setup a failover cluster in Microsoft Azure on four VMs. I have two nodes in one subnet/region, one node in another subnet/region and a final node in a third subnet/region. The cluster passed the validation wizard and was successfully built, but the
two nodes in other subnets will not go online, reporting "Failed to bring the resource 'IP Address x.x.x.x' online".
Azure Vnet Setup
Vnet 1 - South Central US - 10.16.16.0/16 - Nodes 1 & 2 - Online
Vnet 2 - West US - 10.116.16.0/16 - Node 3 - Offline
Vnet 3 - East US - 10.216.16.0/16 - Node 4 - Offline
All three IP Address resources are DHCP. I've attempted to make them static but they still failed while coming online. If I click "Information Details" on the error I get:
Error code: 0x80071397
The operation failed because either the specified cluster node is not the owner of the resource, or the node is not a possible owner of the resource.
It seems to be an issue with the way Azure DHCP works, but I'm stalled. There must be a way to get his working. What am I missing?Hi Michael Lapidakis,
Starting in Windows Server 2008, a feature called an “OR dependency” was added to Failover Clustering which gave admins the ability to have nodes with a Network Name that
could use one IP Address OR another IP Address .In a multisite cluster, it is expected that 1 IP address is offline as it is an OR relationship.
You can refer the following related article to realize more detail settings of multi-site site cluster IP settings.
IP Resource Errors While Building a Windows Failover Cluster on Azure
https://social.technet.microsoft.com/Forums/en-US/ca2cbf5e-abef-4c23-9cff-7b6ca44acc23/ip-resource-errors-while-building-a-windows-failover-cluster-on-azure?forum=winserverClustering
I’m glad to be of help to you!
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Hw to install oracle forms and reports 11g builder on windows machine
HI Guys
i need to install oracle forms and reports 11G builder on windows machine for devlopers.. do anybody know from where i can download them and install them on developers machine. if anybody know steps of them .. that will be great..
Regards,
DevenderMaybe this thread will help you: Re: Install Forms & Rpts 11.1.1.3 with WebLogic Server 10.3.3 on Win32
-
"asant build" for bookstore1 example in j2ee tutorial gives "compile error"
Hello everybody,
I am trying to run "asant build" command to build package for bookstore1 example given in j2ee tutorials.
I installed my j2ee tutorial 1.4 in "c:\java\j2eetutorial14" and my example is in "c:\java\j2eetutorial\examples\web\bookstore1".
My j2ee SDK with appliation server is installed in C:\sun\appserver.
When i run the "asant build" command in "c:\java\j2eetutorial\examples\web\bookstore1" directory i get compile error with last few lines as follows.
[javac] location: class servlets.ShowCartServlet
[javac] } catch (BookNotFoundException ex) {
[javac] ^
[javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
:136: cannot resolve symbol
[javac] symbol : class ShoppingCartItem
[javac] location: class servlets.ShowCartServlet
[javac] ShoppingCartItem item = (ShoppingCartItem) i.next();
[javac] ^
[javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
:136: cannot resolve symbol
[javac] symbol : class ShoppingCartItem
[javac] location: class servlets.ShowCartServlet
[javac] ShoppingCartItem item = (ShoppingCartItem) i.next();
[javac] ^
[javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
:137: cannot resolve symbol
[javac] symbol : class BookDetails
[javac] location: class servlets.ShowCartServlet
[javac] bd = (BookDetails) item.getItem();
[javac] ^
[javac] 69 errors
BUILD FAILED
file:C:/Java/j2eetutorial14/examples/web/bookstore1/build.xml:68: Compile failed; see the compiler error output for details.
Total time: 2 seconds
Can some one please help me.
thanksWhen i run the "asant build" command in
"c:\java\j2eetutorial\examples\web\bookstore1"
directory i get compile error with last few lines as
follows.Did you package the bookstore common files as described in Chapter 3? My guess is that you didn't include bookstore.jar from <INSTALL>/j2eetutorial14/examples/build/web/bookstore/dist/.
-Ian Evans
Sun Microsystems
J2EE Tutorial team -
Problem with "asant build" in J2EE hello1 example
Hi all,
I'm trying to follow the J2EE tutorials the examples contained within,
but I seem to have a hurdle with the very first example!
Basically, when I type "asant build", nothing happens - nothing is echoed back, and it looks like the build process has hung.
As far as I can see, I've defined my PATH etc. OK - as follows:
E:\Sun\j2eesdk1.4_beta2\bin;E:\Sun\j2eesdk1.4_beta2\share\bin;F:\bea\jdk141_03\bin
I've defined the following in build.properties as follows:
j2ee.home=E:\Sun\j2eesdk1.4_beta2\
sunone.home=${j2ee.home}
admin.password= (removed for obvious reasons!)
admin.host=localhost
admin.user=admin
Does anyone have any ideas?
Best wishes
PaulHonestly I must say everything is a bit suspicious. I think there is a bug more walking around.
j2ee.home=E:\Sun\j2eesdk1.4_beta2
should work but I saw with this asant tool that the \ is not recognized as a directory separator.
j2ee.home=E:\\Sun\\j2eesdk1.4_beta2
works because asant recognizes \\ as a directory separator. For my taste this a wrong representation, because it is the internal representation in the program.
The entry should not use the internal program representation, so it is a bug. -
Show build status window programmatically
Is there a way to show the build status window progress bar when the application builder is started programmatically via the BuildTargetBuildSpecification.vi? Since it takes quite some time to create a build for our applications (> 1 h) it would be nice to see how much time it is left when a build is started.
I've seen the question posted before about this (http://forums.ni.com/ni/board/message?board.id=170&message.id=204846&query.id=1234930#M204846), but that was some years ago... There are quite many vi's in the AppBuilder directory but most of them are undocumented and not that easy to guess how to use.
/H HYou might be able to use the paintImmediately() method. Here is a thread that gives you and idea of how to use this method:
http://forum.java.sun.com/thread.jsp?forum=57&thread=234114 -
Anybody successfully using iTunes on the RTM build of Windows 8 Pro ?
Hello experts,
I have just downloaded and installed the 32 bit RTM build of Windows 8 Pro now available to download for all Microsoft Action Pack providers.
Has anybody already managed to successfully install and use the latest build of iTunes for Windows on the RTM build of Windows 8 Pro as long as being able to sync iPhone and sync to your iPad devices ?
Thanks and Regards,
MassimilianoHello experts,
I have just downloaded and installed the 32 bit RTM build of Windows 8 Pro now available to download for all Microsoft Action Pack providers.
Has anybody already managed to successfully install and use the latest build of iTunes for Windows on the RTM build of Windows 8 Pro as long as being able to sync iPhone and sync to your iPad devices ?
Thanks and Regards,
Massimiliano -
Can I keep Build Order window open permanently?
I constantly use the Build Order window but must open it via "More Options" in Build. Is there anyway to keep that window permanently open? This would be a great time saver for me.
unfortunatly there isnt a setting to keep the build order drawer open when you change tabs
-
Sometimes the Flex Builder design window crashes
Sometimes the Flex Builder design window crashes in that when
you click on components, you don't see the usual outline transform
box out side the component you clicked on. Also things like the
toggle button bar doesn't switch the viewstack. I have no errors or
warnings in the problems windows.
Any ways round this?Actually I found the answer to my question. You can find it
in my blog.
programmatic
skinning in Flex Builder Design view -
Keynote 6.2.2 "Build Order" window doesn't show
Recently, my Keynote started to not show the Build Order window.
When I click on the "Build Order" button under Animations, nothing happens. Tried clicking it from the Menu (View>Show Build Order), Tried uninstalling and reinstalling Keynote but it doesn't help.
I'm frustrated as I converted my whole powerpoint presentation to Keynote and now this issue started happening suddenly!!!!
I have my defense in 3 days and don't want the risk of updating Mac OSX. Someone please help.
Details:
Macbook Pro 15-inch, Early 2011
Processor 2 GHz Intel Core i7
Memory 8 GB 1333 MHz DDR3
Graphics Intel HD Graphics 3000 512 MB
Software OS X 10.9.5 (13F34) -- Mavericks
Keynote version 6.2.2 (1878)
Thanks in advance.Hi Gary,
The sample presentation shows two shapes with effects. When I play it, the animations works in that order.
What is actually broken is the Build Order button.
I can change order with the "Order" Dropdown on this screen but I can't set things like appear on click, appear with etc, which is what that window allows.
Also, how do you suggest I replace keynote? I deleted it from "Applications" folder and reinstalled it from App Store. 6.2.2 is the only keynote version I have.
~Shauvik
Maybe you are looking for
-
Can't reach network video server on Mac Mini's USB Ethernet Adapter.
I am trying to connect an IP video server to my Mac Mini's USB>Ethernet adapter. The server works fine on the built in Ethernet "en(0)", but is unreachable on the USB>Ethernet adapter network"en(3)". Is this a subnet issue? I don't know much about ne
-
Help Need - Urgent!!!!!!!!
I have 2 DSO. say DSO1 (Header) and DSO2 (Item). DSO1 has ARRDT(date) and ARRTM(time) DSO2 has CRRDT(date) and CRRTM(time). I have created one more DSO3, which has these 4 fields and are mapped using 2 transformation to DSO1 and DSO2. Also I have a o
-
How to set initial column widths for a table
What I'd like to do is to control the initial column widths for a table. I'm building the table by using a class which extends AbstractTableModel. This class takes care of setting the headers and reading the data for the table. If I do the following:
-
My requirement is to send a file as attachment using Mail adapter. While using mail adapter, I need to retain the original file name as the name of the attachment. How can this be achieved?
-
How to create a DAQmx task in LabVIEW ?
I want to create a new DAQmx task in LV. I've used 'create new task' VI in LV. Bt I want to see the created task in MAX task list also. There is no hardware device connected. Its just simulation. Solved! Go to Solution.