Can't find file for Trojan Horse on my MacBook
Anyone seen this before?
I have the Norton Antivirus Program installed on my MacBook.
I believe an attack occurred while I was looking through the Apple Support Forums for help with a QuickTime problem and accidentally clicked on the following link: http:www.smacktalkpaintball.com/video/
The Norton Warning came up and I hit the delete option and then set Norton to scan manually.
The following came up at the end of the scan:
Virus "bof.jar-51a4bd07-3d4b399d.zip" detected, Today at 7:24 AM. Repair failed.
/Users/Owner/Li...bd07-3d4b399d.zip Trojan Horse infected
I was not able to locate either of these files anywhere on my computer.
I have two external hard drives that I use to back-up data, but neither of them were connected at the time of the attack, and nothing else was connected when I ran the virus scan.
I do not have Windows installed on this MacBook - Mac OS X, Version 10.5.8,
Norton was able to detect the Trojan whereas MacScan was not, but Norton was not able to remove it
That sounds an unlikely outcome on both counts. Norton anti-virus is just that: anti-virus, and I would not trust it to deal with trojans.
Are you sure you actually installed a Trojan?
If you allow a Trojan to be installed, the user's DNS records can be modified, redirecting incoming internet traffic through the attacker's servers, where it can be hijacked and injected with malicious websites and pornographic advertisements. The trojan also installs a watchdog process that ensures the victim's (that's you!) DNS records stay modified on a minute-by-minute basis.
You can read more about how, for example, the OSX/DNSChanger Trojan works here:
http://www.f-secure.com/v-descs/trojanosxdnschanger.shtml
SecureMac has introduced a free Trojan Detection Tool for Mac OS X. It's available here:
http://macscan.securemac.com/
The DNSChanger Removal Tool detects and removes spyware targeting Mac OS X and allows users to check to see if the trojan has been installed on their computer; if it has, the software helps to identify and remove the offending file. After a system reboot, the users' DNS records will be repaired.
(Note that a 30 day trial version of MacScan can be downloaded free of charge from:
http://macscan.securemac.com/buy/
and this can perform a complete scan of your entire hard disk. After 30 days free trial the cost is $29.99. The full version permits you to scan selected files and folders only, as well as the entire hard disk. It will detect (and delete if you ask it to) all 'tracker cookies' that switch you to web sites you did not want to go to.)
Similar Messages
-
Hi All,
We are on Netweaver 7.01 SP14. (well I understand we are way behind patch levels, but a simple file upload should be working ?/)
We are trying to upload (HTML &/ Image) a file in one of the KM's public folder.
As and when we select folder and click on upload we get the below message:
Below is the error trace details:
Full Message Text
com.sapportals.wdf.WdfException
at com.sapportals.wcm.control.edit.ResourceUploadControl.render(ResourceUploadControl.java:688)
at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:42)
at com.sapportals.wdf.stack.Pane.render(Pane.java:155)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
at com.sapportals.wdf.WdfCompositeController.internalRender(WdfCompositeController.java:709)
at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:674)
at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
at com.sapportals.htmlb.Container.preRender(Container.java:120)
at com.sapportals.htmlb.Container.preRender(Container.java:120)
at com.sapportals.htmlb.Container.preRender(Container.java:120)
at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:408)
at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:238)
at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:134)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:88)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:249)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:557)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
--- Nested WDF Exception -----------------------
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key xtlt_Required
at java.util.ResourceBundle.getObject(ResourceBundle.java:327)
at java.util.ResourceBundle.getObject(ResourceBundle.java:324)
at java.util.ResourceBundle.getString(ResourceBundle.java:287)
at com.sapportals.wcm.util.resource.ResourceBundles.getString(ResourceBundles.java:55)
at com.sapportals.wcm.control.base.WcmBaseControl.getBaseBundleString(WcmBaseControl.java:150)
at com.sapportals.wcm.control.base.WcmBaseControl.getBaseBundleString(WcmBaseControl.java:176)
at com.sapportals.wcm.control.edit.ResourceUploadControl.renderUploadFileContent(ResourceUploadControl.java:773)
at com.sapportals.wcm.control.edit.ResourceUploadControl.render(ResourceUploadControl.java:655)
at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:42)
at com.sapportals.wdf.stack.Pane.render(Pane.java:155)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
at com.sapportals.wdf.WdfCompositeController.internalRender(WdfCompositeController.java:709)
at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:674)
at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
at com.sapportals.htmlb.Container.preRender(Container.java:120)
at com.sapportals.htmlb.Container.preRender(Container.java:120)
at com.sapportals.htmlb.Container.preRender(Container.java:120)
at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:408)
at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:238)
at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:134)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:88)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:249)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:557)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)Hi Vijay,
Thanks for the quick reply.
I have gone through the notes 1535201 & now on 1606563 after your advise.
Both the notes says the fix is available on 7.01 after SP 07 and we are on SP 14 already.
Also just in case I did checked with our basis and they confirmed we are a head and we have the above notes in our release already.
Unfortunately the notes are not the solution to the investigation till date.
Thanks,
Sai -
Where can I find file manager, to manage files for my iPad Air?
Where can I find file manager, to manage files for my iPad Air?
There are some apps that allow for a decent amount of file management on the iPad! depending on what you want to do. Take a look at some of these.
http://appadvice.com/appguides/show/best-iPad-file-managers -
Hi,
When I try to deploy a bpel process using JDeveloper I'm having the following xml parse error:
Error(21):
[Error ORABPEL-10900]: xml parser error
[Description]: in line 21 of "file:/C:/JDeveloper/jdev/mywork/NERGA/CriarProjectoSA/bpel/CriarProjectoSA.bpel", XML parsing failed because file:/C:/JDeveloper/jdev/mywork/NERGA/CriarProjectoSA/bpel/CriarProjectoSA.bpel<Line 21, Column 63>: XML-24538: (Error) Can not find definition for element 'process'.
[Potential fix]: Fix the invalid XML.
I don't understand why... Any idea?Ok.
This is my BPEL code. The sapattern tags are from a program that is generating part of the code. The JDeveloper doesn't show any error, I only get the error when I try to deploy.
<?xml version = "1.0" encoding = "UTF-8" ?>
<process name="CriarProjectoSA"
targetNamespace="http://xmlns.oracle.com/CriarProjectoSA"
suppressJoinFailure="no"
xmlns="http://xmlns.oracle.com/CriarProjectoSA"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:ns4="http://xmlns.oracle.com/CriarProjectoSA"
xmlns:ns7="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns5="http://schemas.oracle.com/xpath/extension"
xmlns:ns6="http://xmlns.oracle.com/bpel/workflow/xpath"
xmlns:ns11="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
xmlns:ns9="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
xmlns:ns1="http://xmlns.oracle.com/ValidacaoProjectos"
xmlns:ns3="http://www.nerga.pt" xmlns:ns2="http://tempuri.org/"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:ns10="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:ns8="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
<!--Generated by Telelogic System Architect on 05/01/2007 11:06:18 by easm-->
<sapattern>
<guid>41207640-d934-480f-902a-b3764f3d9c9f</guid>
</sapattern>
<partnerLinks>
<partnerLink name="client" partnerLinkType="ns4:CriarProjectoSA"
myRole="CriarProjectoSAProvider"/>
<partnerLink name="NergaIS" partnerLinkType="ns2:ServiceSoap_PL"
myRole="ServiceSoap_Role" partnerRole="ServiceSoap_Role"/>
<partnerLink name="ValidacaoProjectos"
partnerLinkType="ns1:ValidacaoProjectos"
myRole="ValidacaoProjectosRequester"
partnerRole="ValidacaoProjectosProvider"/>
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
<guid>3111d1af-0b31-4d02-b3fc-73d14ce95405</guid>
<guid>e9cdca59-888a-4e67-af54-a63ce2347ad3</guid>
</sapattern>
</partnerLinks>
<variables>
<variable name="outputVariable"
messageType="ns4:CriarProjectoSAResponseMessage"/>
<variable name="inputVariable"
messageType="ns4:CriarProjectoSARequestMessage"/>
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>2503e820-3add-4cd1-bbc5-5cc5fff57090</guid>
<guid>8bcc3532-46b7-4e88-816f-72ecdaee76ab</guid>
</sapattern>
<variable name="invocaVP_initiate_InputVariable"
messageType="ns1:ValidacaoProjectosRequestMessage"/>
<variable name="recebeVP_onResult_InputVariable"
messageType="ns1:ValidacaoProjectosResponseMessage"/>
<variable name="InvocaAdicionarProjecto_InputVariable"
messageType="ns2:AdicionarProjectoSoapIn"/>
<variable name="InvocaAdicionarProjecto_OutputVariable"
messageType="ns2:AdicionarProjectoSoapOut"/>
</variables>
<sequence>
<receive name="recebeTemplate" joinCondition="False" partnerLink="client"
portType="ns4:CriarProjectoSA" operation="process"
variable="inputVariable" createInstance="yes">
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
<guid>68e62379-55ac-48eb-b681-aee8f5a7696d</guid>
</sapattern>
</receive>
<scope variableAccessSerializable="no" name="ValidarExigências"
joinCondition="False">
<faultHandlers>
<catchAll>
<assign name="assignInvalid">
<bpelx:append>
<bpelx:from expression="concat(ns8:getVariableData('inputVariable','payload','/ns3:Template/ns3:Projecto/ns3:Observacoes'), string('Projecto inválido!!'))"/>
<bpelx:to variable="inputVariable" part="payload"
query="/ns3:Template/ns3:Projecto/ns3:Observacoes"/>
</bpelx:append>
</assign>
</catchAll>
</faultHandlers>
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>2e56af66-6622-43e0-9adc-6d5f109cf374</guid>
</sapattern>
<sequence name="ValidarExigências" joinCondition="False">
<assign name="assignVPIn">
<copy>
<from variable="inputVariable" part="payload"/>
<to variable="invocaVP_initiate_InputVariable" part="payload"/>
</copy>
</assign>
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>2e56af66-6622-43e0-9adc-6d5f109cf374</guid>
</sapattern>
<invoke name="invocaVP" joinCondition="False"
partnerLink="ValidacaoProjectos" portType="ns1:ValidacaoProjectos"
operation="initiate"
inputVariable="invocaVP_initiate_InputVariable">
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>f3bc9c04-f4d2-4e96-acc8-7a6c88a8ced5</guid>
</sapattern>
</invoke>
<receive name="recebeVP" joinCondition="False"
partnerLink="ValidacaoProjectos"
portType="ns1:ValidacaoProjectosCallback" operation="onResult"
createInstance="no" variable="recebeVP_onResult_InputVariable">
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>e9cdca59-888a-4e67-af54-a63ce2347ad3</guid>
<guid>1eba96a8-330a-4e4d-a14b-cdf6641fa614</guid>
</sapattern>
</receive>
<assign name="assignVPOut">
<copy>
<from variable="recebeVP_onResult_InputVariable" part="payload"/>
<to variable="inputVariable" part="payload"/>
</copy>
</assign>
</sequence>
</scope>
<scope variableAccessSerializable="no" name="AdicionarProjecto"
joinCondition="False">
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>89c02eae-7788-4892-a616-e46b65ef1b50</guid>
</sapattern>
<sequence name="InvocarISAdicionarProjecto" joinCondition="False">
<assign name="assignIS">
<copy>
<from variable="inputVariable" part="payload"
query="/ns3:Template/ns3:Projecto/ns3:NomeProjecto"/>
<to variable="InvocaAdicionarProjecto_InputVariable" part="parameters"
query="/ns2:AdicionarProjecto/ns2:nome"/>
</copy>
<copy>
<from variable="inputVariable" part="payload"
query="/ns3:Template/ns3:Projecto/ns3:TipoProjecto"/>
<to variable="InvocaAdicionarProjecto_InputVariable" part="parameters"
query="/ns2:AdicionarProjecto/ns2:tipo"/>
</copy>
</assign>
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>89c02eae-7788-4892-a616-e46b65ef1b50</guid>
</sapattern>
<invoke name="InvocaAdicionarProjecto" joinCondition="False"
partnerLink="NergaIS" portType="ns2:ServiceSoap"
operation="AdicionarProjecto"
inputVariable="InvocaAdicionarProjecto_InputVariable"
outputVariable="InvocaAdicionarProjecto_OutputVariable">
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>76519bd3-c506-4c79-8190-8ff09abdd27d</guid>
</sapattern>
</invoke>
</sequence>
</scope>
<assign name="assignOutput">
<copy>
<from variable="inputVariable" part="payload"
query="/ns3:Template/ns3:Projecto"/>
<to variable="outputVariable" part="payload"/>
</copy>
</assign>
<reply name="devolveProjecto" joinCondition="False" partnerLink="client"
portType="ns4:CriarProjectoSA" operation="process"
variable="outputVariable">
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
<guid>0dbefef0-3d04-4356-abbc-b291ea40d256</guid>
</sapattern>
</reply>
</sequence>
</process> -
.v2.XMLParseException:Can not find definition for element 'descriptor'
I am getting the following error, while running 'empps.jsp' ...when executing the tutorial given at
ERROR Details:
500 Internal Server Error
javax.servlet.jsp.JspException: javax.faces.el.EvaluationException: Error getting property 'employees' from bean of type jsftoplink.model.EmployeesClient: Exception [TOPLINK-25004] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.XMLMarshalExceptionException Description: An error occurred unmarshalling the documentInternal Exception: Exception [TOPLINK-27101] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.platform.xml.XMLPlatformExceptionException Description: An error occurred while parsing the document.Internal Exception: oracle.xml.parser.v2.XMLParseException: Can not find definition for element 'class-descriptor-type' at com.sun.faces.taglib.html_basic.DataTableTag.doEndTag(DataTableTag.java:501) at emps.jspService(_emps.java:629)
Pls help me in resolving this issue.I am still gettng the same error. The xml file is now
<?xml version="1.0" encoding="UTF-8"?>
<CUSTOMER xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="" ID="568945">
<FIRSTNAME>Arnold</FIRSTNAME>
<LASTNAME>McEriccson</LASTNAME>
<ADDRESS>
<LINE1>31, Nomadic Avevnue</LINE1>
<LINE2>Pasadena Clove</LINE2>
<CITY>WoolTown, MT</CITY>
<ZIP>45263</ZIP>
</ADDRESS>
<BIRTHDATE>1967-08-13</BIRTHDATE>
</CUSTOMER>
The xsd file is:
<?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="CUSTOMER">
<xs:complexType>
<xs:sequence>
<xs:element name="FIRSTNAME" type="xs:string"/> <xs:element name="LASTNAME" type="xs:string"/> <xs:element name="ADDRESS"> <xs:complexType>
<xs:sequence>
<xs:element name="LINE1" type="xs:string"/> <xs:element name="LINE2" type="xs:string"/> <xs:element name="CITY"/>
<xs:element name="ZIP" type="xs:int"/> </xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BIRTHDATE" type="xs:date"/> </xs:sequence>
<xs:attribute name="ID" type="xs:double"/> </xs:complexType>
</xs:element>
</xs:schema>
There seems to be something fairly obvious that i am missing. -
How can I find ringtones for sale in iTunes? I don't see it as a category anywhere.
how can I find ringtones for sale in iTunes? I don't see it as a category anywhere.
Ferretbite wrote:
You could also download the Ringtone Maker all for iPhone in the AppStore and create your own custom ringtones and message tones.
Not needed.
Easy enough to do in iTunes.
Find the song you want and note the start/stop time you want the ring tone.
Right click - get info, click the Options tab and set the start/stop times as above.
Right click - Create AAC version. This creates a new file.
Drag this new file from the iTunes window to the desktop.
Delete the file from iTunes and also select Delete from hard drive.
On the desktop, rename the file whateveryouwant.m4r (first part you can change to whatever you want & change the extension to .m4r).
Drag the file back to the iTunes library at top left.
Make sure iTunes prefs > General has Tones ticked. -
Can not find file must locate each song one at a time need to restore my whole library
can not find file, must locate each song one at a time need to restore my whole library
Hello BadSteve,
It sounds like iTunes seems to have lost track of all your music and you must locate each file individually. I would recommend at this point that you check for 3rd party plugins to see if there are any causing an issue:
iTunes: Troubleshooting issues with third-party iTunes plug-ins
http://support.apple.com/kb/ts3430
If the issue persists after removing the plugins, I would next try recreating your iTunes library:
iTunes: How to re-create your iTunes library and playlists
http://support.apple.com/kb/ht1451
Thank you for using Apple Support Communities.
Regards,
Sterling -
Can't find bundle for base....
Help needed....
When making a ResourceBundle.getbundle("texter",getlocale())
from an applet, within Init, I get MissingResourceException with the message Can't find bundle for base name texter....
Also, to mention is that within Init I set SystemSecuity.addProvider("IAIK")This is removed in destroy SystemSecurity.removeProvider ("IAIK").
The name on the properties file is texter.properties.
The above problem only occur the second time the applet initializes.
The applet is located in a servlets application.
Operating system is Windows NT, using IE and Netscape.
Last but not least, this is only a problem when using JRE 1.4 not when using JRE 1.3.Hello!
I am using IBM WebSphere Test Environment as a servletEngine, i put the propertiesfile in a jarfile together with
the appletpackage. So the servletpage loads everithing in the jarfile to the client. The strange thing is that this works the first time but not the second time.
Thanksfull for any suggestions!
/Elena -
Satellite A205 S4797 - can not find drivers for my drive
I have recovery disks and Windows Vista installation disk. When I try to install error meesage says it can not find drivers for my drive.
I tried scannong CD drive and it cannot find them do 32-bit, 64-bit all have different drivers and if so where do I get the one I need if not from the install disk or recovery disk from manuf.?If you cannot use original Toshiba recovery DVD for OS installation I can imagine there is some problem with DVD itself (some missing file or scratch) but Microsoft Vista installation MUST work on this notebook model.
If this doesnt work too there must be some problem with HDD. Just if you want to install WXP you need to load SATA driver at start-up but Vista must work.
Can you please tell me what happen when you try to install Vista from Microsoft Vista installations DVD? -
Where can I find Documentation for Oracle financial installation
Hi
Where can I find Documentation for Oracle financial
installation as which all modules to be downloaded for linuk server etc
here is what I have found
===================================
Oracle9i Application Server, Version 1.0.2.2.2 CD Pack for Linux x86 [Act as Server][to be installed on main linux server]
===================================
Oracle® Applications 11i Release 9 CD Pack for Linux x86 [Act as client][to be installed on client sean,AJ,Vinod]
===================================
Internet Developer Suite (1.0.2.4.1) CD Pack (with iAS Pack) for Microsoft Windows (32-bit)
===================================user11872870 wrote:
Hi Tubby,
http://www.quest.com/documents/list.aspx?SearchOff=true&ContentTypeID=20&prod=1
This link has many pdf files but none has the useful information. Those pdf's are just 2 or 3 pages each.Sad Christmas for you then i suppose.
Perhaps you could contact the vendor (quest) and get them to help you in your search for whatever it is you're looking for. An Oracle SQL and PL/SQL forum is not the venue for this, please mark the question as answered, and good luck in your search. -
Mobile 3.1 can't find bundle for base name labels
Hi all.
I installed the Business Objects Mobile 3.1 few days ago on a dedicated server without using proxy server because the installation is in test mode with no external access. Both products (BO Enterprise XI3.1 & BO Mobile 3.1) are installed on separate Windows Server 2003 machines. The installation has the default database (Apache Derby) and both services (VAS & VMS) are working. The mobile device is a virtual device on my PC using Windows Mobile 6.1 operating system.
The client application has been installed on mobile device and users can succesfully log on to the CMS using Enterpise Authentication method. After this two folder icons are displayed on screen, first for Local Documents and second for Server Documents. Clicking the Server Documents the following error message is displayed on screen "Can't find bundle for base name labels, locale el_GR (0x15)"
I tried to resolve the problem changing the regional settings from Greek to US in servers, my PC and Virtual Device but the exact error still appears. Does anybody knows what to do or where to look for a solution?
Thanks for reading my message. Happy and creative new year for all.Here is my suggestion.
Do you have the property file named "webui-resources_en_US.properties"?
Here is the example
language="en"
country="US"
locale = new Locale(language, country);
bundle = ResourceBundle.getBundle("com.<companyname>.webui-resources");
copy the webui-resources_en_US.properties file to the directory
com.<companyname> in your workspace/IDE/localdirectory. or ftp that file to classes/com/companyname directory
This should work. I am using it that way.
which appserver r u using? -
SEVERE: null : Can't find file '/WEB-INF/tiles-defs.xml'
I'm trying to get Tiles to work with Struts on my server. I'm running a local instance of Tomcat v5.5. Development environment is Eclipse. I"ve looked everywhere on the web and can't find any solutions that work. I've been working on this for several days now. It shouldn't be this hard...
I appreciate any help or suggestions people might have. I would really like to get beyond the configuration $#!^ and start coding.
Thanks in advance!!!
Jim
Here are snippets from the pertinent files:
web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>
admin</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>
org.apache.struts.action.ActionServlet
</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<jsp-config>
<taglib>
<taglib-uri>struts-bean</taglib-uri>
<taglib-location>/WEB-INF/tlds/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>struts-logic</taglib-uri>
<taglib-location>/WEB-INF/tlds/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>struts-html</taglib-uri>
<taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>struts-tiles</taglib-uri>
<taglib-location>/WEB-INF/tlds/struts-tiles.tld</taglib-location>
</taglib>
<!-- The following tag library info was added for JSTL libraries. -->
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/tlds/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt-rt</taglib-uri>
<taglib-location>/WEB-INF/tlds/fmt-rt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tlds/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/core-rt</taglib-uri>
<taglib-location>/WEB-INF/tlds/c-rt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
<taglib-location>/WEB-INF/tlds/sql.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/sql-rt</taglib-uri>
<taglib-location>/WEB-INF/tlds/sql-rt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/x</taglib-uri>
<taglib-location>/WEB-INF/tlds/x.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/x-rt</taglib-uri>
<taglib-location>/WEB-INF/tlds/x-rt.tld</taglib-location>
</taglib>
</jsp-config>
</web-app>
struts-config.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"/WEB-INF/dtds/struts-config_1_2.dtd">
<struts-config>
<!-- ============================================ Data Source Configuration -->
<data-sources />
<!-- ================================================ Form Bean Definitions -->
<form-beans>
</form-beans>
<!-- ========================================= Global Exception Definitions -->
<global-exceptions />
<!-- =========================================== Global Forward Definitions -->
<global-forwards />
<!-- =========================================== Action Mapping Definitions -->
<action-mappings>
<action path="/foobar" forward="/createAccount.jsp" />
</action-mappings>
<!--
============================================= Controller Configuration
<controller contentType="text/html; charset=UTF-8" />
======================================== Message Resources Definitions
<message-resources
parameter="com.xilinx.web.registration.struts.res.ApplicationResources" />
=============================================== Plug Ins Configuration -->
<!--======================================================= Tiles plugin -->
<!--
This plugin initialize Tiles definition factory. This later can takes some
parameters explained here after. The plugin first read parameters from
web.xml, thenoverload them with parameters defined here. All parameters
are optional.
The plugin should be declared in each struts-config file.
- definitions-config: (optional)
Specify configuration file names. There can be several comma
separated file names (default: ?? )
- moduleAware: (optional - struts1.1)
Specify if the Tiles definition factory is module aware. If true
(default), there will be one factory for each Struts module.
If false, there will be one common factory for all module. In this
later case, it is still needed to declare one plugin per module.
The factory will be initialized with parameters found in the first
initialized plugin (generally the one associated with the default
module).
true : One factory per module. (default)
false : one single shared factory for all modules
- definitions-parser-validate: (optional)
Specify if xml parser should validate the Tiles configuration file.
true : validate. DTD should be specified in file header (default)
false : no validation
Paths found in Tiles definitions are relative to the main context.
-->
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
<set-property property="definitions-debug" value="2" />
<set-property property="definitions-parser-details" value="2" />
<set-property property="definitions-parser-validate" value="true" />
</plug-in>
<!-- =================================================== Validator plugin
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
</plug-in>
-->
</struts-config>
tiles-defs.xml (in the WEB-INF directory as are the other xml files...):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
<tiles-definitions>
<definition name="Tiles.register" page="/tiles/template.jsp">
<put name="header" value="/tiles/header.jsp" />
<put name="body" value="/register.jsp" />
<put name="footer" value="/tiles/footer.jsp" />
</definition>
</tiles-definitions>
Console output when starting the server:
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
Jul 7, 2006 11:36:41 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jul 7, 2006 11:36:43 AM org.apache.struts.tiles.xmlDefinition.I18nFactorySet initFactory
SEVERE: null : Can't find file '/WEB-INF/tiles-defs.xml'
Jul 7, 2006 11:36:43 AM org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
SEVERE: Can't create Tiles definition factory for module ''.
Jul 7, 2006 11:36:43 AM org.apache.struts.action.ActionServlet init
SEVERE: Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.
javax.servlet.ServletException: null : Can't find file '/WEB-INF/tiles-defs.xml'
at org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:233)
at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:137)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Jul 7, 2006 11:36:43 AM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet action as unavailable
Jul 7, 2006 11:36:43 AM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /admin threw load() exception
javax.servlet.UnavailableException: null : Can't find file '/WEB-INF/tiles-defs.xml'
I have the following jars in my Web App Libraries (WEB-INF/lib):
standard.jar
commons-fileupload.jar
antlr.jar
struts.jar
commons-beanutils.jar
commons-logging.jar
commons-validator.jar
myswl-connector-java-3.1.12-bin.jar
struts-el.jar
jstl.jar
commons-digester.jar
Struts is version: 1.2.9.
JRE / JDK: 1.5.0_06 (Program files shows I have JRE 1.5.0_05 in the tree as well)
Note: Struts will work if I comment out the tiles plug-in in the struts-config.xml file.you don�t call o files-defs.xml in jsp?
-
Can't find bundle for base name... and selectOne tags
I have a problem. I have a little application with internationalization working very well. But when i introduce a selectOneMenu tag i get the following error:
javax.servlet.ServletException: javax.servlet.jsp.JspException: Can't find bundle for base name MessageBundle, locale en
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:821)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.pages.default_jsp._jspService(default_jsp.java:121)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
org.apache.jasper.runtime.PageContextImpl
When I take off the selctOneMenu tag and every thing work well again.
the code of the page is the following:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:loadBundle basename="localizations.MessageBundle" var="bundle"/>
<html>
<head>
<title></title>
</head>
<body>
<f:view>
<%@ include file="/pages/includes/header.jsp" %>
<h:selectOneMenu>
<f:selectItems value="#{pruebaBean.condiments}"/>
</h:selectOneMenu>
</f:view>
</body>
</html>
The pruebaBean code is the following:
public class PruebaBean {
private Map condiments = null;
public Map getCondiments() {
if(condiments == null) {
condiments = new HashMap();
condiments.put("Cheese", new Integer(1)); // key,value
condiments.put("Pickle", new Integer(2));
condiments.put("Mustard", new Integer(3));
condiments.put("Lettuce", new Integer(4));
condiments.put("Onions", new Integer(5));
return condiments;
public PruebaBean() {
public void setCondiments(Map condiments) {
this.condiments = condiments;
The MessageBundle work well, the problem i think is something with the selectOneMenu.
Help me please.a) You can't use map for that purpose.
b) You have to create SelectItem objects
c) If you return an array of selectItem on this method condiments, it will go ok. -
I get itunes can't find file when I tried to play a TV show I had purchased. I then checked and had this problem with an entire TV season I had purchesed. The shows were supposed to be in the cloud. I went to the itunes store, went to the tv shows and they showed that I had purchesed them. They do not show up when I click on purchesed in the store.
Try this...
Empty/corrupt library after upgrade/crash
Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
When you get it all working make a backup!
tt2 -
Can't Find Bundle for Base name
Please help! I've tried just about everything!!!
Error:
Exception in thread "main" java.util.MissingResourceException: Can't
find bundle for base name Messages2/Messages2, locale
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1508)
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1262)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:789)
com.hypefiend.javagamebook.games.rps.RPSClient.main(RPSClient.java:55)
Java Result: 1
package com.hypefiend.javagamebook.games.rps;
import com.hypefiend.javagamebook.client.*;
import com.hypefiend.javagamebook.common.*;
import java.nio.*;
import java.nio.channels.*;
import java.util.*;
import java.net.*;
import java.io.*;
import org.apache.log4j.*;
public class RPSClient extends GameClient {
/** log4j logger */
protected static Logger log = Logger.getLogger("RPSClient");
/** reference to ConsoleEventReader that reads events from user input */
protected RPSConsoleEventReader consoleReader;
* main.
public static void main(String args[] ) {
// setup log4j
BasicConfigurator.configure();
if (args.length < 2) {
System.out.println("usage: java com.hypefiend.javagamebook.games.rps.RPSClient <host> <player_name>\n");
System.exit(0);
String language;
String country;
if (args.length != 2) {
language = new String("en");
country = new String("US");
} else {
language = new String(args[0]);
country = new String(args[1]);
Locale alocale;
ResourceBundle mesg;
alocale = new Locale(language, country);
mesg= ResourceBundle.getBundle("src/com/hypefiend/javagamebook/games/rps/Messages2/Messages2",
alocale);
// fire up the client
RPSClient gc = new RPSClient();
gc.init(args);
gc.start();
* call GameClient.init()
* and start our ConsoleEventReader
public void init(String args[]) {
super.init(args);
consoleReader = new RPSConsoleEventReader(this, inQueue, outQueue);
consoleReader.start();
* shutdown the client
protected void shutdown() {
consoleReader.shutdown();
super.shutdown();
* handle incoming GameEvents from the EventQueue
protected void processIncomingEvents() {
GameEvent inEvent;
while (inQueue.size() > 0) {
try {
inEvent = inQueue.deQueue();
switch (inEvent.getType()) {
case GameEventDefault.S_LOGIN_ACK_OK:
break;
case GameEventDefault.SB_LOGIN:
stdOut( java.util.ResourceBundle.getBundle("src/com/hypefiend/javagamebook/games/rps/Messages2/Messages2").getString("login:_") + inEvent.getMessage());
break;
case GameEventDefault.SB_LOGOUT:
stdOut( java.util.ResourceBundle.getBundle("src/com/hypefiend/javagamebook/games/rps/Messages2/Messages2").getString("logout:_") + inEvent.getMessage());
break;
case GameEventDefault.SB_CHAT_MSG:
stdOut( inEvent.getPlayerId() + ": " + inEvent.getMessage());
break;
case GameEventDefault.S_DISCONNECT:
stdErr( java.util.ResourceBundle.getBundle("src/com/hypefiend/javagamebook/games/rps/Messages2/Messages2").getString("disconnected_from_server:_") + inEvent.getMessage());
shutdown();
break;
case GameEventDefault.S_JOIN_GAME_ACK_OK:
stdOut( inEvent.getMessage());
inGame = true;
break;
case GameEventDefault.S_JOIN_GAME_ACK_FAIL:
stdOut( inEvent.getMessage());
inGame = false;
break;
case GameEventDefault.SB_PLAYER_QUIT:
stdOut( inEvent.getMessage());
inGame = false;
break;
default:
stdOut( inEvent.getMessage());
break;
catch (InterruptedException ie) {}
* return our GameName
public String getGameName() {
return "RPS";
* factory method to create GameEvents
public GameEvent createGameEvent() {
return new GameEventDefault();
* factory method to create login GameEvents
public GameEvent createLoginEvent() {
return new GameEventDefault(GameEventDefault.C_LOGIN);
* factory method to create disconnect GameEvents
public GameEvent createDisconnectEvent(String reason) {
return new GameEventDefault(GameEventDefault.S_DISCONNECT, reason);
}Edited by: ahulet2007 on Nov 2, 2007 8:49 AMYou continue to use slash instead of dot.
You did not follow any of my suggestions and still awarded me dukes,
so I feel I have to make a last attempt.
Here is what I have:
D:\try>dir /s
Volume in drive D is New Volume
Volume Serial Number is 3ECC-CB52
Directory of D:\try
11/05/2007 12:18 PM <DIR> .
11/05/2007 12:18 PM <DIR> ..
11/05/2007 12:19 PM <DIR> a
0 File(s) 0 bytes
Directory of D:\try\a
11/05/2007 12:19 PM <DIR> .
11/05/2007 12:19 PM <DIR> ..
11/05/2007 12:19 PM <DIR> b
11/05/2007 12:17 PM 808 MyClass.class
1 File(s) 808 bytes
Directory of D:\try\a\b
11/05/2007 12:19 PM <DIR> .
11/05/2007 12:19 PM <DIR> ..
11/02/2007 01:56 PM 11 Messages.properties
1 File(s) 11 bytes
Total Files Listed:
2 File(s) 819 bytes
8 Dir(s) 70,889,848,832 bytes free
D:\try>java a.MyClass
value
D:\try>Here is the code for MyClass:
package a;
import java.util.*;
public class MyClass
public static void main( String[] args ) throws Exception
ResourceBundle rb = ResourceBundle.getBundle( "a.b.Messages" );
System.out.println( rb.getString( "key") );
}Here is the contents of Messages.properties:
key = value
Maybe you are looking for
-
How can I reload itunes on my iPhone 5?
After updating my iPhone, the iTunes app has no content. I can search and search suggestions drop down from the search field but when clicked on, yield no content at all. Click on Music, TV, Movies... nothing populates. Can't buy music. Thanks. Jeff
-
I can use Explorer to get to to the webmail, but Firefox no longer works.
-
Hey, so I just bought an Apple TV specifically to mirror my Macbook Air screen to my TV. My Mac is mid 2011 so it whould be working, I'm wondering if there is a setting I have missed or something? All other functions are working except the Airplay ic
-
Modification on selection screen of report
Hello guys, I have a requirement where in i need to modify the initial selection screen as per clients requirement. The scenario is as follows: Suppose 'EMPLOYEE' and 'PORTFOLIO' are two of the fields of a cube on which the report will be run. Now su
-
Jbo:DataScroller - how to ensure 'First' and 'Last' action links appear
I'm working in JDeveloper 10.1.3.5.0. I'd like to know if there's a way to ensure that the action links 'First' and 'Last' will appear, in addition to the 'Next' and 'Previous' ones (that is, assuming we're not already at the first or last range posi