Urgent...Help Needed.1. Helper Class 2. Connection Pool
Hello,
1. There are few helper classes which has to be
shared b/w session and entity beans. But it
seems,state of the object is not transfered to entity
bean though the class has implemented Serializable
interface. I have archived all the helper class and
copied to j2ee\home\lib directory. The same jar file
is made accessible to server via updating <library-
path> in j2ee/home/config/application.xml file.
2. How can i utilise connection pooling in oc4j. In data-sources.xml, i am using
"OracleConnectionPoolDataSource" class. But i feel that connection pool is not utilised coz server hangs in the middle of the retrieval.
The value of max-connections is 50.
We are actually migrating from Weblogic 5.1.0 to Oracle 9i AS. In weblogic, we had given 10 max connections in weblogic.properties,it is working fine. But i dont understand why it is not working in 9i AS though the max-connections is 50.
Kindly let me know the solution at the earliest as it is very urgent to get the program running...
Thanx and Regards,
Achyuth
Hi,
hopefully I can help you.
1. There are few helper classes which has to be ...We have just the same constellation. We have put the HelperClasses in the
J2EE/home/lib dir, NOT specifying it in the application.xml. So everything works fine.
The only thing: never, again: never put these files within WEB-INF and the lib-dir.
With the HelperClasses in both we have only faced massive problems, mostly ClasCastExceptions.
We had once all the helperClasses within J2EE/home/applications/lib, but this requires to
specify this dir within the orion-application.xml within the appl dir in applications-deployment.
It also worked fine.
2. How can i utilise connection pooling in oc4j. In data-sources.xml, i am using ...I'm not sure of this, but I think, the container handles Connection Pooling, no matter what Factory you
specify. But I think, the Class hasn't to be OracleConnectionPool ... but I have to check this (right now
I have no access to our datasource.xml ..)
cu
ed
Similar Messages
-
Help Please: How to make a connection pool with mySQL
Hi,
I am learning the example codes shipped with weblogic server, which is under ...samples\examples\ejb20\basic\beanManaged. The original connection pool was on cloudscape. I was trying to modify it and make it connect to mySQL.
In ejb-jar.xml and weblogic-ejb-jar.xml, I replaced "demopool" (which was the original pool name) with "demopool1".
After starting the server, I tried to configure a new connection pool as following:
Name: demopool1
URL: jdbc:mysql:///test
Driver Classname: org.gjt.mm.mysql.Driver
Properties
(key=value): user=none
server=none
But I got the following errors:
<2007-10-5 ??06?30?09?> <Error> <JDBC> <Cannot startup connection pool "demopool1" Cannot load driver class: org.gjt.mm.mysql.Driver>
What should I do to let the server find the Driver?
Thanks a lot.Hong Qu wrote:
Thank you Joe,
I added the jar file location to the startExampleServer script. But when I tried to configure the Tx Data Sources from the console, I got the following error:
<2007-10-5 ??08?35?17?> <Notice> <WebLogicServer> <Started WebLogic Admin Server "examplesServer" for domain "examples" running in Development Mode>
setEntityContext called
ejbFindByPrimaryKey (ID: 0)
Failed to lookup JDBC Datasource. Please double check that
the JNDI name defined in the resource-description of the
EJB's weblogic-ejb-jar.xml file is the same as the JNDI name
for the Datasource defined in your config.xml.
<2007-10-5 ??08?38?16?> <Error> <JDBC> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(examples-dataSource-demoPool1)
can't be created with non-existent Pool (connection or multi) (demoPool1)>>
Do you know where is wrong?
Another problem is the connection method in AccountBean.java:
private Connection getConnection()
throws SQLException
InitialContext initCtx = null;
try {
initCtx = new InitialContext();
DataSource ds = (javax.sql.DataSource)
initCtx.lookup("java:comp/env/jdbc/demoPool");First verify from the console that a pool 'demoPool1' exists and
that you can test it from the console. Then find the DataSource
you associated with that pool. For an EJB I would suggest a
TxDataSource. You defined some JNDI name for the DataSource. Use
that name in the lookup. For instance, if your DataSource's
JNDI name is 'MyDataSource', the code should do this:
DataSource ds = (javax.sql.DataSource)
initCtx.lookup("MyDataSource");
return ds.getConnection();
} catch(NamingException ne) {
log("Failed to lookup JDBC Datasource. Please double check that");
log("the JNDI name defined in the resource-description of the ");
log("EJB's weblogic-ejb-jar.xml file is the same as the JNDI name ");
log("for the Datasource defined in your config.xml.");
throw new EJBException(ne);
} finally {
try {
if(initCtx != null) initCtx.close();
} catch(NamingException ne) {
log("Error closing context: " + ne);
throw new EJBException(ne);
I couldn't figure out what "java:comp/env/jdbc/demoPool" was related, so I just replaced "demopool" with "demopool1". Do you konw what "comp/env/jdbc" mean? Is it a location?
Thank you so much.
Iris -
Urgent help needed, please help me
Hi,
I am developing a web site using Java Servlets. The site requires to send XML as POST to an HTTPS server and get the response.
Development environment:
Laptop running Windows XP with jdk1.3.1, j2sdkee1.3 and Tomcat 4.1.
Since I need to use https request from the servlet, I am using the following code;
URL url = new URL("https://www.somesite.com");
HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
To use the above code I downloaded the jsse1.0.3_03 package from the sun website and added the three jar files to the appropriate location. Also edited the java.security file.
The program compiles and when deployed to the web server, it works great.
Now the problem;
I need to deploy the web site in a server that is connected to the internet. This server is running Windows 2000 Server. It has the same jdk1.3.1, j2sdkee1.3 and Tomcat 4.1. Also I added the three jar files from jsse1.0.3_03. I also updated the classpath in the environment variable accordingly.
Everything is pretty much similar to the Laptop that I use to develop the site except that the OS is Windows 2000 Server.
But when I deployed the class files to the web server and tested the site, the servlet gave the following error:
"unknown protocol: https"
What could be wrong? I really need to fix this issue as soon as possible and any input from you will be highly appreciated.
Thanks in advance,
RajeshHi,
I used java class as beans and added to JSP page as follows (the code is not complete, I am just giving the parts that are relevant);
login.java: Implementation of login to access the database
*through JDBC. Uses MySQL.
Last Modified: 03.22.03
package user;
import java.sql.*;
import java.util.*;
public class login
private static Statement statement;
private static Connection database;
private static String jdbcDriver = "org.gjt.mm.mysql.Driver";
private static String source = "jdbc:mysql://127.0.0.1/user";
private static String username = "user";
private static String password = "passwordforuser";
Constructor for initializing the connection to the database
public login()
try
Class.forName(jdbcDriver);
database = DriverManager.getConnection(source, username, password);
statement = database.createStatement();
catch (Exception e)
System.out.println("Error (From loginDatabase Constructor): " + e.getMessage());
Used to check the users
public String checkUser(String userName, String passwd) throws Exception
try
ResultSet names = statement.executeQuery("SELECT username, passwd FROM users");
while (names.next())
return "success";
return "wronguser";
catch (Exception e)
throw e;
<!--*********************************************************************************
login.jsp: Server page to process the login request. Uses login.class to
*add / login users.
Last Modified: 03.23.03
**********************************************************************************-->
<%@ page import="user.login" %>
<jsp:useBean id="login" scope="page" class="user.login" />
<jsp:setProperty name="login" property="*" />
<html>
<head>
<title>Login</title>
</head>
<body bgcolor="#3366FF" link="#000000" vlink="#000000" alink="#000000">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<% //Login the user and display the status
String loginResult = login.checkUser(request.getParameter("username"), request.getParameter("password"));
if (loginResult.equalsIgnoreCase("success"))
%>
<h1 align="center">You are successfully logged to the Server!</h1>
<%
%>
</tr>
</table>
</body>
</html>
Hope that helps...
Good luck!
Rajesh -
Help needed to start a basic connection to a database
Hi,
totally new in this java JDBC concept. Need help to perform a kick start ni a program which will connects to a database and perform a simply SQL query.
Possible can demostrate a full simple program that connects to the database and perform the SQL query.
PS : database not accessed through webserver, but through direct connection.
Thankshttp://java.sun.com/docs/books/tutorial/jdbc/index.html
-
Newbie help needed w/Graphics class!
Hi everyone,
I'm stuck on something I know is very simple to do, but I can't seem to find the right combination. I have a derived class that draws a circle using the graphics class. I'm getting compilation errors when I try to set the color and draw the circle. I have looked thru these forums as well as the API. Below is my code. Any pointers would be highly appreciated!
import java.awt.Graphics;
public class SmartCircle extends SmartShape
SmartCircle(int first, int second, int third, Color c)
super(first, second, third, c);
public void draw(Graphics g)
setColor(Color c);
fillOval(first, second, size, size);
}Here is SmartShape. It is located in the same directory as SmartCircle, so therefore doesn't need to be imported, correct?
public abstract class SmartShape
//define instance variables
protected int positionX, positionY, size;
protected Color theColor;
public SmartShape()
//initialize variables
positionX = 20;
positionY = 20;
theColor = Color.white;
public SmartShape(int first, int second, int third, Color c)
if (first >= 0)
positionX = first;
else
positionX = 0;
if (second >= 0)
positionY = second;
else
positionY = 0;
if (third >= 0)
size = third;
else
size = 0;
theColor = c;
public abstract void draw(Graphics g);
Hope that helps!
Melissa -
Help needed with collection classes
Howdie all,
I'm new to Java, and for the most part, I can do it.
I'm stuck on how to do the following:
I have to write a program that simulates a deck of cards, including shuffling (involving cards are re-collected), dealing cards. I have to create 52 objects of the card class. The only things that I can use involve some of the collection classes (arrays, dynamic lists, vectors, dictionaries), queues/stacks
I dont know:
** what to use. should i use a dyn list or a vector
**how the heck would i shuffle the cards?
** for dealing the cards, i figued i would just use a loop to draw a set of cards (face and suit)
i am not asking for code on how to do it (though pseudo-code/alogorithm may help). i just dont know where to start..i am totally stuck.
thanks a bunch!I would suggest you to use the LinkedList class for the deck representation.
To create the cards you could use
for i = 0 to 51
new Card(i);
In Card constructor do something like
int colour = i/13+1; // (1-4, one for each colour)
int value = i%13+1; // (1-13, ace-king)
To shuffle you could
for i = 0 to 100
j = radom(52)
k = random(52)
swap(card#j, card#k)
This will swap 2 random cards 100 times.
To draw cards
Card c = cards.remove(0)
or
Card c = cards.remove(radom(cards.size()))
In the later, the shuffle part is not really needed.
thought about this some more and now i have another
question:
when using a dyn linked library, i am not even sure
how to create the 52 objects. previously when doing
project like this, i just used a random function to
generate the cards, and used switch statements for the
non-numbered cards and for the suite. how would i do
accomplish this when using a collection class?
Howdie all,
I'm new to Java, and for the most part, I can do it.
I'm stuck on how to do the following:
I have to write a program that simulates a deck of
cards, including shuffling (involving cards are
re-collected), dealing cards. I have to create 52
objects of the card class. The only things that Ican
use involve some of the collection classes (arrays,
dynamic lists, vectors, dictionaries),queues/stacks
I dont know:
** what to use. should i use a dyn list or avector
**how the heck would i shuffle the cards?
** for dealing the cards, i figued i would just usea
loop to draw a set of cards (face and suit)
i am not asking for code on how to do it (though
pseudo-code/alogorithm may help). i just dont know
where to start..i am totally stuck.
thanks a bunch! -
Help needed regarding Scanner class
hello
i'm really desperate for help, i'll mention that this is homework,but i need a small guidance.
i need to code a calculator,we need to use the Scanner class to break the expression to tokens(we CANNOT use other classes).
my main problem is about getting those tokens from the input string.
i tried breaking a string to tokens for hours but just couldnt do it.
a legal expression is something like:
xyzavbx1111+log(abc11*(2+5))+sin(4.5)
iilegal is : xx333aaaa111+2 or log()+2
where the alphanumerics are variables(sequence of letters followed by numbers)
i managed to get the tokens out of a string that looks like that:
String expression = "ax11111+32/3+4*2^2"
by doing:
_token = new Scanner(expression);
while(hasNext(_token)) getNextToken(_token,"\\d+(\\.\\d+)?|(\\+)|(\\-)|(\\*)|(\\/)|(\\^)|([a-zA-Z]+(\\d+));
public static boolean hasNext(Scanner s) {
return s.hasNext();
public static String getNextToken(Scanner s,String str) {
return s.findInLine(str);
but i can't get the tokens when i have sin ,cos or log in the expression
either it just ignores it or i'm looping infinitely.
my question is how can i make the regular expression include the sin log and cos?
I also know that when i'll use the "matches" method ,i'll be able to spot illegal arguments like 5//2+ because it doesnt match the pattern.
so any help conecrning the regular expression would be great thanks alot.thx , but i already got it,after trying tons of combinations
i'll post the format i used in case someone will find this thread in the future ,while looking for something similar
the format is:
"(\\s)|(log)|(sin)|(cos)|(\\d+(\\.\\d+)?)|(\\+)"+
"|(\\-)|(\\*)|(\\/)|(\\^)|([a-zA-Z]+(\\d+))|(\\()|(\\))|(\\s)";
which includes white spaces between arguments and operators -
Help needed for Netstat Logs - unrecognized connections, how do I get rid of them?
HI,
I've tried to gather as much info as possible - running traceroute on some and also looking up ip addy - to help you help me
I've been monitoring this and Level 3 Communications and 24/7 Media have been repeated connections over many many days.
Question: When running traceroute on an ip addy found in netstat, is the last host name the physical location of where the connected computer is? For example, is the one below 208.71.125.44.80 - locatedin Washinton State or Washington DC?
Question: How can I stop or disconnect these connections? For example, in the 208.71.125.44.80 example - are they connected to my port 51599? I checked to see open ports and this number did not come up.
Last login: Sat Aug 11 15:52:23 on ttys003
XXXMacBook-Pro:~ standard$ netstat -an
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 192.168.1.103.51764 216.34.207.177.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51731 107.14.32.57.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51723 204.11.109.63.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51703 69.171.234.37.443 ESTABLISHED
tcp4 0 0 192.168.1.103.51667 74.114.28.200.80 LAST_ACK
tcp4 0 0 192.168.1.103.51650 184.27.192.66.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51599 63.215.202.9.80 ESTABLISHED
IP Address:
63.215.202.9
IP Address Country:
United States (US)
IP Address Region:
CA California
IP Address City:
Westlake Village
IP Postal Code
91361
IP Address Area Code
805
IP Metro Code
803
IP Address Latitude:
34.1444015503
IP Address Longitude:
-118.893501282
IP Address ISP:
Level 3 Communications
Organisation:
Level 3 Communications
IP Address Proxy:
XXXMacBook-Pro:~ standard$ traceroute 63.215.202.9
traceroute to 63.215.202.9 (63.215.202.9), 64 hops max, 52 byte packets
1 192.168.1.1 (192.168.1.1) 1.886 ms 1.533 ms 2.662 ms
2 cpe-72-129-126-1.socal.res.rr.com (72.129.126.1) 141.567 ms 27.768 ms 20.501 ms
3 76.167.17.245 (76.167.17.245) 9.847 ms 10.288 ms 9.607 ms
4 tge0-9-0-2.lamrcadq-ccr02.socal.rr.com (72.129.9.168) 23.422 ms 20.971 ms 23.509 ms
5 agg28.tustca1-cr01.socal.rr.com (72.129.9.2) 16.694 ms 14.079 ms 15.913 ms
6 ae-6-0.cr0.lax30.tbone.rr.com (66.109.6.214) 16.555 ms 18.117 ms 15.744 ms
7 ae-1-0.pr0.lax00.tbone.rr.com (66.109.6.129) 12.653 ms 13.872 ms 12.674 ms
8 xe-4-1-0.edge1.losangeles6.level3.net (4.26.0.73) 12.778 ms
xe-8-1-0.edge1.losangeles6.level3.net (4.26.0.17) 11.860 ms
xe-7-2-0.edge1.losangeles6.level3.net (4.26.0.21) 14.108 ms
9 vlan60.csw1.losangeles1.level3.net (4.69.144.62) 26.863 ms 22.649 ms
vlan70.csw2.losangeles1.level3.net (4.69.144.126) 15.587 ms
10 ae-63-63.ebr3.losangeles1.level3.net (4.69.137.33) 13.132 ms
ae-93-93.ebr3.losangeles1.level3.net (4.69.137.45) 15.617 ms 15.214 ms
11 ae-3-3.ebr1.sanjose1.level3.net (4.69.132.9) 23.185 ms 21.180 ms 21.751 ms
12 ae-91-91.csw4.sanjose1.level3.net (4.69.153.14) 24.479 ms
ae-61-61.csw1.sanjose1.level3.net (4.69.153.2) 30.994 ms
ae-81-81.csw3.sanjose1.level3.net (4.69.153.10) 30.930 ms
13 ae-31-80.car1.sanjose1.level3.net (4.69.152.131) 23.557 ms
ae-41-90.car1.sanjose1.level3.net (4.69.152.195) 36.525 ms
ae-11-60.car1.sanjose1.level3.net (4.69.152.3) 54.929 ms
14 unknown.level3.net (63.215.192.182) 23.399 ms 22.996 ms 21.912 ms
15 * * *
16 (63.215.202.9) 20.239 ms 21.247 ms 21.737 ms
tcp4 0 0 192.168.1.103.51597 208.71.125.44.80 ESTABLISHED
IP Address:
208.71.125.44
IP Address Country:
United States (US)
IP Address Region:
NY New York
IP Address City:
New York
IP Postal Code
10001
IP Address Area Code
212
IP Metro Code
501
IP Address Latitude:
40.751701355
IP Address Longitude:
-73.9972000122
IP Address ISP:
24/7 Real Media
Organisation:
24/7 Real Media
IP Address Proxy:
XXX-MacBook-Pro:~ standard$ traceroute 208.71.125.44
traceroute to 208.71.125.44 (208.71.125.44), 64 hops max, 52 byte packets
1 192.168.1.1 (192.168.1.1) 1.464 ms 0.576 ms 0.476 ms
2 cpe-72-129-126-1.socal.res.rr.com (72.129.126.1) 264.256 ms 161.071 ms 123.615 ms
3 76.167.17.245 (76.167.17.245) 23.067 ms 45.277 ms 51.962 ms
4 tge0-9-0-3.lamrcadq-ccr02.socal.rr.com (72.129.9.170) 20.190 ms 23.760 ms 11.843 ms
5 agg28.tustca1-cr01.socal.rr.com (72.129.9.2) 18.680 ms 13.133 ms 16.046 ms
6 107.14.19.30 (107.14.19.30) 13.472 ms 15.903 ms 15.870 ms
7 ae-1-0.pr0.lax00.tbone.rr.com (66.109.6.129) 12.339 ms
107.14.19.67 (107.14.19.67) 12.623 ms 13.635 ms
8 xe-7-2-0.edge1.losangeles6.level3.net (4.26.0.21) 12.837 ms
xe-8-2-1.edge1.losangeles6.level3.net (4.26.0.53) 12.306 ms
xe-7-2-0.edge1.losangeles6.level3.net (4.26.0.21) 15.534 ms
9 vlan90.csw4.losangeles1.level3.net (4.69.144.254) 25.374 ms
vlan60.csw1.losangeles1.level3.net (4.69.144.62) 15.299 ms
vlan80.csw3.losangeles1.level3.net (4.69.144.190) 25.544 ms
10 ae-83-83.ebr3.losangeles1.level3.net (4.69.137.41) 13.648 ms
ae-63-63.ebr3.losangeles1.level3.net (4.69.137.33) 15.735 ms
ae-73-73.ebr3.losangeles1.level3.net (4.69.137.37) 12.335 ms
11 4.69.132.82 (4.69.132.82) 77.434 ms 82.232 ms 77.205 ms
12 ae-71-71.csw2.washington1.level3.net (4.69.134.134) 89.255 ms
ae-91-91.csw4.washington1.level3.net (4.69.134.142) 84.596 ms
ae-61-61.csw1.washington1.level3.net (4.69.134.130) 88.213 ms
13 ae-14-60.car4.washington1.level3.net (4.69.149.6) 80.827 ms
ae-44-90.car4.washington1.level3.net (4.69.149.198) 76.621 ms
ae-14-60.car4.washington1.level3.net (4.69.149.6) 81.323 ms
14 24-7-real-m.car4.washington1.level3.net (4.79.170.98) 80.512 ms 80.406 ms 80.670 ms
15 208.71.125.44 (208.71.125.44) 78.007 ms 80.172 ms 78.884 ms
tcp4 0 0 192.168.1.103.51595 63.215.202.6.80 ESTABLISHED
IP Address:
63.215.202.6
IP Address Country:
United States (US)
IP Address Region:
CA California
IP Address City:
Westlake Village
IP Postal Code
91361
IP Address Area Code
805
IP Metro Code
803
IP Address Latitude:
34.1444015503
IP Address Longitude:
-118.893501282
IP Address ISP:
Level 3 Communications
Organisation:
Level 3 Communications
XXX-MacBook-Pro:~ standard$ traceroute 63.215.202.6
traceroute to 63.215.202.6 (63.215.202.6), 64 hops max, 52 byte packets
1 192.168.1.1 (192.168.1.1) 1.910 ms 0.628 ms 0.599 ms
2 cpe-72-129-126-1.socal.res.rr.com (72.129.126.1) 155.634 ms 90.559 ms 130.795 ms
3 76.167.17.245 (76.167.17.245) 9.027 ms 8.498 ms 9.435 ms
4 tge0-9-0-3.lamrcadq-ccr02.socal.rr.com (72.129.9.170) 20.090 ms 21.014 ms 35.569 ms
5 agg28.tustca1-cr01.socal.rr.com (72.129.9.2) 35.976 ms 12.255 ms 15.974 ms
6 107.14.17.134 (107.14.17.134) 19.664 ms 15.628 ms 16.056 ms
7 ae-1-0.pr0.lax00.tbone.rr.com (66.109.6.129) 15.002 ms
107.14.19.67 (107.14.19.67) 13.662 ms
ae-1-0.pr0.lax00.tbone.rr.com (66.109.6.129) 13.603 ms
8 xe-4-2-0.edge1.losangeles6.level3.net (4.26.0.77) 41.023 ms
xe-8-2-0.edge1.losangeles6.level3.net (4.26.0.13) 15.145 ms
xe-7-1-0.edge1.losangeles6.level3.net (4.26.0.25) 13.125 ms
9 vlan70.csw2.losangeles1.level3.net (4.69.144.126) 17.508 ms
vlan60.csw1.losangeles1.level3.net (4.69.144.62) 19.577 ms
vlan80.csw3.losangeles1.level3.net (4.69.144.190) 15.825 ms
10 ae-63-63.ebr3.losangeles1.level3.net (4.69.137.33) 14.101 ms
ae-73-73.ebr3.losangeles1.level3.net (4.69.137.37) 12.915 ms
ae-83-83.ebr3.losangeles1.level3.net (4.69.137.41) 13.399 ms
11 ae-3-3.ebr1.sanjose1.level3.net (4.69.132.9) 21.781 ms 22.882 ms 22.687 ms
12 ae-71-71.csw2.sanjose1.level3.net (4.69.153.6) 22.289 ms
ae-61-61.csw1.sanjose1.level3.net (4.69.153.2) 22.548 ms
ae-91-91.csw4.sanjose1.level3.net (4.69.153.14) 27.802 ms
13 ae-41-90.car1.sanjose1.level3.net (4.69.152.195) 20.396 ms
ae-21-70.car1.sanjose1.level3.net (4.69.152.67) 20.608 ms
ae-11-60.car1.sanjose1.level3.net (4.69.152.3) 22.603 ms
14 unknown.level3.net (63.215.192.182) 23.178 ms 23.012 ms 22.191 ms
15 * * *
16 media.snv.vcmedia.com (63.215.202.6) 21.857 ms 20.007 ms 23.385 ms
"media.snv.vcmedia.com" ist not a valid IP address or hostname.
tcp4 0 0 192.168.1.103.51561 107.14.32.75.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51557 107.14.32.17.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51556 74.125.224.252.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51554 107.14.32.67.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51549 74.125.129.149.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51530 74.125.224.252.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51529 74.125.239.25.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51510 74.125.224.167.443 ESTABLISHED
tcp4 0 0 192.168.1.103.51509 74.125.224.167.443 ESTABLISHED
tcp4 0 0 192.168.1.103.51508 74.125.224.167.443 ESTABLISHED
tcp4 0 0 192.168.1.103.51507 74.125.224.167.443 ESTABLISHED
tcp4 0 0 192.168.1.103.51506 74.125.224.167.443 ESTABLISHED
tcp4 0 0 192.168.1.103.51505 74.125.224.167.443 ESTABLISHED
tcp4 0 0 192.168.1.103.51504 74.125.224.175.443 ESTABLISHED
tcp4 0 0 192.168.1.103.51490 69.171.234.37.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51484 184.24.28.20.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51473 107.14.32.99.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51463 173.194.67.120.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51452 184.24.20.46.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51434 74.125.224.205.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51407 74.125.239.1.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51372 107.14.32.27.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51309 74.125.224.186.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51308 74.125.224.186.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51307 74.125.224.186.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51305 74.125.224.186.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51304 74.125.224.186.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51303 74.125.224.186.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51302 74.125.224.186.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51301 74.125.224.186.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51293 74.125.224.186.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51158 23.67.56.82.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51148 23.67.56.40.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51110 74.125.224.186.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51108 74.125.224.186.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51107 74.125.224.186.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51104 74.125.224.225.80 ESTABLISHED
tcp4 0 0 192.168.1.103.51103 74.125.239.2.443 ESTABLISHED
tcp4 0 0 192.168.1.103.50242 74.125.224.245.443 ESTABLISHED
tcp4 0 0 127.0.0.1.631 *.* LISTEN
tcp6 0 0 ::1.631 *.* LISTEN
udp4 0 0 *.58532 *.*
udp4 0 0 192.168.1.103.123 *.*
udp6 0 0 fe80::23b:cbff:f.123 *.*
udp6 0 0 *.55157 *.*
udp4 0 0 *.55157 *.*
udp6 0 0 *.61857 *.*
udp4 0 0 *.61857 *.*
udp6 0 0 *.53661 *.*
udp4 0 0 *.53661 *.*
udp6 0 0 *.54673 *.*
udp4 0 0 *.54673 *.*
udp6 0 0 *.55500 *.*
udp4 0 0 *.55500 *.*
udp6 0 0 *.62777 *.*
udp4 0 0 *.62777 *.*
udp6 0 0 *.49457 *.*
udp4 0 0 *.49457 *.*
udp6 0 0 *.60360 *.*
udp4 0 0 *.60360 *.*
udp6 0 0 *.63536 *.*
udp4 0 0 *.63536 *.*
udp6 0 0 *.63944 *.*
udp4 0 0 *.63944 *.*
udp6 0 0 *.59824 *.*
udp4 0 0 *.59824 *.*
udp6 0 0 *.60337 *.*
udp4 0 0 *.60337 *.*
udp4 0 0 *.* *.*
udp4 0 0 *.63498 *.*
udp4 0 0 *.* *.*
udp4 0 0 *.* *.*
udp4 0 0 127.0.0.1.123 *.*
udp6 0 0 fe80::1%lo0.123 *.*
udp6 0 0 ::1.123 *.*
udp6 0 0 *.123 *.*
udp4 0 0 *.123 *.*
udp4 0 0 *.* *.*
udp6 0 0 *.5353 *.*
udp4 0 0 *.5353 *.*
udp4 0 0 *.* *.*
icm6 0 0 *.* *.*
Active LOCAL (UNIX) domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
766e010 stream 0 0 0 d163f30 0 0
d163f30 stream 0 0 0 766e010 0 0
59d5cb0 stream 0 0 0 d163000 0 0
d163000 stream 0 0 0 59d5cb0 0 0
766e400 stream 0 0 0 d163ab0 0 0
d163ab0 stream 0 0 0 766e400 0 0
5be0710 stream 0 0 0 d163c60 0 0 /var/run/mDNSResponder
d163c60 stream 0 0 0 5be0710 0 0
766e0a0 stream 0 0 0 766e9a0 0 0
766e9a0 stream 0 0 0 766e0a0 0 0
59d5b00 stream 0 0 0 59d5ef0 0 0
59d5ef0 stream 0 0 0 59d5b00 0 0
5bdf090 stream 0 0 0 59d5200 0 0
59d5200 stream 0 0 0 5bdf090 0 0
766ed90 stream 0 0 0 766e370 0 0
766e370 stream 0 0 0 766ed90 0 0
5be0cb0 stream 0 0 0 5be0200 0 0
5be0200 stream 0 0 0 5be0cb0 0 0
59d5e60 stream 0 0 0 d1635a0 0 0
d1635a0 stream 0 0 0 59d5e60 0 0
5be17f0 stream 0 0 0 5bdf990 0 0
5bdf990 stream 0 0 0 5be17f0 0 0
59d5830 stream 0 0 0 766e130 0 0
766e130 stream 0 0 0 59d5830 0 0
d163990 stream 0 0 0 5bdf480 0 0
5bdf480 stream 0 0 0 d163990 0 0
766ebe0 stream 0 0 0 d163900 0 0 /var/run/mDNSResponder
d163900 stream 0 0 0 766ebe0 0 0
766e910 stream 0 0 0 0 0 0
d163120 stream 0 0 0 d1631b0 0 0 /var/run/com.sophos.sau.ipc
d1631b0 stream 0 0 0 d163120 0 0
d163240 stream 0 0 0 d1632d0 0 0 /var/run/com.sophos.sav.ic.ipc
d1632d0 stream 0 0 0 d163240 0 0
d163360 stream 0 0 0 d163480 0 0 /var/run/com.sophos.sav.ic.ipc
d163480 stream 0 0 0 d163360 0 0
766ef40 stream 0 0 0 766e520 0 0 /var/run/mDNSResponder
766e520 stream 0 0 0 766ef40 0 0
59d5a70 stream 0 0 0 5bdf1b0 0 0 /var/run/mDNSResponder
5bdf1b0 stream 0 0 0 59d5a70 0 0
576f910 stream 0 0 0 59d54d0 0 0 /var/run/mDNSResponder
59d54d0 stream 0 0 0 576f910 0 0
5bdf360 stream 0 0 0 5bdf510 0 0 /var/run/com.sophos.sav.quarantine
5bdf510 stream 0 0 0 5bdf360 0 0
5be1be0 stream 0 0 0 5be0830 0 0 /var/run/com.sophos.sav.scan
5be0830 stream 0 0 0 5be1be0 0 0
5bdf2d0 stream 0 0 0 576e950 0 0 /var/tmp/launchd/sock
576e950 stream 0 0 0 5bdf2d0 0 0
766eeb0 stream 0 0 0 5bdf5a0 0 0 /tmp/launchd-111.4NpDdG/sock
5bdf5a0 stream 0 0 0 766eeb0 0 0
5bdfd80 stream 0 0 0 5be1910 0 0 /var/run/mDNSResponder
5be1910 stream 0 0 0 5bdfd80 0 0
5be07a0 stream 0 0 0 5bdffc0 0 0 /var/run/mDNSResponder
5bdffc0 stream 0 0 0 5be07a0 0 0
5bdf7e0 stream 0 0 7214d4c 0 0 0 /var/run/com.sophos.sav.ic.ipc
5bdfc60 stream 0 0 7214de0 0 0 0 /var/run/com.sophos.sav.ic.ipcs
5be04d0 stream 0 0 0 576e830 0 0 /var/run/mDNSResponder
576e830 stream 0 0 0 5be04d0 0 0
5bdff30 stream 0 0 0 5be0050 0 0 /var/run/usbmuxd
5be0050 stream 0 0 0 5bdff30 0 0
5bdfb40 stream 0 0 0 5be00e0 0 0 /var/run/mDNSResponder
5be00e0 stream 0 0 0 5bdfb40 0 0
5be08c0 stream 0 0 0 5be0950 0 0
5be0950 stream 0 0 0 5be08c0 0 0
5be0c20 stream 0 0 6bf2128 0 0 0 /tmp/icssuis501
576e710 stream 0 0 0 576e3b0 0 0 /var/run/mDNSResponder
576e3b0 stream 0 0 0 576e710 0 0
576dcf0 stream 0 0 0 576e320 0 0 /var/run/mDNSResponder
576e320 stream 0 0 0 576dcf0 0 0
5be1e20 stream 0 0 0 576dab0 0 0 /var/run/mDNSResponder
576dab0 stream 0 0 0 5be1e20 0 0
576e9e0 stream 0 0 0 576d870 0 0
576d870 stream 0 0 0 576e9e0 0 0
576d630 stream 0 0 0 576d750 0 0
576d750 stream 0 0 0 576d630 0 0
5be1f40 stream 0 0 0 576de10 0 0
576de10 stream 0 0 0 5be1f40 0 0
5be0f80 stream 0 0 6a203a8 0 0 0 /tmp/launch-zOlByM/org.x:0
5be1a30 stream 0 0 6a204d0 0 0 0 /tmp/launch-IiWeG6/Listeners
5be1520 stream 0 0 6a205f8 0 0 0 /tmp/launch-cQCaJK/Render
576d510 stream 0 0 6a20970 0 0 0 /tmp/launchd-111.4NpDdG/sock
5be1370 stream 0 0 0 5be10a0 0 0
5be10a0 stream 0 0 0 5be1370 0 0
5be1d90 stream 0 0 0 5be1d00 0 0
5be1d00 stream 0 0 0 5be1d90 0 0
5be19a0 stream 0 0 0 576d000 0 0
576d000 stream 0 0 0 5be19a0 0 0
576d2d0 stream 0 0 65b3250 0 0 0 /var/run/com.sophos.sav.quarantine
5be16d0 stream 0 0 0 5be0d40 0 0
5be0d40 stream 0 0 0 5be16d0 0 0
5be0e60 stream 0 0 64898dc 0 0 0 /var/run/com.sophos.sau.ipc
576e200 stream 0 0 6489970 0 0 0 /var/run/com.sophos.sau.ipcs
5be1eb0 stream 0 0 0 576d240 0 0
576d240 stream 0 0 0 5be1eb0 0 0
576d480 stream 0 0 0 576dc60 0 0 /var/run/mDNSResponder
576dc60 stream 0 0 0 576d480 0 0
5be1130 stream 0 0 605f158 0 0 0 /var/run/com.sophos.sav.scan
5be1760 stream 0 0 605f1ec 0 0 0 /var/run/com.sophos.sav.ipcs
576d6c0 stream 0 0 605f280 0 0 0 /var/run/com.sophos.sav.ipc
576dea0 stream 0 0 0 576df30 0 0
576df30 stream 0 0 0 576dea0 0 0
5be1250 stream 0 0 0 576d7e0 0 0
576d7e0 stream 0 0 0 5be1250 0 0
576d120 stream 0 0 0 576d1b0 0 0
576d1b0 stream 0 0 0 576d120 0 0
576d360 stream 0 0 0 576d3f0 0 0
576d3f0 stream 0 0 0 576d360 0 0
576d900 stream 0 0 0 576d990 0 0
576d990 stream 0 0 0 576d900 0 0
576db40 stream 0 0 0 576dbd0 0 0
576dbd0 stream 0 0 0 576db40 0 0
576e0e0 stream 0 0 0 576e170 0 0
576e170 stream 0 0 0 576e0e0 0 0
576e560 stream 0 0 0 576e5f0 0 0
576e5f0 stream 0 0 0 576e560 0 0
576eb00 stream 0 0 5b81a68 0 0 0 /var/run/pppconfd
576ed40 stream 0 0 0 576edd0 0 0
576edd0 stream 0 0 0 576ed40 0 0
576eef0 stream 0 0 0 576ee60 0 0 /var/tmp/launchd/sock
576ee60 stream 0 0 0 576eef0 0 0
576f010 stream 0 0 0 576ef80 0 0
576ef80 stream 0 0 0 576f010 0 0
576f0a0 stream 0 0 0 576f130 0 0
576f130 stream 0 0 0 576f0a0 0 0
576f250 stream 0 0 0 576f1c0 0 0 /var/tmp/launchd/sock
576f1c0 stream 0 0 0 576f250 0 0
576f370 stream 0 0 0 576f2e0 0 0
576f2e0 stream 0 0 0 576f370 0 0
576f490 stream 0 0 0 576f400 0 0
576f400 stream 0 0 0 576f490 0 0
576f5b0 stream 0 0 0 576f520 0 0
576f520 stream 0 0 0 576f5b0 0 0
576f6d0 stream 0 0 0 576f640 0 0
576f640 stream 0 0 0 576f6d0 0 0
576f760 stream 0 0 0 576f7f0 0 0
576f7f0 stream 0 0 0 576f760 0 0
576f9a0 stream 0 0 5997f38 0 0 0 /var/tmp/launchd/sock
576fa30 stream 0 0 5977094 0 0 0 /private/var/run/cupsd
576fac0 stream 0 0 5977250 0 0 0 /var/run/usbmuxd
576fbe0 stream 0 0 5977378 0 0 0 /var/run/asl_input
576fc70 stream 0 0 597740c 0 0 0 /var/run/SCHelper
576fd00 stream 0 0 59774a0 0 0 0 /var/run/vpncontrol.sock
576fd90 stream 0 0 5977534 0 0 0 /private/var/run/printtool
576fe20 stream 0 0 59775c8 0 0 0 /var/run/portmap.socket
576ff40 stream 0 0 597765c 0 0 0 /var/run/mDNSResponder
576feb0 stream 0 0 59776f0 0 0 0 /var/run/com.apple.ActivityMonitor.socket
d163d80 dgram 0 0 0 d1633f0 d1633f0 0
d1633f0 dgram 0 0 0 d163d80 d163d80 0
5be0320 dgram 0 0 0 766eac0 766eac0 0
766eac0 dgram 0 0 0 5be0320 5be0320 0
59d57a0 dgram 0 0 0 59d53b0 0 0
59d53b0 dgram 0 0 871e250 0 59d57a0 0 /var/folders/86/86iJMBF7Em8Td31maH5bKE+++TI/-Tmp-//com.apple.notify.10861.7
576e7a0 dgram 0 0 0 576e290 576e290 0
576e290 dgram 0 0 0 576e7a0 576e7a0 0
5be0dd0 dgram 0 0 0 5be0680 5be0680 0
5be0680 dgram 0 0 0 5be0dd0 5be0dd0 0
59d5b90 dgram 0 0 0 766e760 766e760 0
766e760 dgram 0 0 0 59d5b90 59d5b90 0
5be03b0 dgram 0 0 0 5bdfcf0 5bdfcf0 0
5bdfcf0 dgram 0 0 0 5be03b0 5be03b0 0
5be0170 dgram 0 0 0 5be0290 5be0290 0
5be0290 dgram 0 0 0 5be0170 5be0170 0
5bdfbd0 dgram 0 0 0 5bdfea0 5bdfea0 0
5bdfea0 dgram 0 0 0 5bdfbd0 5bdfbd0 0
5be0b00 dgram 0 0 0 5be0b90 5be0b90 0
5be0b90 dgram 0 0 0 5be0b00 5be0b00 0
576e4d0 dgram 0 0 0 576e050 576e050 0
576e050 dgram 0 0 0 576e4d0 576e4d0 0
5be15b0 dgram 0 0 0 5be1400 5be1400 0
5be1400 dgram 0 0 0 5be15b0 5be15b0 0
5be1490 dgram 0 0 0 576e680 576e680 0
576e680 dgram 0 0 0 5be1490 5be1490 0
576e8c0 dgram 0 0 0 576dd80 576dd80 0
576dd80 dgram 0 0 0 576e8c0 576e8c0 0
576da20 dgram 0 0 0 576e440 576e440 0
576e440 dgram 0 0 0 576da20 576da20 0
576ec20 dgram 0 0 0 576d5a0 576d5a0 0
576d5a0 dgram 0 0 0 576ec20 576ec20 0
576eb90 dgram 0 0 0 576ecb0 576ecb0 0
576ecb0 dgram 0 0 0 576eb90 576eb90 0
576fb50 dgram 0 0 59772e4 0 0 0 /var/run/syslogFollowing is one possibility that may help: Why does my iOS device say I have more photos than I can find?
-
Urgent advice needed please help!
I need a new laptop asap that is the urgency part over with!
The question is: How well would prem pro cs6 operate on a laptop system with:
Intel i5 4200M dual core 3mb cache 2:6/3.2Ghz processor
8gb ram
nvidia gt740 2gb
Keeping in mind I will mostly be just editing canon dale 1080p footage.
Any help would be greatly appreciated.
budget for laptop is 800 euro. So far the best all rounder for vid editing is: Toshiba s70-a-11h
cheersThat unfortunately is a common misconception with GPU acceleration. GPU acceleration handles certain frame features such as scaling interpolation, and some effects. It current does not handle decoding/encoding with Adobe. That is handled by the CPU. Because the Decoding has to start the process the CPU determines the overall performance/load on the GPU at any point in time. This also means that at any point in time the CPU is not necessarily handling less load. The CPU is just more focused on what it has to do such as decoding/encoding and many effects. All of this means no I dont think the 740M will change the user experience enough to stop the requirement for rending the timeline to playback. It will help but that is all. The CPU is really low for this type of compression. Pro Res or DNxHD would probably work ok on that CPU simply because the compression level is much lower and they are very efficient codecs with regards to performance. I would suggest looking at Cineform if you need to get this laptop and the realtime playback is not good enough for your workflow. Cineform allows you far better performance with more limited specs.
BTW 8GB of ram is really low for GPU acceleration and HD. The biggest current mistake people are making is configuring systems without nearly enough ram to optimally handle the GPU acceleration. GPU acceleration requires a significant amount of ram because of how it works and transits through your system ram. Even if a system has the fastest CPU and best GPU, the performance is going to be poor if the system ram is to low. Most of the power available in that config would not even be utilized.
Eric
ADK -
URGENT! NEED INSTALLATION HELP!
Hi, so I decided to burn lion to a disk because I wanted to a fresh install on my iMac (Fall 2008). I followed an online tutorial by a well known tech reviewer to burn it to disk but I'm having trouble upon installation.
After it boots to disk and and I erase the hard drive I click continue and what not but after the blue loading bar gets to 75% of the way through "Downloading additional components. Your computer will restart automatically" the time just starts to increase and it never completes "downloading"!
The time is now at 45 mins and I have a very good wireless network, so it should be downloading fine but there seems to be no progress ):
Thanks for any help.Cool.
Yeh, the blue progress bar is just about where it normal freezes. The time is 12 minutes remaining to download but I'm worried that's when it hits 10 minutes it's gonna happen again ):
I really need this to work because ive got assignments due within the next few days /: -
Urgent help needs - pls help me
i have four group in my template.
each group have subtotal at the end of it's group.
after each group total, i need to display total (which is differance between current group and previous) right below of group total.
and this difference need to show from second group.
example -
Group 1 Year
A ( total amount for Group 1)
Group 2 Year
B ( total amount for Group 2 )
Total differance C (which is B - A )
Group 3 Year
D ( total amount for Group 3 )
Total differance E ( which is D - C)
Group 4 Year
F ( total amount for Group 4)
total difference G (which is F - E)
G G1
G G2
G 999.00E
G1
G 999.00
<?xdoxslt:set_variable($_XDOCTX,’px’,xdoxslt:get_variable($_XDOCTX, 'y'))?><?xdoxslt:set_variable($_XDOCTX,’y’,xdoxslt:get_variable($_XDOCTX, 'x'))?><?xdoxslt:set_variable($_XDOCTX,’x’,sum ($G1[(./FISCAL_YEAR=current()/FISCAL_YEAR)]/AMOUNT))?>
E
<?xdoxslt:set_variable($_XDOCTX,’py’,xdoxslt:get_variable($_XDOCTX, 'y'))?>
Val is
Px is <?xdoxslt:get_variable($_XDOCTX, 'px')?>
<?xdoxslt:get_variable($_XDOCTX, 'x')?>
<?xdoxslt:get_variable($_XDOCTX, 'y')?>
Diff is
<?xdofx:xdoxslt:get_variable($_XDOCTX, 'y')-xdoxslt:get_variable($_XDOCTX, 'px')?>E
E
above code does not give me subtraction.
in above code pls omit that --- http -- in code but mistake it display in post.
any help is greatly appreciated.
thanks.
Edited by: user6767417 on Apr 3, 2009 5:02 PMHi ,
thanksfor reply me.
your suggestion is working.
but now it gives me differance between two column of same group.
but i need differance between same column of differant group ?
ant kind of helpis greatly apprecidated.
thanks. -
Help needed with SimpleDateFormat class
I am trying to do this:
try {
SimpleDateFormat df = new SimpleDateFormat("MM/dd/yyyy");
expirationDate = df.parse(expirationDateStr);
}catch (ParseException e)
The problem I am having is it takes in dates like 15/6/2004 and converts it into 3/6/2005. Doesn't java provide validation for that? Do I need to do the validation myself for months and dates?
Your help is appreciated. Thanks!Cool Thank you..That worked..
-
Help needed : javamail Too many simultaneous connections
Hello
i'm using javamail to develop a webmail
i've created a service Class , and all things works well , but i have a serious problem when i browse my webmail ( viewing folders: inbox / spam / etc or messages) i get an error saying :
Too many simultaneous connections. (Failure)
i know that the imap server dosen't support more than 10 simultaneous connections.
But i can't say to users using my webmail to do not a lot of actions !!! , and also when i use thunderbird for example it works fine without errors even if i do a lot of actions/connections
How can i solve that problem ?
Thanks
A1 OK [email protected] authenticated (Success)
A2 CAPABILITY
* CAPABILITY IMAP4rev1 UNSELECT LITERAL+ IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1
A2 OK Success
A3 SELECT INBOX
DEBUG: no connections in the pool, creating a new one
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
* OK [UIDVALIDITY 616267767]
* 7 EXISTS
* 0 RECENT
* OK [UNSEEN 1]
* OK [UIDNEXT 90]
A3 OK [READ-WRITE] INBOX selected. (Success)
A4 STORE 1 +FLAGS (\Seen)+
+* OK Gimap ready for requests from MyIP 24if2631473eyx.55+
+A0 CAPABILITY+
+* 1 FETCH (FLAGS (\Seen))+
+A4 OK Success+
+* CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA XLIST CHILDREN XYZZY+
+A0 OK Thats all she wrote! 24if2631473eyx.55+
+A1 LOGIN myemail mypwd+
+A1 OK [email protected] authenticated (Success)+
+A2 CAPABILITY+
+* CAPABILITY IMAP4rev1 UNSELECT LITERAL+ IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1
A2 OK Success
A3 SELECT INBOX
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
* OK [UIDVALIDITY 616267767]
* 7 EXISTS
* 0 RECENT
* OK [UNSEEN 1]
* OK [UIDNEXT 90]
A3 OK [READ-WRITE] INBOX selected. (Success)
A4 STORE 1 +FLAGS (\Seen)
* OK Gimap ready for requests from MyIP 23if2388548eya.46
A0 CAPABILITY
* 1 FETCH (FLAGS (\Seen))
A4 OK Success
* CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA XLIST CHILDREN XYZZY
A0 OK Thats all she wrote! 23if2388548eya.46
A1 LOGIN custom.infoma1 mypwd
A1 NO [ALERT] *Too many simultaneous connections. (Failure)*
A2 LOGOUT
* BYE Logout Requested 23if2388548eya.46
A2 OK Quoth the raven, nevermore... 23if2388548eya.46
A4 CLOSE
A4 CLOSEThunderbird supports disconnected or offline operation. It can disconnect from the server and then reconnect later
and synchronize its state, so that you never know it was disconnected.
You can do that too, but it's a lot of work.
For webmail, the simplest approach is usually to have only one folder open at a time for each user.
If your IMAP server is limiting you to 10 connections total, across all users, get a new IMAP server. -
When trying to retrieve information for a form that contains textbox so as to display product information on a form I am getting an error which is listed below
java.lang.NullPointerException
file:/K:/Learner/JavaFx2/ProductApplication/dist/run876373360/ProductApplication.jar!/com/product/app/view/viewsingle.fxml
at com.product.app.controller.ViewSingleController.initialize(ViewSingleController.java:70)
and here is the code for controller as well as service class
package com.product.app.controller;
import com.product.app.model.Product;
import com.product.app.service.ViewProductsService;
import com.product.app.util.JSONParser;
import com.product.app.util.TagConstants;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.ResourceBundle;
import javafx.collections.ObservableList;
import javafx.concurrent.Service;
import javafx.concurrent.Task;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.ProgressIndicator;
import javafx.scene.control.TextArea;
import javafx.scene.control.TextField;
import javafx.scene.layout.Region;
import javafx.stage.Stage;
import javax.swing.JOptionPane;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.json.JSONArray;
import org.json.JSONObject;
* FXML Controller class
* @author Arun Joseph
public class ViewSingleController implements Initializable {
private static String action = "";
@FXML
private TextField txtID;
@FXML
private TextField txtName;
@FXML
private TextField txtPrice;
@FXML
private TextArea txtDesc;
@FXML
private Region veil;
@FXML
private ProgressIndicator p;
private ViewProductsService service = new ViewProductsService();
private JSONObject product = null;
private JSONParser parser = new JSONParser();
private int pid = 1;
public void setPid(int pid) {
this.pid = pid;
* Initializes the controller class.
@Override
public void initialize(URL url, ResourceBundle rb) {
veil.setStyle("-fx-background-color: rgba(0, 0, 0, 0.4)");
p.setMaxSize(150, 150);
p.progressProperty().bind(service.progressProperty());
veil.visibleProperty().bind(service.runningProperty());
p.visibleProperty().bind(service.runningProperty());
Product product = new Product();
service.start();
ObservableList<Product> products = service.valueProperty().get();
products.get(pid);
txtID.textProperty().set(String.valueOf(products.get(pid).getPid()));
//product = service.valueProperty().get().get(pid);
//txtID.setText(String.valueOf(product.getPid()));
txtName.textProperty().set(product.getName());
txtPrice.textProperty().set(String.valueOf(product.getPrize()));
txtDesc.textProperty().set(product.getDescription());
private SomeService someService = new SomeService();
@FXML
private void handleUpdateButtonClick(ActionEvent event) {
action = "update";
someService.start();
p.progressProperty().bind(service.progressProperty());
veil.visibleProperty().bind(service.runningProperty());
p.visibleProperty().bind(service.runningProperty());
@FXML
private void handleDeleteButtonClick(ActionEvent event) {
action = "delete";
someService.start();
p.progressProperty().bind(service.progressProperty());
veil.visibleProperty().bind(service.runningProperty());
p.visibleProperty().bind(service.runningProperty());
@FXML
private void handleCancelButtonClick(ActionEvent event) {
closeStage();
private void closeStage() {
ViewSingleController.stage.close();
private static Stage stage = null;
public static void setStage(Stage stage) {
ViewSingleController.stage = stage;
private class SomeService extends Service<String> {
@Override
protected Task<String> createTask() {
return new SomeTask();
private class SomeTask extends Task<String> {
@Override
protected String call() throws Exception {
String result = "";
int success = 0;
List<NameValuePair> params = new ArrayList<NameValuePair>();
switch (action) {
case "update":
params.add(new BasicNameValuePair("pid", txtID.getText()));
params.add(new BasicNameValuePair("name", txtName.getText()));
params.add(new BasicNameValuePair("price", txtPrice.getText()));
params.add(new BasicNameValuePair("description", txtDesc.getText()));
product = parser.makeHttpRequest(TagConstants.url_update_product_with_id, "POST", params);
success = product.getInt(TagConstants.TAG_SUCCESS);
if (success == 1) {
result = "Successfully Updated the product";
JOptionPane.showMessageDialog(null, result);
closeStage();
break;
case "delete":
params.add(new BasicNameValuePair("pid", txtID.getText()));
product = parser.makeHttpRequest(TagConstants.url_delete_product_with_id, "POST", params);
success = product.getInt(TagConstants.TAG_SUCCESS);
if (success == 1) {
result = "Successfully Deleted the product";
JOptionPane.showMessageDialog(null, result);
closeStage();
break;
return result;Is line 70 in the code above
txtPrice.textProperty().set(String.valueOf(product.getPrize()));
also line 70 in your original code? (Sometimes the syntax highlighter seems to delete blank lines.) If so, then txtPrice must be null, which would likely be caused by the fx:id attribute for it being set incorrectly in the fxml file.
Check which is line 70 in the original code though. -
Hi there, could any body tell me if this is a bug with AS3
Timer class? Right now I'm developing a player with slow motion
capability using AS3, streaming from FMS3. Basically I used an
instance of Timer class to toggle play/pause at different
intervals. However, after doing some stress test (click slow then
play repeatedly fast), the flash player goes into a state in which
the video streams keeps going at slow motion and cannot be stopped
even with ns.close(). I called Timer.stop() whenever switching out
of slowmo and even removed the event. However as I was tracing it,
at the non-stoppable state, something is still calling the timer
and its handling function while Timer.running and
Timer.hasEventListener both returns false. I'm quite sure there's
nothing else that calls this specific timer handler.
Moreover, just out of curiosity, I changed my code and used
setInterval() method instead and the problem's gone. Would anybody
tell me if there's a bug with the Timer class or a bug in my own
code? I'm reluctant to go with setInterval() for good since Timer
class looks more elegant.
Thanks a lot!Thanks, kglad! That was exactly my first thought. I made sure
I only used 1 timer object. Also, the strange thing is, the player
USUALLY works fine. It only breaks down after a a stress test I
described before. Any other suggestion on what I should do? Is
there a way to check who's dispatching the timer event? -
Help needed to set up printer connected to Airport (Bonjour)
I've successfully installed the printer (HP 3745v) when I connect it via USB. Leopard found the correct printer driver and I was able to print okay. However, when I think plug the USB cable for the printer back into the Airport Express and the Mac sees that same printer as Kind "Bonjour" and I install it, the Mac doesn't automatically choose the printer driver. It leaves you to figure it out. I cannot find the same driver as I did when connecting the printer directly to the Mac. I'm thinking this is a bug. Anyone able to get this to work. Please reply to [email protected]
Mine is plugged into my Airport and it picked it up automatically, but I had to ADD the printer first. Then it found the right drivers and all was ok. It did take awhile though for it to find the drivers.
Maybe you are looking for
-
Running 2 different displays on the same Mac Pro2x 2.66
Hi folks. this is the graphics card that I have:- Chipset Model: NVIDIA GeForce 7300 GT Type: Display Bus: PCIe Slot: Slot-1 PCIe Lane Width: x16 VRAM (Total): 256 MB Vendor: NVIDIA (0x10de) Device ID: 0x0393 Revision ID: 0x00a1 ROM Revision: 3008 I
-
In our environment we have OIM 11.1.1.3 and we have enabled LDAP sync with OID. Any user created on OIM is getting synced to OID. The problem is when we are making any changes to the attributes of the users or deleting a user the changes are reflecte
-
UME to CUA(ABAP) user data replication for custim attribute.
Hi All, We have planned that Users will be created in portal and from there user data will flow to CUA(ABAP) and from CUA it will flow to r3,BW,CRM ..etc . I have configured the UME(portal) so that when ever I create user in Portal it flows to CUA (A
-
Animated tab box - playReverse when click elsewhere?
Hello! I've got a bit of a tricky one I'm hoping someone could help me with! I've designed what is basically a tabbed info window in Edge Animate to add to a website deigned in Muse. There are 5 animated headings and when each one is clicked, the re
-
Hi Experts, Pls. let me clarify the Regression test? I hv seen it, after hitting the F8 of a FM and even I tried it, then I got some records in my_table of my_FM. So, pls. let me know, 1 - Wht is Regression test? 2- When we hv to use it? 3-Other than