Deployment of JSP to Weblogic6.1: Encoding windows-1252" not supported
When i try to deploy my JSP aaplication deployment 'webapp1.deploy' to Weblogic6.1, the following error raised:
[weblogic.xml.process.XMLParsingException: The encoding "windows-1252" is not supported. - with nested exception:
I have tried to change the endoding setting of project but no changes updated.
Thanks in advance,
Anupam
Change the character encoding to UTF-8 in the project settings
Double-click on the project settings.
Select Compiler
Change character encoding.
Check the following URL for a how-to
http://www.javaskyline.com/features/ide/jdevwls/jdevwls.html
raghu
JDev Team
Similar Messages
-
Getting null value while parsing "XML String" with encoding WINDOWS-1252.
Hi,
when I am converting the Follwoing "xml string " to Document, I am getting the "null" as a document value.
String strXML = "<?xml version="1.0" encoding="WINDOWS-1252"?>
<category name="SearchByAttributes" value="Search By Attributes">
<item name="ORDER_LINE_ID" description="Application Search Attributes" >
<attribute name="Sequence" value="0001"/>
</item>
</category>"
My "xml string" has the encoding vaule: WINDOWS-1252.
I am using the following code to convert the "xml string" to Document. I am getting the Document values as a "null" while converting the above "string xml"
String strXML = //my above string xml.
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
docBuilderFactory.setIgnoringElementContentWhitespace(true);
docBuilder = docBuilderFactory.newDocumentBuilder();
doc = docBuilder.parse(new InputSource(new StringReader(strXML)));
System.out.println("doc value.."+doc)//I am getting null value for "doc".
Can anyone help me to resolve the issue.Thagelapally wrote:
I am coverting the below "XML string" to Document, once it is converted I am reading that Document,which have an "attribue" Element in.
String strXML = "<?xml version="1.0" encoding="WINDOWS-1252"?>
<category name="SearchByAttributes" value="Search By Attributes">
<item name="ORDER_LINE_ID" description="Application Search Attributes" >
<attribute name="Sequence" value="0001"/>
</item>
</category>" I am using the above code to read the Document. When run the code in "OC4J Server" and using Jdeveloper as an editor,I am able to perfectly read the "attribute" element in the document with out any problem.Println statement printing as I expected.
System.out.println("Element Name..."+listOfAtt.getNodeName());
//getting Element Name as...."attribute"(as expected)
System.out.println("Element Attibrute list....."+elementAtt);
//getting Element Attribute list as an...."oracle.xml.parser.v2.XMLAttrList@afe"But when run the same code(reading the same Document) in Tomcat and Eclipse,println satatement not printing as i expected.
System.out.println("Element Name..."+listOfAtt.getNodeName());
//getting Element Name as...."#text"(I am expecting output value "attribute" but it is printing "#text" which i don't know)
System.out.println("Element Attibrute list....."+elementAtt);
//getting Element Attribute list as an...."null"(I am expecting output value object reference but it is printing "null"
(without the rest of the code, i'm guessing that) most likely you are grabbing the first child node of the item element. however, you are not accounting for some text nodes that are most likely in that list, like the whitespace between the item element and the attribute element. please go read some tutorials on xml, there are thousands of them out there, and they will answer all you initial questions much more efficiently than posting each step to the forums. -
Requested Java encoder 'Cp932' is not supported by this JDK
I've got :
MS SQL Server 7.0 SP2 setup for Japanese using codepage 932
WebLogic 4.51 using jdbcKona/MSSQLServer4 drivers
JDK 1.2.2
on Windows/NT 4 SP5
I get the following when attempting to create a connection pool:
registerDriver:
driver[className=weblogic.jdbc.mssqlserver4.Driver,weblogic.jdbc.mssqlserver4.Driver@7bd40dd9]
java.sql.SQLException: The requested Java encoder 'Cp932' is not supported by
this JDK.
at
weblogic.jdbcbase.mssqlserver4.BaseConnection.setEncoding(BaseConnection.java:303)
at weblogic.jdbcbase.mssqlserver4.BaseConnection.<init>(BaseConnection.java:66)
at weblogic.jdbcbase.mssqlserver4.TdsConnection.<init>(TdsConnection.java:47)
at weblogic.jdbc.mssqlserver4.TdsConnection.<init>(TdsConnection.java:40)
at
weblogic.jdbc.mssqlserver4.MicrosoftConnection.<init>(MicrosoftConnection.java:31)
at weblogic.jdbc.mssqlserver4.Driver.newConnection(Driver.java:30)
at weblogic.jdbcbase.mssqlserver4.ConnectDriver.connect(ConnectDriver.java:165)
at
weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:145)
at
weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:105)
at
weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java,
Compiled Code)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java,
Compiled Code)
at
weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:327)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java, Compiled
Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:133)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java, Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:61)
DriverManager.getConnection("jdbc:weblogic:mssqlserver4")
trying
driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@f6380ddf]
trying
driver[className=weblogic.jdbc.mssqlserver4.Driver,weblogic.jdbc.mssqlserver4.Driver@7bd40dd9]
What is happening?
Any help/info is greately appreciated.
Thanks.
-pc
sien, peng-chong
mailto://[email protected]
918 parker street, suite a-12, berkeley, ca 94710-2526
tel: 510.649.3757 | fax: 510.848.1533I figured out the problem with the sqljdbc4.jar but...
now i am getting this error
java.lang.ClassNotFoundException: No ClassLoaders found for: com.microsoft.sqlserver.jdbc.SQLServerDriver
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169) -
The encoding "ISO8859_1" is not supported.
I am trying to bring up WLS 6.1 for the examples that got shipped by BEA and I
am getting this error:
Starting WebLogic Server ....
<Dec 28, 2001 5:50:46 PM CST> <Notice> <Management> <Loading configuration file
.\config\examples\config.xml ...>
<Dec 28, 2001 5:50:54 PM CST> <Notice> <WebLogicServer> <Starting WebLogic Admin
Server "examplesServer" for domain "examples">
<Dec 28, 2001 5:51:25 PM CST> <Error> <Management> <Error parsing XML descriptor
for application examples:Name=petstore,Type=Application
org.xml.sax.SAXParseException: The encoding "ISO8859_1" is not supported.
at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java
:1082)
at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromD
ocument(DefaultEntityHandler.java:541)
at weblogic.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.j
ava:310)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:966)
at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:131
Can anyone please advise what I need to do
KKKubo,
What platform are you running on? Did you change any of the config.xml, startPetStore
scripts? Is this a 'clean install' and then you run startPetStore and receive
this error? -
PSE 13 is supposed to support OS Windows Vista. Now, after purchasing and downloading, states "OS requirement not met...Windows Vista not supported." Can anyone help? Will need simple steps explaining what to do! Thanks!
No, Vista is not supported:
http://helpx.adobe.com/x-productkb/policy-pricing/system-requirements-photoshop-elements.h tml -
Purchased Photoshop Elements 13 (upgraded from Photoshop Elements 10), downloaded, entered serial numbers, then got the error message: "OS Requirement not met, Windows Vista not supported" now what?
Sweetie Bug wrote:
now what?
System requirements | Adobe Photoshop Elements
The last version of PSE which supported Vista was version 12.
You'll either have to upgrade your operating system to Windows 7 or Windows 8 or return PSE 13 for a refund. -
Version of Windows OS not supported
Downloaded Adobe Reader 70. When opening desktop message comes up this version of Windows OS not supported. What do I do?
Ok, if you do not have service pack 2 of Windows 2000, you cannot
install Reader 7. Go to
http://www.adobe.com/products/acrobat/readstep2_allversions.html and
choose Windows 2000 SP1.
HOWEVER, if you do not have service pack 4, you should not be
connecting to the internet! You are vulnerable to many viruses. You
should use Windows Update to bring yourself up to date with patches
for Windows 2000. This will take quite some time, but I recommend you
don't delay...
Aandi Inston -
"earlier versions of windows are not supported boot camp" with bootcamp 5.1.2
Hi everyone !
I have a problem about installing window 8.0 pro 64-bit with bootcamp ( v5.1.2 ). When I finished setting up, Bootcamp shows me a message as " earlier versions of windows are not supported boot camp " although I'm using bootcamp with 5.1.2 version. How can I resolve it ? My mac is mgxa2 mid 2014.
Thanks a lot !Thanks for supporting to me .
According to "Boot Camp: System requirements for Microsoft Windows operating systems - Apple Supports" If I use bootcamp version equal or greater than 5, so I can do it. But my current bootcamp likes that. So why not ? . In the first time I set up though bootcamp , it's good but now it always shows that message . -
my macbook air keeps on saying that windows does not support OS X
what do i do?Windows on Intel Macs
There are presently several alternatives for running Windows on Intel Macs.
1. Install the Apple Boot Camp software. Purchase Windows
XP w/Service Pak2, Vista, or Windows 7. For Boot Camp
4.0 and above you can only use Windows 7 or later. Follow
instructions in the Boot Camp documentation on
installation of Boot Camp, creating Driver CD, and
installing Windows. Boot Camp enables you to boot the
computer into OS X or Windows.
2. Parallels Desktop for Mac and Windows XP, Vista Business,
Vista Ultimate, or Windows 7. Parallels is software
virtualization that enables running Windows concurrently
with OS X.
3. VM Fusion and Windows XP, Vista Business, Vista Ultimate,
or Windows 7. VM Fusion is software virtualization that
enables running Windows concurrently with OS X.
4. CrossOver which enables running many Windows
applications without having to install Windows. The
Windows applications can run concurrently with OS X.
5. VirtualBox is an Open Source freeware virtual machine such
as VM Fusion and Parallels that was developed by Solaris.
It is not as fully developed for the Mac as Parallels and VM
Fusion.
Note that VirtualBox, Parallels, and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc. There are performance differences between dual-boot systems and virtualization. The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech Labs- Virtualization Benchmarks, January 2013 | MacTech for comparisons of Boot Camp, Parallels, and VM Fusion. Benchmarks of all of the above except Crossover can be found in Benchmarking Parallels, Fusion, and VirtualBox Against Boot Camp - The Mac Observer. Boot Camp is only available with Leopard or later. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive. -
?xml version='1.0' encoding= 'windows-1252'?
Jspx opens with a default encoding of windows-1252. Can this jspx webpage be opened on an appl mac machine with the same encoding?
Thank,
RuchirHi,
there is no limitation mentioned
http://en.wikipedia.org/wiki/Windows-1252
However, driving it to a testrun will give you the practical answer
Frank -
I imported a CD with custom settings for stereo bit rate, sample rate and channels. When I tried to import a second CD with different settings I could not get to the AAc encoder window that gave the settings options. The custom settings I had chosen for the first CD had become the default "custom" settings.
Hi there,
please take a look at my suggestion under message #19227279
regards,
Markus -
ITunes downloaded, but does not open-Windows does not support Mac script
I have recently bought a Toshiba laptop with pre-installed Windows Vista. I have managed to download iTunes, but I cannot open it. The computer posts a message saying that it does not support Mac script. I suppose that I need additional software (daemon tools?)? I would be grateful if someone could advise me in relation to this issue.
Toshiba Satellite Windows VistaNo, you should need nothing additional. I suspect you may have tried to download the Mac compatible version of iTunes & that's why your getting this message. Make sure you have checked the Windows version & nothe Mac version on the download page.
-
Unable to set up wireless printer HP OJ 4680 error OS Windows XP not supported
Trying ro set up my printer for wireles and it is stating my Windows XP OS is not support.
Just noticed the Starter CD is for Windows 7.
Anyone know what I can do to fix?I searched Google for you and found the drivers you need are on the HP web site. Install the full featured software and drivers.
http://h10025.www1.hp.com/ewfrf/wc/product?cc=us&lc=en&dlc=en&product=3692888
Say thanks by clicking the Kudos Thumbs Up to the right in the post.
If my post resolved your problem, please mark it as an Accepted Solution ...
I worked for HP but now I'm retired! -
ICal info window does not support html?
Greetings,
I have exported several files from WebCalendar (http://webcalendar.sourceforge.net/) to ICal and found that the "info" window views the html as code and not as actual content. I looked about for an option to possibly enable this, but I can't seem to find it. I'm suspecting ICal does not support this function.
Any info you can provide is greatly appreciated.
- Jeff Tovar
G5 Mac OS X (10.4)
G5 Mac OS X (10.4)OK, got that thank you.
If I understand the iCal specification correctly, this is not a compatible ics file. The contents of the DESCRIPTION should be text, not requiring interpretation. Your sample includes html tags - a browser will interpret them rather than display them, but ics files should just have plain text. So iCal is correct in showing you what it gets, rather than attempting to interpret the html markup tags.
You need to find a way for your webcalendar to export the file without markup. Note that you can't put a link (as you are attempting) in the Notes (DESCRIPTION) field - it will just be displayed as text. Even if you put something in the URL field, you can't directly click it, you have to click on the URL label and select go to location.
So, in short, the answer to your original question is that iCal info window does not, and is not supposed to, support HTML.
AK -
Flash CS4 Windows domain not supported
Do you know if it is true that Flash CS4 is not supported by Adobe on a Windows domain environment?
I don't understand why having a computer on a windows domain can cause Flash crashes constantly.
I'm trying to find documentation regarding my question, but haven't been able to find anything.Hi kglad,
I am a bit new to this and can not find any info on allowscriptaccess.
Also most exe files that I have found are 2-3MB and I was just wondering if 4MB is normal as I can not find much info on this.
Also if 4MB is normal, why the increase in size?
Thanks,
Sen
Maybe you are looking for
-
How to Remove the /Div in a Multi-line Field when reporting in Excel, getting
I am uisng Excel Services to extract data from PS2013. And the Multi-line text fields include the </Div> syntax. I have looked at a lot of the links regarding how to do this. I have even borrowed code that was on someones blog. When I try and use
-
Print output of service entry sheet
Dear users, I have configured message output determination for service entry sheet,partner function for vendor and printer configuration from MN13. However when I am running T Code ML83, and putting a service entry sheet no. the message ' no purchasi
-
My Region (Thailand) is not an available option when registering my product
Two years after purchasing my X220 in my home country of Thailand I am still being pestered to register my product by Lenovo Solution Centre. I try to do this but the first question is 'Which is your Region?'. Thailand (or SE Asia) is not an availabl
-
Next, Prior Time in Script Logic
Hi there, I have a problem about script logic. I have 2 monthly rate types. One of them is end-of-period rate(EPR) and other is average rate(AR). i want calculate average rate(AR) summing two consecutive end-of-period rate, dividing 2. But i donu2019
-
OS X Mountain Lion Battery Life Issue
I bought a new MacBook Air 13" about a month ago. It has 4GB Memory, Intel Core i5 processor, and a 256GB SSD. The first three weeks I had it (before OS X Mountain Lion was released) it was running OS X Lion and was giving me about 9hrs (using just i