Tag Archives: ProgrammerAH

The MySQL server is running with the — secure file priv option

Problem description: This error occurs when importing data:
Error Code: 1290. The MySQL server is running with the –secure-file-priv option so it cannot execute this statement
Solutions:
Find the my.ini file in the MySQL installation path,
It is generally C disk or D disk, depending on your own installation, my as follows 🙂
D: \ ProgramData/MySQL/MySQL Server 5.7 \ my ini
Find the string “secure_file_priv” and set it to have no value:
secure_file_priv=
To explain,
Secure_file_priv null means that the mySQLD restriction does not allow imports or exports.
secure_file_priv is C:\temp, which restricts mysqld to import and export in the C:\temp directory and not to other directories. When
secure_file_priv has no value, it means that it can be imported or exported from any directory.
 
Then restart the MySQL service as follows:
Type “Services.MSC” into the taskbar search box, find MySQL, and restart it. OK.
 
 
 

How to Fix IWAB0489E Error when deploying Web service to Axis runtime

Web
Eclipse
Application server
WebService
The SOAP

Eclipse Europa comes with its own Web tools. We can make it generate dynamic Web applications. But by default, the generated dynamic default program does not contain Web Service-related dependencies. so
When generating the project, check the Axis2 Web Service option in the Projet Facets dialog step
A project with web Service-related dependencies can be generated.

When it is generated, you may feel a little disappointed. “How could it be wrong?” . If you do, then you can gain some knowledge again. Because Eclipse doesn’t have Axis itself. So we need to download Axis and associate Eclipse’s WebService Settings with it. I downloaded the Axis2 1.4 release. Unzip to the directory you want, and then
Menu “Windows” – & gt; “Preferences…” —> Produce the left “Web Service” node –& GT; Select the Axis2 Preferences project –& GT; Set the Axis2 Runtime Location on the right under the “Axis2 Runtime” TAB
Just set up Axis2 1.4, which we just downloaded and unzipped.

After the above steps, we know how to successfully create a dynamic Web project with web Service-related dependencies. After we set up a project, we can try to write a Java class and publish it as a Web Service. If write the class as follows:

Java code

The

    1. package test; Public class HelloWorld {public String hello (String name) {return name + said: “hello world”; }}

 

The

      1. package test; Public class HelloWorld {public String hello (String name) {return name + said: “hello world”; }}
package test;

public class HelloWorld {

	public String hello(String name) {
		return name + "Hello World";
	}
	
}

So how do you publish him?If you’ve looked at the Axis documentation, there are many ways to do this. If you don’t have patience, you’ll get confused. It’s a good thing we use tools for convenience. Try right-clicking the HelloWorld class you just wrote (under Java EE attempts). You can go to the “Web Services” option and in its word menu, click Create Web Service. Well, following the dialog wizard and your intentions, you might think it will work out pretty well. But it may not turn out that way. You will most likely encounter an exception named IWAB0489E. Specific as follows

The

IWAB0489E Error when deploying a Web service to The Axis runtime
The Axis – admin failed with {http://schemas.xmlsoap.org/soap/envelope/} Client service always be found for it endpoint reference (EPR) http://localhost:8080/WebServiceTest/services/AdminService

Don’t be discouraged, I have encountered this too, and when I searched for information on the Internet, I found that many foreigners have encountered this too. Probably this tool is not used much by Chinese people, the data is scarce. And some foreign English-language technology forums have been muddled. I’m not going to say anything here, just say the solution
In the generated webservice first dialog click Confingration the links below – & gt; Click “Apache Axis2” in the dialog box that pops up -> Click OK to return to the remote dialog and select Publish the Web Service, Monitor the Web Services
Well, now that you know the reason for the exception, Eclipse is generated by default according to Axis rules, not Axis2 rules. And we’re using Axis2. What follows the second arrow is to let you publish the Web service directly after generating it, and to enable our monitor to detect it.

Ok, so basically follow the Eclipse wizard down the road and you’ll be fine. When the launch is over and we believe that our server is open, we can test our launch success in the browser.
Login (note that WebsServiceTest is the name of the dynamic Web project I built)
http://localhost:8080/WebServiceTest/services/listServices to see if monitoring program has detected a Hello World we just write a web service.
landing
http://localhost:8080/WebServiceTest/services/HelloWorld?WSDL looks at the generated WSDL content.
landing
http://localhost:8080/WebServiceTest/services/HelloWorld/hello?Name = Zhangyt check the information returned by our Web service. At this point the meeting will open as follows

Xml code

        1. < Ns :helloResponse XMLNS :ns = “http://test” > & lt; ns:return > Zhangyt said: Hello world & LT;/ns:return > & lt;/ns:helloResponse > </ ol>

Xml code

          1. < Ns: helloResponse XMLNS: ns = “http://test” & gt; & lt; ns:return> Zhangyt said: Hello world & LT; /ns:return> & lt; /ns:helloResponse> </ ol>
  <ns:helloResponse xmlns:ns="http://test">
  <ns:return>zhangyt: Hello World</ns:return> 
  </ns:helloResponse>

This was exciting because the test found that our Web service worked and returned what we wanted.

Well, this statement really just highlights some of the first things to notice about writing Web services using Eclipse. That’s how the tool is used. You can write a Web service using a tool, but you don’t really understand it. It is believed that many people will not be able to do many things once they leave Eclipse. Therefore, some homework should be done outside the application time. To see why, look at the relevant information.

Apple mach-o linker (ID) error resolution


description:/Users/LJL/Desktop/iOS/project/personal/ks/Pods/project source code BmobSDK/BmobSDK framework/BmobSDK ‘does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, Or disable bitcode for this target. The file ‘/ Users/LJL/Desktop/iOS/project/personal/ks/Pods/project source code BmobSDK/BmobSDK framework/BmobSDK’ for architecture arm64
address: Xcode setting ENABLE_BITCODE – Xcode – & gt; setting-> ENABLE_BITCODE-> No

Desktop support fixed objects will move

Fixed objects can move.

There are two possible solutions for this problem:

1. if you need to keep the file in Excel 97-2003 format, change the properties of the comments to move and resize with the cell. The following macro will set all comments in the workbook to move and resize with the cell:

Please make the workbook.
Bleak wb for excellent. Workbook
Set wb = ActiveWorkbook

Worksheets for each wksht
For each cmt. comment in wksh. cmt.
cmt.Shape. position = xlMoveAndSize
Next cmt.
Next wksht

2. save the workbook as Excel 2007-2010 format (XLSX, XLSM, XLSB).

Error: cannot find module ‘mongoose’

When you enter the command NPM start to start the project, sometimes you will encounter such Error Error: Cannot find module ‘mongoose’, missing the module mongoose.

Error: Cannot find module 'mongoose'
    at Function.Module._resolveFilename (module.js:536:15)
    at Function.Module._load (module.js:466:25)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (D:\loginproject\routes\index.js:3:16)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node ./bin/www`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Program Files\nodejs\node_cache\_logs\2019-01-09T01_53_44_235Z-debug.log

The solution at this point is to install the missing module:

npm install mongoose

Run successfully, open the browser to enter the access address, you can see the project.

Girl when she was the original author: qi technology blog: https://www.jianshu.com/u/05f416aefbe1
90 front after sister, love programming, love, love.
stick to summarize the technical problems encountered in the work, keep a record of what you think and see in the work, for the blog above there are no questions, you can join the qq group to ask me: 473819131.

Security error: error ᦇ 2148

Security Sandbox conflict SecurityError: Error #2148:
1. The general browser this problem, is generally in the control panel -> Flash Player-> Advanced – & gt; The trusted location, add the corresponding directory or file, as shown in figure 1.

2. But the Google browser is special and you can see the “2” in the figure above, which is why. Click the blue font to open the connection. Find the following link in your browser and open it:

3. Add a trusted location (file or folder) at the location indicated in the figure below. It is ok:

ABAQUS system Error code 1073741819

Finite Element Analysis Error Code System Error Code 1073741819
The first thing to note is that the system error code 1073741819 is a Windows error exit code and not an Abaqus ! This is due to an access conflict, i.e. the program is trying to access a location in memory (RAM or storage) that it is not allowed to access.
Therefore, there are many reasons why Abaqus causes this error. Here are a few, in order of likelihood.

    1. Your model is too large: memory requirements are greater than available, given by the sum of RAM + page file. sys (usually equal to the installed RAM). Some errors in the model formulas escape pre. exe’s checks, so it is translated into an incoherent model in standard.exe. It is usually a syntactically correct but physically inconsistent feature (boundary condition issues, definition of material properties). It is incompatible with CPU architecture. This is usually resolved by changing the suffix of the .dll file, as suggested earlier. If you’re using the most recent version of Abaqus on a recent computer (I bet both versions were released after 2010), this is unlikely

 

    1. So, how does it work? Here’s a step-by-step debugging process.

 

    Run an example provided by Abaqus, possibly a simple one. Did it complete correctly? If not, try changing the dll suffix. Does it work? If yes, that’s issue 3. If no, it could be an installation/hardware architecture/hardware failure (e.g. hard drive failure) issue. Try reinstalling Abaqus and/or run a system check. Run your model with a very rough mesh:Is the simulation complete? If so, this is a size issue, i.e. your model needs more memory than is available. Move to a more powerful system or optimize your model: Can you reduce the number of elements? Can you use lower order or reduced order elements? If the coarse grid simulation is incomplete, this is a problem in model formulation. It’s not a syntax error, it’s a physics error: you have defined a parameter that Abaqus can read, but it doesn’t make sense physically. Check the geometry, material definition, boundaries and initial conditions.

Latex error: option clash for package xcolor

Original link:https://tex.stackexchange.com/questions/57364/ op-clash-forpackagexcolor
Therefore, the following is just a copy of the above link:

xcolor package is loaded via list. Put the line before \usepackage{listing}. But your preamble is too messy. Most importantly, you call hyperref as the last package and put all the options before geometry fancyhdr.
ucs is irrelevant to your settings.

As Harish wrote \PassOptionsToPackage{svgnames}{xcolor} is fine in \usepackage{listing}, the problem is the same TikZ</ code>. With \PassOptionsToPackage, you can avoid conflicts between options.

Using the pit in Git that rebase encountered two could not apply XXXX

When using Git Rebase, the following command often appears
git rebase -i resumeerror: could not apply 6b442cc… accout infoWhen you have resolved this problem, run “git rebase –continue”.If you prefer to skip this patch, run “git rebase –skip” instead.To check out the original branch and stop rebasing, run “git rebase –abort”.Could not apply 6b442cc81d1feba15b2f851753483a82b1044438… accout info
You can use Git Status to see the cause of this problem

Both modified: SRC/resume/js/account/index/the js
Both added: SRC/resume/js/account/index/the vm
Both modified: SRC/resume/js/account/modules/the js
Both modified: SRC/resume/js/account/modules/info. The js
It tells us that we have modified these files at the same time and there is a conflict
So here’s the next step
1. Conflict resolution
2. The git add git commit
3. git rebase –continue

Zookeeper will not attempt to authenticate using SASL (unknown error)

There is an error about the Zookeeper connection:

    Opening socket conection to server 127.0.0.1/127.0.0.1:2181 Will not atte pt to authenticate using SASL (unknown error) KeeperErrorCode = ConnectionLoss for /testorg.apache.zookeeper.KeeperException$OperationTimeoutException:KeeperErrorCode = OperationTimeout

To explain the above three questions; Build and configure zookeeper server locally on Windows, and then test the code. 1,2 problems occur. The problem of 3 is the problem reported by the project; There are no firewall, JAR, hosts conflicts, etc.
Solution: Look at your own configuration of Zoo.cfg

    dataDirdataLogDir

The path here is configured as a full path, such as D:\\Users\ WB \\ soft\\ Zookeeper -3.4.14\\ Data; D: \ \ Users \ wb \ \ soft \ \ zookeeper – 3.4.14 \ \ log; Notice the double backslash ‘\\’