Voume and static errors
my ipod volume doesnt always work i turn it down all the way and it is still blasting and i constantly hear static and it isnt the earphones am i alone???
Hi!!
This error means that you are mixing up static and non-static methods. If you keep items() as you wrote it, then it's not a static method, and you'll have to create or use an Output variable in the blah() method. If I'm not clear:
In Output, you put:
public int items()
return doneItemCount;
And in Input, you put either:
public void blah()
int test = new Output().items();//not very useful
or, if you declared and instanciated an Output variable(say blabla) somewhere else in the Input class, you put:
public void blah()
int test = blabla.items();
Anyway, you should keep items() non-static, since it needs to access to an attribute(doneItemCount).
Hope this'll help. When I first met this error, I thought it was quite a weird solution, but you get used to it. And the compiler leaves you alone :).
Similar Messages
-
Hi,
I've created a couple classes, say, Input and Output both with a number of different methods.
Output holds an integer value that Input needs access to.
I created a method in Output to return the value, such as
//doneItemCount is declared up here somewhere, etc
public int items()
int returnvalue = doneItemCount;
return returnvalue;
My Input class has a method from which it tries to get that value
public void blah()
int test = Output.items();
but no matter what i try i get
non-static method items() cannot be referenced from a static context
int test = Output.items();
If i make the methods static, then i get the same error for doneItemCount not being static or whatnot.
Any tips on how to overcome this?
ThanksHi!!
This error means that you are mixing up static and non-static methods. If you keep items() as you wrote it, then it's not a static method, and you'll have to create or use an Output variable in the blah() method. If I'm not clear:
In Output, you put:
public int items()
return doneItemCount;
And in Input, you put either:
public void blah()
int test = new Output().items();//not very useful
or, if you declared and instanciated an Output variable(say blabla) somewhere else in the Input class, you put:
public void blah()
int test = blabla.items();
Anyway, you should keep items() non-static, since it needs to access to an attribute(doneItemCount).
Hope this'll help. When I first met this error, I thought it was quite a weird solution, but you get used to it. And the compiler leaves you alone :). -
MS NLB with ASA and Static NAT from PUP to NLB IP
Hi all,
I am trying to get MS NLB up and running. It is almost all working. Below is my physical setup.
ASA 5510 > Cat 3750X >2x ESXi 5.1 Hosts > vSwitch > Windows 2012 NLB Guest VMs.
I have two VMs runing on two different ESXi hosts. They have two vNICs. One for managment and one for inside puplic subnet. The inside puplic subnet NICs are in the NLB cluster. The inside public subnet is NATed on the ASA to a outide public IP.
192.168.0.50 is the 1st VM
192.168.0.51 is the 2nd VM
192.168.0.52 is the cluster IP for heartbeat
192.168.0.53 is the cluster IP for NLB traffic.
0100.5e7f.0035 is the cluster MAC.
The NLB cluster is using MULTICAST
I have read the doumentation for both the ASA and CAT switch for adding a static ARP using the NLB IP and NLB MAC.
For the ASA I found
http://www.cisco.com/en/US/docs/security/asa/asa84/asdm64/configuration_guide/mode_fw.html#wp1226249
ASDM
Configuration > Device Management > Advanced > ARP > ARP Static Table
I was able to add my stic ARP just fine.
However, the next step was to enable ARP inspection.
Configuration > Device Management > Advanced > ARP > ARP Inspection
My ASDM does not list ARP Inspection, only has the ARP Static Table area. Not sure about this.
For the CAT Switch I found
http://www.cisco.com/en/US/products/hw/switches/ps708/products_configuration_example09186a0080a07203.shtml
I added the both the ARP and Static MAC. For the static MAC I used the VLAN ID of the inside public subnet and the interfaces connected to both ESXi hosts.
On the ASA I added a static NAT for my outside Public IP to my inside pupblic NLB IP and vise versa. I then added a DNS entry for our domain to point to the outside public IP. I also added it to the public servers section allowing all IP traffic testing puproses.
At any rate the MS NLB is working ok. I can ping both the Public IP and the Inside NLB IP just fine from the outside. (I can ping the inside NLB IP becuase I'm on a VPN with access to my inside subnets) The problem is when I go to access a webpade from my NLB servers using the DNS or the Public IP I get a "This Page Can't Be Displyed" messgae. Now while on the VPN if I use the same URL but insied use the NLB IP and not the Public IP it works fine.
So I think there is soemthing wrong with the NATing of the Public to NLB IP even tho I can ping it fine. Below is my ASA Config. I have bolded the parts of Interest.
Result of the command: "show run"
: Saved
ASA Version 8.4(4)9
hostname MP-ASA-1
enable password ac3wyUYtitklff6l encrypted
passwd ac3wyUYtitklff6l encrypted
names
dns-guard
interface Ethernet0/0
nameif outside
security-level 0
ip address 198.XX.XX.82 255.255.255.240
interface Ethernet0/1
description Root Inside Interface No Vlan
speed 1000
duplex full
nameif Port-1-GI-Inside-Native
security-level 100
ip address 10.1.1.1 255.255.255.0
interface Ethernet0/1.2
description Managment LAN 1 for Inside Networks
vlan 2
nameif MGMT-1
security-level 100
ip address 192.168.180.1 255.255.255.0
interface Ethernet0/1.3
description Managment LAN 2 for Inside Networks
vlan 3
nameif MGMT-2
security-level 100
ip address 192.168.181.1 255.255.255.0
interface Ethernet0/1.100
description Development Pubilc Network 1
vlan 100
nameif DEV-PUB-1
security-level 50
ip address 192.168.0.1 255.255.255.0
interface Ethernet0/1.101
description Development Pubilc Network 2
vlan 101
nameif DEV-PUB-2
security-level 50
ip address 192.168.2.1 255.255.255.0
interface Ethernet0/1.102
description Suncor Pubilc Network 1
vlan 102
nameif SUNCOR-PUB-1
security-level 49
ip address 192.168.3.1 255.255.255.0
interface Ethernet0/1.103
description Suncor Pubilc Network 2
vlan 103
nameif SUNCOR-PUB-2
security-level 49
ip address 192.168.4.1 255.255.255.0
interface Ethernet0/2
shutdown
no nameif
no security-level
no ip address
interface Ethernet0/3
shutdown
no nameif
no security-level
no ip address
interface Management0/0
nameif management
security-level 100
ip address 192.168.1.1 255.255.255.0
management-only
boot system disk0:/asa844-9-k8.bin
ftp mode passive
clock timezone PST -8
clock summer-time PDT recurring
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object network Inside-Native-Network-PNAT
subnet 10.1.1.0 255.255.255.0
description Root Inisde Native Interface Network with PNAT
object network ASA-Outside-IP
host 198.XX.XX.82
description The primary IP of the ASA
object network Inside-Native-Network
subnet 10.1.1.0 255.255.255.0
description Root Inisde Native Interface Network
object network VPN-POOL-PNAT
subnet 192.168.100.0 255.255.255.0
description VPN Pool NAT for Inside
object network DEV-PUP-1-Network
subnet 192.168.0.0 255.255.255.0
description DEV-PUP-1 Network
object network DEV-PUP-2-Network
subnet 192.168.2.0 255.255.255.0
description DEV-PUP-2 Network
object network MGMT-1-Network
subnet 192.168.180.0 255.255.255.0
description MGMT-1 Network
object network MGMT-2-Network
subnet 192.168.181.0 255.255.255.0
description MGMT-2 Network
object network SUNCOR-PUP-1-Network
subnet 192.168.3.0 255.255.255.0
description SUNCOR-PUP-1 Network
object network SUNCOR-PUP-2-Network
subnet 192.168.4.0 255.255.255.0
description SUNCOR-PUP-2 Network
object network DEV-PUB-1-Network-PNAT
subnet 192.168.0.0 255.255.255.0
description DEV-PUB-1-Network with PNAT
object network DEV-PUB-2-Network-PNAT
subnet 192.168.2.0 255.255.255.0
description DEV-PUB-2-Network with PNAT
object network MGMT-1-Network-PNAT
subnet 192.168.180.0 255.255.255.0
description MGMT-1-Network with PNAT
object network MGMT-2-Network-PNAT
subnet 192.168.181.0 255.255.255.0
description MGMT-2-Network with PNAT
object network SUNCOR-PUB-1-Network-PNAT
subnet 192.168.3.0 255.255.255.0
description SUNCOR-PUB-1-Network with PNAT
object network SUNCOR-PUB-2-Network-PNAT
subnet 192.168.4.0 255.255.255.0
description SUNCOR-PUB-2-Network with PNAT
object network DEV-APP-1-PUB
host 198.XX.XX.XX
description DEV-APP-2 Public Server IP
object network DEV-APP-2-SNAT
host 192.168.2.120
description DEV-APP-2 Server with SNAT
object network DEV-APP-2-PUB
host 198.XX.XX.XX
description DEV-APP-2 Public Server IP
object network DEV-SQL-1
host 192.168.0.110
description DEV-SQL-1 Inside Server IP
object network DEV-SQL-2
host 192.168.2.110
description DEV-SQL-2 Inside Server IP
object network SUCNOR-APP-1-PUB
host 198.XX.XX.XX
description SUNCOR-APP-1 Public Server IP
object network SUNCOR-APP-2-SNAT
host 192.168.4.120
description SUNCOR-APP-2 Server with SNAT
object network SUNCOR-APP-2-PUB
host 198.XX.XX.XX
description DEV-APP-2 Public Server IP
object network SUNCOR-SQL-1
host 192.168.3.110
description SUNCOR-SQL-1 Inside Server IP
object network SUNCOR-SQL-2
host 192.168.4.110
description SUNCOR-SQL-2 Inside Server IP
object network DEV-APP-1-SNAT
host 192.168.0.120
description DEV-APP-1 Network with SNAT
object network SUNCOR-APP-1-SNAT
host 192.168.3.120
description SUNCOR-APP-1 Network with SNAT
object network PDX-LAN
subnet 192.168.1.0 255.255.255.0
description PDX-LAN for S2S VPN
object network PDX-Sonicwall
host XX.XX.XX.XX
object network LOGI-NLB--SNAT
host 192.168.0.53
description Logi NLB with SNAT
object network LOGI-PUP-IP
host 198.XX.XX.87
description Public IP of LOGI server for NLB
object network LOGI-NLB-IP
host 192.168.0.53
description LOGI NLB IP
object network LOGI-PUP-SNAT-NLB
host 198.XX.XX.87
description LOGI Pup with SNAT to NLB
object-group network vpn-inside
description All inside accessible networks
object-group network VPN-Inside-Networks
description All Inside Nets for Remote VPN Access
network-object object Inside-Native-Network
network-object object DEV-PUP-1-Network
network-object object DEV-PUP-2-Network
network-object object MGMT-1-Network
network-object object MGMT-2-Network
network-object object SUNCOR-PUP-1-Network
network-object object SUNCOR-PUP-2-Network
access-list acl-vpnclinet extended permit ip object-group VPN-Inside-Networks any
access-list outside_access_out remark Block ping to out networks
access-list outside_access_out extended deny icmp any any inactive
access-list outside_access_out remark Allow all traffic from inside to outside networks
access-list outside_access_out extended permit ip any any
access-list outside_access extended permit ip any object LOGI-NLB--SNAT
access-list outside_access extended permit ip any object SUNCOR-APP-2-SNAT
access-list outside_access extended permit ip any object SUNCOR-APP-1-SNAT
access-list outside_access extended permit ip any object DEV-APP-2-SNAT
access-list outside_access extended permit ip any object DEV-APP-1-SNAT
access-list outside_cryptomap extended permit ip object-group VPN-Inside-Networks object PDX-LAN
pager lines 24
logging asdm informational
mtu outside 1500
mtu Port-1-GI-Inside-Native 1500
mtu MGMT-1 1500
mtu MGMT-2 1500
mtu DEV-PUB-1 1500
mtu DEV-PUB-2 1500
mtu SUNCOR-PUB-1 1500
mtu SUNCOR-PUB-2 1500
mtu management 1500
ip local pool Remote-VPN-Pool 192.168.100.1-192.168.100.20 mask 255.255.255.0
no failover
icmp unreachable rate-limit 1 burst-size 1
icmp permit any outside
icmp permit any Port-1-GI-Inside-Native
icmp permit any MGMT-1
icmp permit any MGMT-2
icmp permit any DEV-PUB-1
icmp permit any DEV-PUB-2
icmp permit any SUNCOR-PUB-1
icmp permit any SUNCOR-PUB-2
asdm image disk0:/asdm-649-103.bin
no asdm history enable
arp DEV-PUB-1 192.168.0.53 0100.5e7f.0035 alias
arp timeout 14400
no arp permit-nonconnected
nat (Port-1-GI-Inside-Native,outside) source static any any destination static VPN-POOL-PNAT VPN-POOL-PNAT
nat (DEV-PUB-1,outside) source static any any destination static VPN-POOL-PNAT VPN-POOL-PNAT
nat (DEV-PUB-2,outside) source static any any destination static VPN-POOL-PNAT VPN-POOL-PNAT
nat (MGMT-1,outside) source static any any destination static VPN-POOL-PNAT VPN-POOL-PNAT
nat (MGMT-2,outside) source static any any destination static VPN-POOL-PNAT VPN-POOL-PNAT
nat (SUNCOR-PUB-1,outside) source static any any destination static VPN-POOL-PNAT VPN-POOL-PNAT
nat (SUNCOR-PUB-2,outside) source static any any destination static VPN-POOL-PNAT VPN-POOL-PNAT
nat (DEV-PUB-1,outside) source static DEV-PUP-1-Network DEV-PUP-1-Network destination static PDX-LAN PDX-LAN no-proxy-arp route-lookup
nat (DEV-PUB-2,outside) source static DEV-PUP-2-Network DEV-PUP-2-Network destination static PDX-LAN PDX-LAN no-proxy-arp route-lookup
nat (MGMT-1,outside) source static MGMT-1-Network MGMT-1-Network destination static PDX-LAN PDX-LAN no-proxy-arp route-lookup
nat (MGMT-2,outside) source static MGMT-2-Network MGMT-2-Network destination static PDX-LAN PDX-LAN no-proxy-arp route-lookup
nat (Port-1-GI-Inside-Native,outside) source static Inside-Native-Network Inside-Native-Network destination static PDX-LAN PDX-LAN no-proxy-arp route-lookup
nat (SUNCOR-PUB-1,outside) source static SUNCOR-PUP-1-Network SUNCOR-PUP-1-Network destination static PDX-LAN PDX-LAN no-proxy-arp route-lookup
nat (SUNCOR-PUB-2,outside) source static SUNCOR-PUP-2-Network SUNCOR-PUP-2-Network destination static PDX-LAN PDX-LAN no-proxy-arp route-lookup
object network Inside-Native-Network-PNAT
nat (Port-1-GI-Inside-Native,outside) dynamic interface
object network VPN-POOL-PNAT
nat (Port-1-GI-Inside-Native,outside) dynamic interface
object network DEV-PUB-1-Network-PNAT
nat (DEV-PUB-1,outside) dynamic interface
object network DEV-PUB-2-Network-PNAT
nat (DEV-PUB-2,outside) dynamic interface
object network MGMT-1-Network-PNAT
nat (MGMT-1,outside) dynamic interface
object network MGMT-2-Network-PNAT
nat (MGMT-2,outside) dynamic interface
object network SUNCOR-PUB-1-Network-PNAT
nat (SUNCOR-PUB-1,outside) dynamic interface
object network SUNCOR-PUB-2-Network-PNAT
nat (SUNCOR-PUB-2,outside) dynamic interface
object network DEV-APP-2-SNAT
nat (DEV-PUB-2,outside) static DEV-APP-2-PUB
object network SUNCOR-APP-2-SNAT
nat (SUNCOR-PUB-2,outside) static SUNCOR-APP-2-PUB
object network DEV-APP-1-SNAT
nat (DEV-PUB-1,outside) static DEV-APP-1-PUB
object network SUNCOR-APP-1-SNAT
nat (SUNCOR-PUB-1,outside) static SUCNOR-APP-1-PUB
object network LOGI-NLB--SNAT
nat (DEV-PUB-1,outside) static LOGI-PUP-IP
object network LOGI-PUP-SNAT-NLB
nat (outside,DEV-PUB-1) static LOGI-NLB-IP
access-group outside_access in interface outside
access-group outside_access_out out interface outside
route outside 0.0.0.0 0.0.0.0 198.145.120.81 1
timeout xlate 3:00:00
timeout pat-xlate 0:00:30
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
user-identity default-domain LOCAL
http server enable
http 192.168.1.0 255.255.255.0 management
http 192.168.1.0 255.255.255.0 outside
http 10.1.1.0 255.255.255.0 Port-1-GI-Inside-Native
http 192.168.180.0 255.255.255.0 MGMT-1
http 192.168.100.0 255.255.255.0 Port-1-GI-Inside-Native
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart
class-map inspection_default
match default-inspection-traffic
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
inspect icmp
inspect icmp error
service-policy global_policy global
prompt hostname context
call-home reporting anonymous
call-home
profile CiscoTAC-1
no active
destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
destination address email [email protected]
destination transport-method http
subscribe-to-alert-group diagnostic
subscribe-to-alert-group environment
subscribe-to-alert-group inventory periodic monthly
subscribe-to-alert-group configuration periodic monthly
subscribe-to-alert-group telemetry periodic daily
Cryptochecksum:d6f9f8e2113dc03cede9f2454dba029b
: end
Any help would be great! I think the issue is in teh NAT as I am able to access NLB IP from the outside and could not do that before adding the Static ARP stuff.
Thanks,
ChrisAlso If I change to NAT from the public IP to the NLB IP to use either one of the phsyical IPs of the NLB cluster (192.168.0.50 or 51) it works fine when using the public IP. So it's definatly an issue when NATing the VIP of NLB cluster.
Chris -
IPlanet 6.0 plug-in write_error and read_timeout errors
I'm having a lot of trouble with read timeouts and write errors in my production
environment. The environment is composed of two IPlanet web servers with one cluster
of two machines using Weblogic. The details follows:
Operating System (all machines): SunOS 5.8
WebLogic machines: WebLogic Server 6.1 SP2
JVM Java HotSpot Client VM build 1.3.1_01,
mixed mode
IPlanet machines: iPlanet WebServer Enterprise 6.0 SP4
Solaris VM (build Solaris_JDK_1.2.2_10,
native threads, sunwjit)
The iPlanet machines work as a redirector of requests. All requests that reach
them get redirected to the WebLogic cluster, via a plugin installed on both machines.
My problem is that a lot of read timeout/write error problems are occuring in
this process, in various situations. The majority happens while trying to fetch
static resources, but there are cases the error occurs while trying to access
web server applications.
From the IPlanet log, I selected the following errors, as examples:
Static resources:
[23/Mar/2004:00:05:06] failure ( 7877): for host 200.100.227.193 trying to GET
/weblogic/services/images/torpedo_bg.gif, wl-proxy reports: exception occurred
for backend host '10.112.46.27/7001': 'WRITE_ERROR [os error=32, line 1379 of
proxy.cpp]: '
[23/Mar/2004:13:24:49] failure (21248): for host 200.233.164.3 trying to GET /weblogic/services/images/bt_smsmt_enviar.gif,
wl-proxy reports: exception occurred for backend host '10.112.46.27/7001': 'READ_TIMEOUT
[os error=22, line 198 of Reader.cpp]: no read after 300 seconds'
[23/Mar/2004:13:24:49] failure (21248): for host 200.233.164.3 trying to GET /weblogic/services/images/bt_smsmt_enviar.gif,
wl-proxy reports: exception occurred for backend host '10.112.46.28/7001': 'READ_TIMEOUT
[os error=22, line 198 of Reader.cpp]: no read after 300 seconds'
[23/Mar/2004:13:24:49] failure (21248): for host 201.4.214.97 trying to GET /weblogic/services/javascript/util.js,
wl-proxy reports: exception occurred for backend host '10.112.46.28/7001': 'READ_TIMEOUT
[os error=22, line 198 of Reader.cpp]: no read after 300 seconds'
Applications:
[23/Mar/2004:00:02:50] failure ( 7877): for host 200.151.51.25 trying to POST
/weblogic/services/smsmtresult.jsp, wl-proxy reports: exception occurred for backend
host '10.112.46.28/7001': 'WRITE_ERROR [os error=32, line 1379 of proxy.cpp]:
[23/Mar/2004:13:24:48] failure (21248): for host 200.211.229.10 trying to GET
/weblogic/services/smsmt.jsp, wl-proxy reports: exception occurred for backend
host '10.112.46.27/7001': 'READ_TIMEOUT [os error=22, line 198 of Reader.cpp]:
no read after 300 seconds'
[23/Mar/2004:13:24:50] failure (21248): for host 201.1.97.212 trying to GET /weblogic/services/servlet/imageservlet,
wl-proxy reports: exception occurred for backend host '10.112.46.27/7001': 'READ_TIMEOUT
[os error=22, line 198 of Reader.cpp]: no read after 300 seconds'
The log sometimes shows an interesting message also:
[23/Mar/2004:00:19:53] warning ( 8202): The server configuration may require more
file descriptors than the operating system provides. If you encounter PR_PROC_DESC_TABLE_FULL_ERROR
errors, you may wish to increase the operating system hard file descriptor limit
from 10633 to 10637 (see your operating system documentation) or decrease one
or more of the following settings: MaxFiles in nsfc.conf and ConnQueueSize, RqThrottle,
and MaxKeepAliveConnections in magnus.conf.
I've also checked the Weblogic nodes log, just to see if I could find an explanation
to those problems. No problems were logged at the time the IPlanet reported them.
I don't have any idea right now that could explain what's happening. Maybe the
Weblogic cluster is not providing the necessary resources in time? Or is there
something I could change in the IPlanet's configuration so that the frequency
of the errors diminish?
Any ideas will be greatly appreciated.
Thanks a lot for your time,
AlexandreHello Folks
In the obj.conf
You need to set this one in your context
I have an example below
<Object name="test" ppath="*/test/*">
Service fn="wl_proxy" WebLogicCluster="172.17.10.100:7001,172.17.10.101:7001" KeepAliveEnabled="false" PathTrim="" ErrorPage="/Web/html/error.html"
</Object>
Trust this one helps
Cheers
Manoj -
RfcAdapter: receiver channel has static errors: can not instantiate RfcPool
HI,
While transferring the project from SAP system to PRIMVERA (third party system) system, iam getting the following error:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.adapter.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.adapter.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=192.168.215.138 SYSNR=02 GWHOST=192.168.215.138 GWSERV=sapgw02 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '192.168.215.138apgw02' not reached TIME Sun May 01 06:10:03 2011 RELEASE 710 COMPONENT NI (network interface) VERSION 39 RC -10 MODULE nixxi.cpp LINE 3133 DETAIL NiPConnect2: 192.168.215.138:3302 SYSTEM CALL connect ERRNO 10060 ERRNO TEXT WSAETIMEDOUT: Connection timed out COUNTER
experts, kindly help me out in resolving this issue.
Regards,
Saipartner '192.168.215.138apgw02' not reached
Well if you ask me, theres something seriuosly wrong with above "partner", review the config of the RFC/JCO,
also you could add more details as above info on its own is not enough to give you and objective answer
Regards
Juan -
Pacman downloading slowly and signature errors [Solved]
So, I'm trying to do a clean install of Arch Linux. I've chrooted into the system and tried to download wireless_tools, netcfg, and dialog to set up my wireless connection but ran into two issues. First, sometimes I would get a message that says something like:
error: failed retrieving file 'wireless_tools-29-7-x86_64.pkg.tar.xz' from mirror.us.leaseweb.net : Operation too slow. Less than 1024 bytes/sec transferred the last 10 seconds
From what I gathered then it should try the next mirror in my mirrorlist until it finds one with a decent speed. However, then it checks the package integrity and I get more error messages. For each package there's a message like:
error: wireless_tools: signature from "Gaetan Bisson <[email protected]>" is invalid
and then:
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Any ideas on what's causing this/how to fix it?
Last edited by TKing (2012-10-02 21:45:47)Did you set the hostname in both files:
https://wiki.archlinux.org/index.php/Be … e#Hostname
/etc/hostname
Needs to just contain one line, the hostname.
/etc/hosts
You need to edit two of the lines to the exact same text string you put in /etc/hostname
My /etc/hostname:
Jeremiah
My /etc/hosts:
# /etc/hosts: static lookup table for host names
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 Jeremiah localhost
::1 Jeremiah localhost
# End of file
If those three different text entries do not exactly match then you will have network troubles. -
File load and save errors???
hi,i'am unable to get my file to oad and save in this class.i get 5 errors 1."Exception java.io.FileNotFoundEception must be caught or be declared in the throws clause" 2."Incompatible type for constructor.Cant convert java.io.FileInputStream to java.util.Properties" 3."Undefined variable: FileInputStream" 4."Variable 'p' is already defined in this method" 5. Incompatible type for constructor.cant covert java.io.FileInputStream to java.util.Properties.can someone please show me how to change this so it will compile and work?thanks
import cs1.Keyboard;
import publication;
import java.util.*;
import java.io.*;
public class publicationmain
public static void main(String args[])
PublicationContainer pubdatabase = new PublicationContainer();
int userchoice;
boolean flag = false;
while (flag == false)
File file = new File("publicationsList.txt");
//1st error on line below
FileInputStream inputStream = new FileInputStream(file);
//2nd error here
Properties p = new Properties(inputStream);
String myPublicationID = p.getProperty("PublicationID", defaultValue);
System.out.println("------------------------------------Publications--------------------------------");
System.out.println();
System.out.println("please Make a Selection");
System.out.println();
System.out.println("1 to add publication");
System.out.println("2 to delete publication");
System.out.println("0 to quit");
System.out.println("3 to View all publications");
System.out.println("4 to Edit a publication");
System.out.println();
userchoice = Keyboard.readInt();
switch (userchoice)
case 1:
String PubName;
String PricePerIssue;
String Publisher;
String Pubstatus;
String Pubtype;
int PubID;
System.out.println ("Enter Publication ID:");
PubID = Keyboard.readInt();
System.out.println("Enter Publication Name:");
PubName = Keyboard.readString();
System.out.println("Enter Publisher Name");
Publisher = Keyboard.readString();
System.out.println("Enter Price per Issue:");
PricePerIssue = Keyboard.readString();
System.out.println("Enter Publication status");
Pubstatus = Keyboard.readString();
System.out.println("Enter Publication type:");
Pubtype = Keyboard.readString();
pubdatabase.add (new publication(PubID, PubName, Publisher, PricePerIssue, Pubstatus, Pubtype));
break;
case 0:
//3rd error here
FileInputStream = new FileInputStream(file);
//4th and 5th error here
Properties p = new Properties(inputStream);
p.put("PublicationID", PubID);
p.put("PublicationName", PubName);
p.put("PublisherName" , Publisher);
p.put("PriceperIssue" , PricePerIssue);
p.put("PublicationStatus" , Pubstatus);
p.put("PublicationType" , Pubtype);
p.store(outputStream, "My Header");
flag = true;
case 2:
System.out.println ("Enter Publication ID:");
PubID = Keyboard.readInt();
pubdatabase.remove (PubID);
System.out.println ("publication: "+(PubID)+" removed");
System.out.println();
break;
case 3:
System.out.println (pubdatabase);
break;
case 4:
System.out.println ("Enter Publication to be edited by Publication ID: ");
PubID = Keyboard.readInt();
pubdatabase.remove (PubID);
String PubName1;
String PricePerIssue1;
String Publisher1;
String Pubstatus1;
String Pubtype1;
int PubID1;
System.out.println ("Enter Publication ID:");
PubID1 = Keyboard.readInt();
System.out.println("Enter Publication Name:");
PubName1 = Keyboard.readString();
System.out.println("Enter Publisher Name");
Publisher1 = Keyboard.readString();
System.out.println("Enter Price per Issue:");
PricePerIssue1 = Keyboard.readString();
System.out.println("Enter Publication status");
Pubstatus1 = Keyboard.readString();
System.out.println("Enter Publication type:");
Pubtype1 = Keyboard.readString();
pubdatabase.add (new publication(PubID1, PubName1, Publisher1, PricePerIssue1, Pubstatus1, Pubtype1));
break;
default:
System.out.println("Incorrect Entry");
}i'm sorry to ask this, but how long are you programming in java ? not so long, right ?
maybe you should first learn how the syntax in java is. maybe you should take a look at the java tutorial.
the errors you get are simple, so normally you should be able to solve these problems yourself.
and, if you want to post another message with the same topic, please use the already existing (started by you) threads like
http://forum.java.sun.com/thread.jsp?forum=31&thread=230202
or
http://forum.java.sun.com/thread.jsp?forum=31&thread=230185
you can reply to your postings. you do not need to start a new thread.
tobias -
Things to keep in mind while programming to avoid heap and permgen errors?
I some time get Java heap error and permgen error in my project which is having large code base i.e 2500 java lasses.
I know about two jvm parameter which we can set to deal with for java heap we can -Xms 1024 -Xmx 1024 and for permgen we can set -Xmx:permgen 256m.
That also sometime does not solve the problem. I am looking forward if we can do something proactively while programming the application so that we can descrease the probablity of facing such issues. here is my understanding
Permgen error can occur either at serverstart up or at application run time. I can think two main reason for this:
1) More the classes will be loaded more spaces will be eaten in permgen area.
2) Too many reference of static variable in application (as they gets also stored in permgen area). Agreed it wont make much difference. Probably millions of variable can make difference.
3)Too many string literals used in application.
So while programming we can take care of points 2 and 3 if we can avoid them. Looking for some other solutions also which we can keep in mind while programming to avoid these situations(For both permgen and java heap out of memory issue). Could not come up if we can follow any proactive approach for not facing java heap out of memory issue?JavaFunda wrote:
As per understanding app server should unload the classes as soon as we stop the server.Well, if you stop the server then it'll definitely unload the classes. Or unloading might not be an accurate term.
Basically what we do is undeploy and deploy.That's not stopping the server. Unfortunately most of the app servers do require restarts, since they can't get rid of all the crud.
Is your program doing significant dynamic class loading?Not sure how can i get information about thisRead up a bit on dynamic class loading and see if it looks like something your program is doing a lot (probably not). -
Each time I try to synch photos from my Windows7 PC to my iPad2, iTunes stops working and the error message is:
Problem Event Name: APPCRASH
Application Name: iTunes.exe
Application Version: 10.3.1.55
Application Timestamp: 4deec351
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7601.17514
Fault Module Timestamp: 4ce7ba58
Exception Code: c0000005
Exception Offset: 0002e3fb
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
I reloaded iTunes 10 (64 bit) successfully, but the problem remains the same.
Any suggestions?I looked in the folder from which I want to synch photos, but there is no such thing as an "ipod photo cache" in that folder, or sub-folders, as suggested in the link which you were nice enough to provide.
I have also tried removing photos from my iPad2 Photos App, and "iTunes has stopped working" shows up again as soon as I click on the "Synch photos from" button. -
okay so a few days ago i received and email for one of my colleagues to do some final editing to a music video. the folder contained 2 videos a rough chops and the main which was about 2-3GB which i dragged on to my external hard drive . and at the time i was trying to install a trial version of parallel lines and me being a newbie to the software i didn't know i need windows installments for it to run lol but yeah... so i was just getting frustrated with the software i kept installing it uninstalling it and then i was thinking my the problem might be because my MacHD space is low (less then 40GBs on my MacHD), so.. i installed it on my hard drive where all my important files are (I'm a graphic designer and do light video editing) video projects and many photoshop projects form 2007 and logs and just a bunch of important files in my hard drive. so because i was so frustrated with the software i wasn't thinking and i installed it on my external 2TB hard drive. and when i realized parallel wasn't working i gave up, uninstalled the program form the hard drive and for some reason when i did that and i tried opening the video my friend had email to me and for some reason it did load up but a few seconds maybe about 10sec in the video is froze and closed my media app (VLC) and when i tried opening other video files it would freeze every few minutes but those specific files i had drag in last were not playing after at least 5 secs and eventually didn't open at all so i restart my computer login and now i get scared i see that my MacBook Pro isn't reading my external hard drive so i search threw forums... i unplug from the wall plug my external hard drive back in my computer and it loaded up but when i opened my external hard drive all my files had that plank white paper icon on my folders (because i have everything organized but subject when you open then drive folder. so... i go in to my projects and nothing, i open my edited photos and nothing... my hart feels like its about to drop and i keep opening files and there is nothing in them, but in "get info" of my drive it shows that there is filled so i go to "disk utility"... i "verify disk" passes ..."repair disk" doesn't past.... i look it up in forums... so i reboot my computer and go to the safe recovery menu. go threw the same ting "disk utility"... verify, pass... repair, pass... so now i feel relieved. i login files in the ext. hard drive load up i tried again to open the files and same thing happens... so now I'm thinking its the files i drag the files to the trash and try to empty and its gone i reboot the computer and my drive didn't load up so i tried unplugin it and back in... drive comes up i notice theres trash.. i tried emptying it and i get the error code -50. and no files are popping up on my external drive and i try to repair/unmount disk and the verify disk doesn't pass and when i click repair disk it doesn't past and another error code pops up -35.... so i felt my drive alone for a few days and yesterday i go the files deleted from the trash and now I'm not getting any codes but when i try to unmount.verify/repair the disk. keeps letting my tits need to be repaired so i click the repair button another error unable to unmount volume to repair...
what do i do? my files still don't show up. and I'm very sorry for the long paragraph but i have to be detailed for you to understand my situationRead this.
-
Sender mail adapter : no messages and no error log
Hello,
I have configured a sender mail adapter to read mails from the inbox. I have used IMAP protocol. URL is specified as imap://EMHBSEXM01/Inbox. User name and password is also specified properly. I have kept poll interval to 1 minute. Messages in the inbox are in unread status. But the mail is not getting processed. I do not see anything after 1 minute. I tried using generate fetch report flag. But even then it does not create any message in SXMB_MONI. I checked runtime workbench for Mail adapter but I do not see any message for the same. Is there something that I am missing?
Thanks,
DevHi All,
I chekced your responses and tried accordingly. Our basis team has given me new link now and the error message has changed. I am getting following error message.
exception caught during processing mail message; java.io.IOException: unexpected login response; read 001F BAD Command received in Invalid state.
Does anyone have any idea what this error is?
Thanks in advance,
Devendra -
Plug-in errors and dependency errors with a CAF app in DS in NW CE 7.1
I am learining to build CAF apps in Developer Studio in NW CE 7.1. Here are my steps and the errors I am getting:
Open Developer Studio
Switch to the CA perspective
File->New->Project
Choose Development Component under Development Infrastructure
Press Next
Choose Composite Application under sap.com
Choose MyComponents[demo.sap.com] under 'Local Development'
Vendor: demo.sap.com
Name: carpool
Caption: Car Pool
Language: American English
Domain: SAP-xApps
Support Component: CAF-APP (typed in, not chosen)
Press Finish
The following error appears:
Status ERROR
Plugin : com.sap.ide.metamodel.core.services.eclipse
code=0
Internal error
Plugin name: Metamodel Core
Internal error : com.sap.ide.metamodel.core.services.eclipse
Class : com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker
Method : computeIdeJarProperties
Message : C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
Exception : java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:70)
at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.computeIdeJarProperties(ArchiveVersionChecker.java:296)
at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.doFullCheck(ArchiveVersionChecker.java:214)
at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.checkProject(ArchiveVersionChecker.java:125)
at com.sap.ide.mmservices.core.eclipse.generation.GenerationServiceEclipse.checkArchiveVersions(GenerationServiceEclipse.java:110)
at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.checkArchiveVersions(GenerationBuilder.java:335)
at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.build(GenerationBuilder.java:85)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
I do not think I missed anything installing NW CE 7.1, but this error makes me think that some plug-in was erroneously left out of the install.
Incidentally, I can continue onward and build an app (this is obviously a tutorial), but when I try to deploy I get the following error:
The deployment of the archive failed with an exception!
([ERROR CODE DPL.DCAPI.1027]) DependenciesResolvingException.
Reason:[ERROR CODE DPL.DC.3033] An unresolved dependencies error
occurred while sorting the deployment batch items regarding the
dependencies.;nested exception is:
com.sap.engine.services.dc.cm.deploy.sdu_deps_resolver.UnresolvedDepen
denciesException:[ERROR CODE DPL.DC.3437]Unresolved dependencies
found for the following deployment items:
1. Component: name:'carpool~ear',vendor:'my.company',location:
'localDevelopment',version:'20080501110329',software type: 'J2EE',
dependencies:'[name:'cafruntimeear',vendor:'sap.com',name:
'cafcoreear',vendor:'sap.com']
Unresolved dependency:
name:'cafruntimeear',vendor:'sap.com' (not found in the admitted
batch items and the repository)
Unresolved dependency:
name:'cafcoreear',vendor:'sap.com' (not found in the admitted
batch items and the repository)
Please check the error log for further informations.
Again, this looks like I am missing some components.
Any assistance is greatly appreciated.
TBFurther developments: As you may note from the error message, DS is looking for com.sap.ide.metamodel.core.services.eclipse in both the C: and the E: drive at the same time. In fact, this file exists in the E: drive subdirectory listed, so I obviously have an error with two drive designations being concatenated. Does anyone know how I can change the lookup directory for this dependency (or any dependency)?
Thanks,
TB -
Input and CRC errors on ASA 5505 outside interface
All,
I see input and crc errors on my ASA 5505 eth0/0(outside) interface and packet drops. There is very slow connection though we have 20mb line. ISP also sees the issue on the Lan interface side. We have the speed and duplex configured same on both ISP and our end.
I am suspecting if this is Physical cable issue. Please suggest.
Hardware is 88E6095, BW 100 Mbps, DLY 100 usec
Full-Duplex(Full-duplex), 100 Mbps(100 Mbps)
Input flow control is unsupported, output flow control is unsupported
Available but not configured via nameif
MAC address 001a.b4c9.f3d9, MTU not set
IP address unassigned
158138067 packets input, 141061681082 bytes, 0 no buffer
Received 183037 broadcasts, 0 runts, 0 giants
19642 input errors, 19642 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 pause input, 0 resume input
0 L2 decode drops
144684 switch ingress policy drops
124291353 packets output, 38197278051 bytes, 0 underruns
0 pause output, 0 resume output
0 output errors, 0 collisions, 0 interface resets
0 late collisions, 0 deferred
0 rate limit drops
0 switch egress policy drops
0 input reset drops, 0 output reset dropsHello Ravi,
This kind of issues CRCs/ Input Errors are tipically known as L1 issues so make sure you check the cable and if that does not make a difference change the port on each side to see if there is a difference.
Unfortunetly the ASA does not support the Time-Domain Reflectometer feature so we must do the test of L1 by ourselfs.
Can you clear the counters of the interface, test the changes provided and provide us some feedback?
Looking for some Networking Assistance?
Contact me directly at [email protected]
I will fix your problem ASAP.
Cheers,
Julio Carvajal Segura
http://laguiadelnetworking.com -
Can anyone help me connect my Macbook Air to a SAMSUNG TV. When I follow the basic instructions (Thunderbolt to HDMI connection) the screen on my computer goes grey and an error message appears inviting me to press any button to restart the Macbook. When I do this nothing happens. Only when I disconnect the computer from the TV does the Macbook allow me to login. The TV does not receive any signal from the Macbook even though I know the HDI port works fine. Any ideas what I'm doing wrong? Do I need to enable something on the Macbook?
An update...
I downloaded Apple's (rather large!) list of software updates today, and I was finally able to recognize my iPod again. I did a restore using the iPod updater from 06-2006, and all seemed to work OK. (I'm afraid to try the new one again!)
Then I tried to re-load my music library from iTunes, and got stuck. It froze up after a while and wouldn't go any further.
When I disconnected my iPod from my computer, I find 2 podcasts and nothing else, though iTunes told me it had transferred 600+ songs. Those 2 podcasts do play fine, and the basic iPod software all seems to be intact.
So -- anyone get through this connection problem and have any ideas to share??
iMac Mac OS X (10.4.7) -
I have updated my iTunes to the latest edition and now my iTunes will not open saying MSVCR80.dll is missing from my computer and that i have to reinstall itunes. I have tried reinstalling twice now and this error message keeps appearing. What is going on?
Solving MSVCR80 issue and Windows iTunes install issues.
Maybe you are looking for
-
How to check the value entered in one co from anethor CO
Dear All, I have a Debrief screen in which one main region is attached to CO1 and a tab region is attached to CO2, the tab region is an independent region in the main rdebrief main RN, Here i have a requirement if one of the field of the tab region
-
Help.................. I am definitely missing something. I want to do something like the attached, stacked bar chart example. This is pretty much one of the examples. What I need is for a horizontal chart instead of a vertical. When I right click
-
My iMovie keeps crashing and will not fully load. What do you think is the problem?
What would be the reason why my iMovie keeps crashing and will not fully load?
-
Wocka 0.5 - checkinstall for Arch Linux
Last updated: 17th-Feb-2007 With Wocka you can do: ./configure make su wocka and you'll get the application installed, and a pacman db entry too. Wocka automatically figures out the package name, version and/or subversion revision, and if it can, oth
-
Hi, When creating the PR in ME51N after entering the item data and service limit details am facing an error message like "order type is not matching with account assignment category". Here my problem is whenever i click on BACK,EXIT AND CANCEL OR any